Set a password, yet it logs in without one
My account is an administrator; I'm using Ubuntu 14.04LTS.
I've set a password and set automatic login to OFF, yet when I wake up from suspension or reboot if I just press Enter or type in anything then it logs me in.
How should I proceed?
Easy:
-
Click the gear icon in the top-right corner of your screen:
-
Click System Settings, then Brightness & Lock:
-
Click the Lock switch until it goes into the On position and ensure the Require my password when waking from suspend is ticked.
Done! ;-)
If that doesn't work:
Create a new user on your system and see whether that user does work. If that's the case (in the below example we'll use steam-gamer
and steam-gamer2
), just do the following:
-
Open the file manager
-
Browse to the
/home/steam-gamer
directory -
Copy (don't move!) all the files from
Downloads
to/home/steam-gamer2/Downloads
-
Check you did a good job.
-
Now delete
/home/steam-gamer/Downloads
-
Go back to step 3 and repeat for
Documents
,Videos
, ... -
After a couple of days to allow you to ensure you didn't forget to copy anything, just delete
steam-gamer
together with it's home directory by issuing the following command:sudo deluser steam-gamer --remove-home
I like using the terminal:
-
Enable Screen Lock
gsettings set org.gnome.desktop.screensaver lock-enabled true
-
Enable Lock on Suspend
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend true
To disable, use false
instead of true
.
;-)