![](https://seccdn.libravatar.org/avatar/504ea95a4576e6592281bc9e2e98204f.jpg?s=120&d=mm&r=g)
On Sun, 13 Apr 2003 06:41:50 -0700 (PDT)
jamu pegel linux
Hi all, I hope you all don't get upset because of my question, but someone (I knew it was my admin) always restart my login in my networking area while I'm working. I just wanna know how to sudo the admin, then change his passw ? I'm not 100% sure what you are asking. I use sudo very frequently and I rarely use su. First, you must set up the /etc/sudoers file (this should be owned by root and in root's group), rw owner, r group, and no permissions for others. You should use the visudo command to edit the /etc/sudoers file. There are samples in the initial sudoers file. Then, you can use sudo anytime you have a system command to perform: sudo shutdown
Sudo will then prompt you for your password, then execute the command.
You can also spawn a shell:
sudo bash
--
Jerry Feldman