[sudo-users] sudo config

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


Also, unless I'm mistaken, you're also missing the runas block in your STATISTICS:

STATISTICS      ALL = (bubba, RUNME) NOPASSWD: /http/toyo/statistics/, SU, SHELL
 
=G=

-----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 = 172.16.20.5

# 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
http://gem-hs.org/contact.html
____________________________________________________________ 
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users




More information about the sudo-users mailing list