sudoers not working after transfer to a new machine
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Thu Oct 22 22:15:34 UTC 2009
I can su, but I can't run some scripts; /etc/sudoers contains...
waltdnes d531 = (root) NOPASSWD: /etc/init.d/net.eth0 restart
...and it has worked for years on another machine (with d531 changed to
d530). But on this machine...
[d531][waltdnes][~] /etc/init.d/net.eth0 restart
* /sbin/runscript.sh: must be root to run init scripts
other commands in /etc/sudoers end up asking for my password,
notwithstanding the NOPASSWD: flag, and after entering password I get...
Sorry, user waltdnes is not allowed to execute <whatever> as root on d531
To answer the the obvious questions people will ask...
[d531][waltdnes][~] hostname
d531
and yes, I am a member of wheel.
--
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list