Sudo How to ..?
Sudo (superuser do) allows a system administrator to work using his own account and switch to root or other user identity available on the system only for commands that need it. Here i have added four users ashish, akshay, agent and mach for this tutorial to make them sudo users. Log File for Sudo : /var/log/messages SUDO file: /etc/sudoers What we will do here: 1. User "ashish" will have access of all commands as root, but with password. 2. User "akshay" will have access of all commands as root, but without password. 3. User "agent" will have limited access of network service, but with password. 4. User "mach" will have limited access of adding users & setting password for them, with password. To Set sudo users, #visudo To set access for Users "Ashish" and "Akshay" add entry as below after "root ALL=(ALL) ALL", ashish ALL=(ALL) ALL akshay ALL=(ALL) NOPASS...