Sunday, March 17, 2013

SUDO in UNIX


Sudo is a standard way to give users some administrative rights without giving out the root


password. Sudo is very useful in a multi user environment with a mix of server and
workstations. Simply call the command with sudo:

# sudo /etc/init.d/dhcpd restart                                   # Run the rc script as root
# sudo -u sysadmin whoami                                       # Run cmd as

No comments:

Post a Comment