Ubuntu – I can get into the administer account on the Ubuntu without typing in the password how to disable it


I have a password on my Ubuntu computer, but if I just click the arrow next to login I can get into my account. I want to disable this, because my brothers have gone on and I don't want them to. Also, I want to disable my guest session part but I also do not know how to. Help please?

Best Answer

Run command :

sudo gpasswd -d $USER nopasswdlogin

Next time it will ask password.

For disable guest session follow instructions explained at How do I disable the guest session?

Related Question