Originally Posted by ut0ugh1
user@user:~$ sudo apt-get install -f && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get upgrade
as you can see there is no request for root password even if "user" is a normal user. why? how can I get back root password request? these are the questions.
You're using sudo. So, someone has probably changed the sudoers file (using visudo), to allow authorized users to run root level commands without the password. This:
# Allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
# Allow people in the group wheel to run all commands, without a password
%wheel ALL=(ALL) NOPASSWD: ALL
is something you should look for in the /etc/sudoers file. Note the "NOPASSWD" field. It'll probably (maybe?) be different in yours, but you can probably see what you should change. Remove the "NOPASSWD:" from the relevant line in your file, and save the changes. And be *SURE* to use visudo to edit the file.