cpalooki.blogg.se

Passwordless sudo
Passwordless sudo






passwordless sudo

Nobody needs to know the root password ( sudo prompts for the current user's password). Using sudo could be more familiar to newer users, and it could be better (safer) than allowing a normal user to open a session as root. So you do not have to put "sudo" in front of any command. Instead, they open a terminal as root (for example with su - from a normal user). Moreover, having a system without sudo could still give security benefits, since the sudo package could be affected by security bugs, as any additional part of the system. Note that, historically, all Unix-like systems worked perfectly even before "sudo" was invented. Then please do a full logout and login again. (Obviously just replace "jhon-smith" with your personal username) Password: (enter here the password of the root user that you specified during your Debian installation, and press Enter)

#Passwordless sudo install

If you like sudo and you want to install it (even if you skipped it during your Debian installation), you can, but in the way without sudo, so, becoming root with the su command, installing it, and adding yourself in the sudo group and doing a full logout/login. However, this situation only happens if you have set a root password during your Debian installation. Some new Debian users, usually coming from Ubuntu, are shocked by problems like "sudo not working in Debian". Sudo is also an effective way to log who ran which command and when. The basic philosophy is to give as few privileges as possible but still allow people to get their work done.

passwordless sudo

Sudo (sometimes considered as short for Super- user do) is a program designed to let system administrators allow some users to execute some commands as root (or another user).








Passwordless sudo