[PLUG] sudoers still not working
AthlonRob
AthlonRob at axpr.net
Sat Nov 29 10:37:01 UTC 2003
On Sat, 2003-11-29 at 07:29, Brian Quade wrote:
> But when I login as admin
> and try to run groupadd, I get "command not found". I can login as root
> and run groupadd just fine.
'tis your path.
Here's what a friend did. His PATH has /usr/local/bin before /usr/bin,
so he put a script called 'sudo' in /usr/local/bin, and left the real
'sudo' in /usr/bin.
#!/bin/bash
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin /usr/bin/sudo $@
HTH.... Rob
More information about the PLUG
mailing list