Objections to sudo

mlh at zipworld.com.au mlh at zipworld.com.au
Fri Feb 8 10:06:14 EST 2002


IMnsHO, aliases are far less useful than
ordinary shell scripts.  They should only
be used if necessary.   And they're only
necessary when they use a builtin, e.g. cd.

So they're worse than shell script wrappers.


Quoting Mark Thompson <mthompson at ed.umuc.edu>:

> You can also create aliases in your personal account so that you
> do not have to type the sudo at all.
> 
> /bin/tcsh
> 
> alias passwd "/path/to/sudo /path/to/passwd \!*"
> 
> sudo aliases could be added to a file and sourced from within the
> login scripts for the admin accounts.  
> 
> 
> Mark Thompson
> 
> "Alek O. Komarnitsky (N-CSC)" wrote:
> > 
> > > From: Patricia.Naparsteck at kemperinsurance.com
> > > Subject: Objections to sudo
> > > To: sudo-users at sudo.ws
> > >
> > > Some systems engineers have objected that sudo "may not be flexible
> enough
> > > " because each command would need to be wrapped.
> > > How would you respond to this objection?  What's a not so painful
> way of
> > > creating the sudoers file?
> > > Thanks.
> > > Pat
> > 
> > Wellllll ... IMHO, people like this are lamers ... using sudo
> > means (in most cases) you have to type an extra 5 characters:
> >     "s" "u" "d" "o" " "
> > 
> > The benefits of logging/accountability far outwieght the cost
> > of typing those 5 characters and I'm more than happy to do so
> > myself just so there is a record of what I did (and what I didn't
> do).
> > 
> > My two cents ... or I guess 5 Bytes!    ;-)
> > alek
> > 
> > P.S. BTW, I bet if they looked, many of those command may NOT
> > require root privilages - so you should not be using root for
> > 'em in the first place - principal of leave privilage.
> > ____________________________________________________________
> > 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