Sudo Login Problem using RSA Token Authentication
Hi,
When I issue the command: Code:
sudo -l Code:
/usr/bin/su MrGreat But when I execute the following command: Code:
bash-2.05$ sudo /usr/bin/su MrGreat Code:
Sorry, user MrOrdinary is not allowed to execute '/usr/bin/su MrGreat' as root on lazyServer. Any ideas? System pertinent information you may need: Code:
$uname -a |
Something is missing in your sudo rules. In your sudo -l display, I'm not seeing the run-as ID, which would have to contain "root" in order to allow you to do what you're trying to do.
I'm having trouble figuring out why you'd want to use sudo and su at the same time, since one replaces the other. You could issue "sudo -u MrGreat bash" and accomplish the same thing. This way you're not granting any users authority to use root on anything. You just make the sudo rule like so: Code:
%groupname ALL = (MrGreat) ALL |
All times are GMT -5. The time now is 05:31 AM. |