2

Yester I asked this question, and tried to follow cl-netbox's advice:

Highlight the Ubuntu entry in the GRUB boot menu and press the E key. Add nouveau.modeset=0 to the end of the linux line - press F10 to boot. On login screen press Ctrl+Alt+F1 ... enter user name and password ... Now execute the commands ...

After pressing Ctrl+Alt+F1 at the login screen and writing sudo apt-get update, the laptop asks me for my password (as per usual). However, the password that I normally always use does not work. I've no idea what password I should use. Anybody can help me?

Hunter
  • 482

1 Answers1

1

When a nonprivileged user runs sudo <command>, he/she is asked for his/her password, not the root password. (It makes sense -- if the user knows the root password, he/she wouldn't need to use sudo.)

So, since all the user need is his/her password, does that mean that any user is allowed to run any command as root? Certainly not; which user can run which command as root, and other limitations, is all specified in the /etc/sudoers file.

dr_
  • 837