Hiding sudo from sudo users

Matthew.Hannigan at nl.abnamro.com Matthew.Hannigan at nl.abnamro.com
Tue Jun 20 05:16:41 EDT 2000

You can do exactly this with my generic sudo wrapper
which I posted to this list a month or so ago.

zahst at act.org on 13/06/2000 21:40:30

To:   sudo-users at courtesan.com
cc:    (bcc: Matthew Hannigan/NL/ABNAMRO/NL)
Subject:  Hiding sudo from sudo users

     I was wondering if there was a way to allow users to run sudo commands
     without typing sudo <command> and just type the command instead.  I
     know it sounds crazy, but here's why.

     I need to allow anyone logged in as user techsupp to be able to run
     commands in the /usr/etc directory.  Currently they are allowed to run
     a restart command on another machine, but they don't type sudo
     restart.  A script was setup that when they type restart, it calls the
     /usr/local/bin/sudo then the path to the restart command.  The reason
     for this is security, we don't want them knowing they are accessing
     things any differently than normal.

     Is there a way that a techsupp user can type the command:

     jbstatus /dev/jb0

     without typing sudo jbstatus /dev/jb0

     If there isn't any easy way to do this, then I'll have to setup
     separate commands for each command in the /usr/etc directory for them
     to be able to run.  This I can do, but there's over 100 of them and I
     really don't have the time.

     All this is being done on an IBM RS/6000.



sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list