[CentOS] sudoers file

Frank.Brodbeck at klingel.de Frank.Brodbeck at klingel.de
Thu Oct 29 16:37:48 UTC 2009

vijay shanker <vijay.shad at gmail.com> schrieb am 29.10.2009 16:24:54:

> No Ross,
> This is the irony; i am working on the same machine. There is no 
> network in between

Install strace, then run sudo via strace and look which syscall
is causing the hangs. As always the manpage is your friend.

As a sidenote: I don't know if you're aware of it but allowing
vi/vim via sudo gives you full access as the user (in your case
root). This is true for all programms with the possibility to
break out into a shell. You may want to read sudo(8) and 
sudoers(5) and watch out for noexec.


More information about the CentOS mailing list