sudo does not work

nina zarina at mimos.my
Wed Sep 18 04:20:58 EDT 2002


I did try the second option, but got syntax error when trying to exit
visudo.
Any advice?

thanx
Zarina

----- Original Message -----
From: Matthew Hannigan <mlh at zip.com.au>
To: nina <zarina at mimos.my>
Cc: Matthew Hannigan <mlh at zip.com.au>; <sudo-users at sudo.ws>
Sent: Wednesday, September 18, 2002 3:50 PM
Subject: Re: sudo does not work


> On Wed, Sep 18, 2002 at 03:38:27PM +0800, nina wrote:
> > I see ... okay ... it works with pine when I use the -H option. Thanks a
> > lot,
> > but it still got the same error when trying to use vi or pico.  Does
anybody
> > know
> > what else do i need to set for these to work?
>
> Use my second option:
>
> > > olduser ALL = su - newuser /usr/local/bin/pine
> > >
> > > and invoke
> > > sudo su - newuser /usr/local/bin/pine
> > >
> > > which will do a 'proper' login
>
> You should know, however, that it is quite insecure
> to run programs like pine, pico and vi under sudo.
>
> They allow you to do too much, like starting a shell.
>
> Matt
>
>




More information about the sudo-users mailing list