Sorry, user chris may not run sudo on xxx

Xavier Mertens xavier at euro.net
Thu Mar 23 11:09:34 EST 2000


Not fixed with a Host_Alias :(

User_Alias      TECHDESK = vincentb, tshirt, chris
[...]
Host_Alias      XXX = xxx
[...]
TECHDESK        XXX = /bin/vi /usr/local/lib/mail/domains/*

On xxx:

sudo -l gives: "Sorry, user chris may not run sudo on bladnoch."
But, chris can do "sudo /bin/vi /usr/local/lib/mail/domains/file"

????

--
Xavier Mertens,         .  .   EuroNet Internet  "Contrary to popular belief, 
NOC Manager          .      *  a subsidiary of    Unix is userfriendly. It
XM3-RIPE XM1-6BONE  .          France Telecom     just happens to be selective
                                                  about who it makes friends
                                                  with."

On Thu, 23 Mar 2000 mdarnt at franklincovey.com wrote:

> Xavier,
> 
> Have you tried making a Host_Alias entry to see if this fixes the problem?
> Try it and see what happens. Also, is chris typing "SUDO" before the
> command? Just wondering...
> 
> Matt Arntsen
> Operations Admin
> Franklin Covey, Co.
> 
> > -----Original Message-----
> > From:	Xavier Mertens [SMTP:xavier at euro.net]
> > Sent:	Thursday, March 23, 2000 3:54 AM
> > To:	sudo-users at courtesan.com
> > Subject:	Sorry, user chris may not run sudo on xxx
> > 
> > Hi sudo users,
> > 
> > I've a strange problem with some of my hosts!
> > 
> > Here is a small /etc/sudoers:
> > 
> > User_Alias      HLP = vincentb, chris, tshirt
> > 
> > [...]
> > 
> > HLP             xxx = /bin/vi /usr/local/lib/mail/domains/*
> > 
> > [...]
> > 
> > When chris tries to use sudo on xxx, he always got the following
> > message:
> > 
> > Sorry, user chris may not run sudo on xxx.
> > 
> > Any idea, why this fails????
> > 
> > X
> > 
> > --
> > Xavier Mertens,         .  .   EuroNet Internet  "Contrary to popular
> > belief, 
> > NOC Manager          .      *  a subsidiary of    Unix is userfriendly. It
> > XM3-RIPE XM1-6BONE  .          France Telecom     just happens to be
> > selective
> >                                                   about who it makes
> > friends
> >                                                   with."
> 




More information about the sudo-users mailing list