sudo doesn't seem to wotk... (a newbee)

Paolo Cavicchini p.cavicchini at ifinet.it
Tue Mar 12 05:37:38 EST 2002


Hello,
I'm trying to use Sudo (version 1.6.3p7) on my RH Linux 7.
It seems don't work.

I copy below my /etc/sudoers file:

=== start ===
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification
Host_Alias      THISSERVER = moonserver


# User alias specification
User_Alias      RUNNERS = paolo, apache

##
# Runas alias specification
##
Runas_Alias     OP = root, operator

# Cmnd alias specification
Cmnd_Alias      COMM = /usr/bin/mycommand

# User privilege specification
root    ALL=(ALL) ALL
# full time sysadmins can run anything on any machine without a password
RUNNERS   THISSERVER = NOPASSWD: COMM
paolo   ALL=(ALL) ALL
=== end ===

It simply doesn't work.
Users paolo or apache doesn't able to run /usr/bin/mycommand with root's
privileges.

Please, could you give me any help?

Thank you in advance
Paolo




More information about the sudo-users mailing list