sudoers file
Magdalena Hewryk
Magdalenah at optus-ebiz.com
Fri Mar 30 14:22:49 EST 2001
Hi,
I'm trying to execute as user magda a script mirror_list.sh which has
executable permission assigned only to root:
-rwxr--r-- 1 root other 3283 Mar 29 16:51 mirror_list.sh
# sudo -u root /app/rsync/mirror_list.sh
Sorry, user magda is not allowed to execute "/app/rsync/mirror_list.sh" as
root on host1
This is the sudoers file:
# Host alias specification
Host_Alias B = host1
# User alias specification
User_Alias PROMADMIN = magda
# Cmnd alias specification
Cmd_Alias PROM = /app/rsync/mirror_list.sh
# User privilege specification
root ALL=(ALL) ALL
PROMADMIN ALL = PROM
What is wrong with PROMADMIN ALL=PROM ? Whey sudo is complaining?
Any help?
Thanks,
Magda
More information about the sudo-users
mailing list