I want to run sudo service lightdm restart
command on virtual console, so i pressed Ctrl+Alt+F1 after that VC login prompt appears,
Login: Password:
I logged into the vc with my login credentials.If i run sudo service lightdm restart
command on that prompt, it again asked for sudo
password.
~$ sudo service lightdm restart [sudo] password for avinash:
Why there is a two step verfication proces?
sudo
. It prompts for password. The same behavior is being observed in tty1. – Bleeding Fingers Mar 12 '14 at 08:27