Sudo no password
I have an old server running RHEL 5.5 and I normally just type sudo nothing else and I'm instantly root. I copied my sudoers file from here to a new server but it seems not to work cause I type sudo and it ask for usage. Is something else besides the sudoers file that prevents me from logging in with sudo only, thanks.
|
you need to run "sudo -i" or "sudo -s" or "sudo su -"
|
That is strange cause on my old server I literally only type "sudo" and I automatically am root.
|
May be you have set up an alias for sudo. By the way, it is very bad for the security of the server to have a passwordless sudo.
|
I understand the circumstances, its a closed development network, I'll keep poking around to see if I can duplicate what I did before. I'll post it on here in case any one wants to know, thanks.
|
alias sudo="sudo -i"
|
All times are GMT -5. The time now is 10:45 AM. |