Disabling the Guest account

9 Antworten [Letzter Beitrag]
GNUbahn
Offline
Beigetreten: 02/19/2016

I want to disable the guest account. 'System -> Users and groups' shows me nothing but my main account. According to several sources I can add 'allow-guest=false' to lightdm.conf but that file doesn't exist.

What is the trick?

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

Add the following line, save and then close.

allow-guest=false

Reboot, and you're set.

copy and pasted, use a searX engine, m8, won't hurt :P

GrevenGull
Offline
Beigetreten: 12/18/2017

And if you want to enable it again you go back and edit it to allow-guest=true?

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

Removing the liner will also do the trick.

GNUbahn
Offline
Beigetreten: 02/19/2016

Thanks.

I really appreciate you helping me out under the suspicion that I haven't searched for an answer first. I had though, and what I wrote was the 'average' of what I discovered.

I don't have a 50-ubuntu.conf file

The closest thing I have is a file called 50-trisquel-session.conf but it is empty. Is that the one?

SuperTramp83

I am a translator!

Offline
Beigetreten: 10/31/2014

always welcome, mate bahn!

>Is that the one?

No idea..

Magic Banana

I am a member!

I am a translator!

Online
Beigetreten: 07/24/2010

I would add "allow-guest=false" to /usr/share/lightdm/lightdm.conf.d/50-trisquel-session.conf and see if it works after restarting LightDM ('sudo restart lightdm' in a text session) or the whole system.

GNUbahn
Offline
Beigetreten: 02/19/2016

I shall give it a shot, then

GNUbahn
Offline
Beigetreten: 02/19/2016

And that did the trick.

You are not only kind but also very smart.

Thanks for the help

GNUbahn
Offline
Beigetreten: 02/19/2016

And that did the trick.

You are not only kind but also very smart.

Thanks for the help