pppd/pon permission problem
I can use PPP as root but I'd like to use the PPP connection as a user. I added self to the dip group. Calling pon provider I get the following errors /usr/bin/pon: /usr/sbin/pppd: Permission denied Currently( slink default ): -rwsr-xr-- 1 root dip105532 JÚN 19 1998 /usr/sbin//pppd -rwxr-xr-x 1 root root 45 JÚN 19 1998 /usr/bin/pon Which permission should I set? Thanks Attila -- --- - Debian 2.1 Linux / 2.0.36 / qmail - - Mail: [EMAIL PROTECTED]-
Re: pppd/pon permission problem
*- On 13 Jun, Attila Csosz wrote about pppd/pon permission problem I can use PPP as root but I'd like to use the PPP connection as a user. I added self to the dip group. Calling pon provider I get the following errors /usr/bin/pon: /usr/sbin/pppd: Permission denied Currently( slink default ): -rwsr-xr-- 1 root dip105532 JÚN 19 1998 /usr/sbin//pppd -rwxr-xr-x 1 root root 45 JÚN 19 1998 /usr/bin/pon Which permission should I set? Change/correct persmission of the following if not already set, well this is what I have and it works for me, [EMAIL PROTECTED]ls -l /usr/sbin/pppd 118 -rwsr-xr-- 1 root dip119004 Apr 5 06:40 /usr/sbin/pppd* [EMAIL PROTECTED]ls -dl /etc/ppp 1 drwxr-x--- 6 root dip 1024 May 27 08:28 /etc/ppp/ [EMAIL PROTECTED]ls -dl /etc/ppp/options 1 -rw-r- 1 root dip 22 Apr 29 21:25 /etc/ppp/options [EMAIL PROTECTED]ls -dl /etc/ppp/peers 1 drwxr-x--- 2 root dip 1024 May 17 16:59 /etc/ppp/peers/ [EMAIL PROTECTED]ls -l /etc/ppp/peers/provider 1 -rw-r- 1 root dip 682 Mar 4 08:29 /etc/ppp/peers/provider [EMAIL PROTECTED]ls -dl /etc/chatscripts 1 drwxr-x--- 2 root dip 1024 May 19 08:51 /etc/chatscripts/ [EMAIL PROTECTED]ls -dl /etc/chatscripts/provider 1 -rw-r- 1 root dip 252 May 18 21:06 /etc/chatscripts/provider -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: pppd/pon permission problem
Your permission problem may be at /etc/ppp. I noticed the default cron job kept changing permission on me there to root.root instead of root.dip. Then when a normal user (member of dip) tried to run pon Permission denied because pppd couldn't read the config files... Take a look, then take a look at cron.daily for the offending line. -- -- Eric G. Miller Powered by the A HREF=http://www.debian.org;POTATO/A!
Re: pppd/pon permission problem
I should added me to the dialout group. So it works. So with the original slink settings ; + with dip,dialout group settings works. Thanks Attila On Sun, Jun 13, 1999 at 09:22:15PM +0200, Attila Csosz wrote: I can use PPP as root but I'd like to use the PPP connection as a user. I added self to the dip group. Calling pon provider I get the following errors /usr/bin/pon: /usr/sbin/pppd: Permission denied Currently( slink default ): -rwsr-xr-- 1 root dip105532 JÚN 19 1998 /usr/sbin//pppd -rwxr-xr-x 1 root root 45 JÚN 19 1998 /usr/bin/pon Which permission should I set? Thanks Attila -- --- - Debian 2.1 Linux / 2.0.36 / qmail - - Mail: [EMAIL PROTECTED]-