[aclug-L] Re: starting pppd by a normal user
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thanks to everybody for responding sooo quickly..
I will work with this 'sudo' and see how far I can get.
later,
mike wagle
Jeff wrote:
>
> On Sun, 19 Sep 1999, j m wagle wrote:
>
> > it works great. I start the connection by logging on as a super user
> > and executing the following pppd:
> >
> > /usr/sbin/pppd /dev/ttyS3 115200
> >
> > my question:
> > can I start this with a bash file from a 'normal' (not operator or
> > 'super') user? everything I have tried has failed with the
> > following message:
> >
> > must be root to run /usr/sbin/pppd, since it is not setuid-root
>
> Option 1: setuid shell script (not a good idea)
>
> $ su
> # vi /usr/local/bin/ppp
> #!/bin/sh
> /usr/sbin/pppd /dev/ttyS3 115200
> (save, quit)
>
> # chmod u+x /usr/local/bin/ppp
> # chmod u+s /usr/local/bin/ppp
> # chmod o=rx /usr/local/bin/ppp
> # exit
>
> Option 2: root-owned and root-executable, but not other-executable
> shell script + SUDO (good idea)
>
> -jeff
- [aclug-L] xconfig crashes, phrostie, 1999/09/18
- [aclug-L] Re: xconfig crashes, Jonathan Hall, 1999/09/18
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/19
- [aclug-L] Re: starting pppd by a normal user,
j m wagle <=
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/19
- [aclug-L] Re: starting pppd by a normal user, j m wagle, 1999/09/21
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/22
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/22
[aclug-L] Re: xconfig crashes, Jeff, 1999/09/19
|
|