I just turned insults on to see what was said. You are correct John a little bit of that goes a LONG way.
thanks Mace --- On Thu, 9/25/08, John Summerfield <[EMAIL PROTECTED]> wrote: > From: John Summerfield <[EMAIL PROTECTED]> > Subject: Re: question about sudo > To: LINUX-390@VM.MARIST.EDU > Date: Thursday, September 25, 2008, 9:06 PM > LJ Mace wrote: > > (rant on)I am trying to protect the system from an > incompetent manager making a bad decision about an > operator(rant off). > > Anyway so the operator doen't have to log into > root I'm trying to setup > > sudo to perform several commands. > > To shorten the keying I have setup cmnd alias ,but > when I try to execute the alias i get command not found. > > So here is my sudo file: > > Host_Alias IMAGE1 = xx.xx.xx.xxx > > # User alias specification > > User_Alias IMAGEUSR1= oper1 > > # Cmnd alias specification > > Cmnd_Alias SHUTL2 = /sbin/shutdown -r 0 > > Cmnd_Alias CMSDOWN = /opt/scripts/cmsshutdown.sh > > # Defaults specification > > Defaults targetpw,insults # ask for the password of > the target user i.e. root > > Before I go further, this looks like SUSE. > > I think that last line is broken; anyone who knows the root > password can > also use su. > > I also do not like lecture or insults, the humour wears > pretty thin > after 30 iterations. > > > > -- > > Cheers > John > > -- spambait > [EMAIL PROTECTED] [EMAIL PROTECTED] > -- Advice > http://webfoot.com/advice/email.top.php > http://www.catb.org/~esr/faqs/smart-questions.html > http://support.microsoft.com/kb/555375 > > You cannot reply off-list:-) > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access > instructions, > send email to [EMAIL PROTECTED] with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390