[sudo-users] sudo config

Galen Johnson Galen.Johnson at sas.com
Fri Dec 17 09:42:37 EST 2004

You may want to try changing the Cmnd_Alias of SU...since it matches the lower case command name it could be causing sudo to barf...


-----Original Message-----
From: sudo-users-bounces at courtesan.com [mailto:sudo-users-bounces at courtesan.com] On Behalf Of Kenny Chamber
Sent: Friday, December 17, 2004 12:21 AM
To: sudo-users at sudo.ws
Subject: [sudo-users] sudo config

i there

i am trying to get a su command working without a password with sudo but it
won't work! tried quite everything. looked at the example sudoers file on the
page but it doesn't work!

here some cuts out of my sudoers file:

# Host alias specification
Host_Alias      HERE =

# User alias specification
User_Alias      STATISTICS = amanda

# Cmnd alias specification
Cmnd_Alias      SU = /usr/bin/su
Cmnd_Alias      SHELL = /bin/sh, /bin/bash

# Defaults specification

# User privilege specification
root    ALL=(ALL) ALL
STATISTICS      ALL = NOPASSWD: /http/toyo/statistics/, SU, SHELL

why does this not work?

Kenny Chamber
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list