unable to delete the guest account

Asked by Siegfried

Hello,
I have updated from Ubuntu 11.04 to Ubuntu 11.10, also updating the surface from gnome to Unity ( I think it is called so).
Now I have an additional guest user at the login which is unnecessary and annoying.
I cannot delete it, although I have already deleted the relevant line in /etc/passwd and /etc/shadow, the login still comes up with that rubbish.
Can You explain how to get rid of that unnecessary and annoying security problem, and why it was introduced at all ?

Thanks,
      Siegfried

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lightdm Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Chris (fabricator4) said :
#1

The Guest account is not really a problem, and it's been there a long time, it's just that it's a bit more obvious now that it's listed in the login screen.

You can disable the guest account (in 11.10 only) by editing the /etc/lightdm/lightdm.conf and add the line:

allow-guest=false

You will need to reboot for this to take effect.

Chris

Revision history for this message
Siegfried (sk-skaiser) said :
#2

Thanks Chris,
 it has worked perfectly.

Bye,
 Siegfried

-------- Weitergeleitete Nachricht --------
Von: Chris <email address hidden>
An: <email address hidden>
Betreff: Re: [Question #175756]: unable to delete the guest account
Datum: Sat, 22 Oct 2011 22:20:54 -0000

Your question #175756 on shadow in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/shadow/+question/175756

    Status: Open => Answered

Chris proposed the following answer:
The Guest account is not really a problem, and it's been there a long
time, it's just that it's a bit more obvious now that it's listed in the
login screen.

You can disable the guest account (in 11.10 only) by editing the
/etc/lightdm/lightdm.conf and add the line:

allow-guest=false

You will need to reboot for this to take effect.

Chris

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#3

Since your problem is now resolved, please mark this question as Solved (you can do that at https://answers.launchpad.net/ubuntu/+source/lightdm/+question/175756).

Revision history for this message
Siegfried (sk-skaiser) said :
#4

Thanks Eliah Kagan, that solved my question.