Difference between revisions of "Enable Guest Logins in Ubuntu 18.04 Bionic"

From GroovixWiki
Jump to: navigation, search
Line 1: Line 1:
 
By default Ubuntu 18.04 ( non-Groovix ) no longer offers guest logins.  But you can enable guest logins by switching the display manager from gdm3 to lightdm and enabling guest logins with the following steps.
 
By default Ubuntu 18.04 ( non-Groovix ) no longer offers guest logins.  But you can enable guest logins by switching the display manager from gdm3 to lightdm and enabling guest logins with the following steps.
 +
 +
NOTE: due to bug CVE-2017-8900 https://bugs.launchpad.net/bugs/1663157  guest accounts are not as restricted as they were in 16.04, the most practical difference is that some applications can read other users files ( or even write, it depends on your file permissions like any normal multiuser system ) .  Most applications in Xubuntu 18.04 seem to be restricted but until that bug is resolved there are no guarantees so only use this feature if you understand the security implications.
 +
  
 
<ul>
 
<ul>
Line 9: Line 12:
  
 
allow-guest=true
 
allow-guest=true
NOTE:
 
There is a note about bug CVE-2017-8900 , https://bugs.launchpad.net/bugs/1663157 , but I tested it with:
 
 
cat /proc/self/attr/current
 
 
and it seems to be fixed even though the bug report is not updated.
 
  
 
<li>Reboot the computer ( through the gui or shutdown -r now )  
 
<li>Reboot the computer ( through the gui or shutdown -r now )  
 
</ul>
 
</ul>

Revision as of 17:18, 1 March 2018

By default Ubuntu 18.04 ( non-Groovix ) no longer offers guest logins. But you can enable guest logins by switching the display manager from gdm3 to lightdm and enabling guest logins with the following steps.

NOTE: due to bug CVE-2017-8900 https://bugs.launchpad.net/bugs/1663157 guest accounts are not as restricted as they were in 16.04, the most practical difference is that some applications can read other users files ( or even write, it depends on your file permissions like any normal multiuser system ) . Most applications in Xubuntu 18.04 seem to be restricted but until that bug is resolved there are no guarantees so only use this feature if you understand the security implications.


  • sudo apt install lightdm ; # be sure to choose lightdm as the default greeter
  • sudo gedit /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf ; #change it to: allow-guest=true
  • Reboot the computer ( through the gui or shutdown -r now )