I have enabled my administrative password but when I start my computer and just click on administrator it login in without asking for a password. I want it to be that whenever I start my computer it asks me for password (for the administrator account) before logging in.
To get started, go to Ubuntu Options at the top right corner and select ‘System Settings..’
Next, click on ‘User Accounts’ to continue.
Then unlock the settings to make changes. Only an administrator or root user can unlock.
After unlocking , change the ‘Automatic Login’ to OFF
Or your can just run the commands below to open lightdm.conf file.
sudo -i gedit /etc/lightdm/lightdm.conf
Then remove the line as highlighted below and save the file.