Re: PPP as normal user
*- Rafael Cordones Marcos wrote about "Re: PPP as normal user"
| On Wed, Aug 26, 1998 at 01:57:08AM -0500, David Densmore wrote:
| > I just installed Debian 2.0.
| >
| > Can someone tell me how to establish a PPP connection from my normal
| > user account? I have no problem as root.
| >
| > I tried chmod u+s pppd but that doesn't work.
| >
|
| My permissions are:
|
| lazlo:~$ ll /usr/sbin/ppp*
| -rwxr-xr-x 1 root root 27309 Jun 12 22:40 /usr/sbin/pppconfig
| -rwsr-xr-- 1 root dip 105884 Jun 19 02:59 /usr/sbin/pppd
| -rwsr-xr-- 1 root dip 105532 Jun 19 02:59 /usr/sbin/pppd.ppp-pam
| -rwxr-xr-x 1 root root 8688 Jun 19 02:59 /usr/sbin/pppstats
|
| lazlo:~$ ll /usr/bin/pon
| -rwxr-xr-x 1 root dip 45 Jun 19 02:58 /usr/bin/pon
| -rwxr-xr-x 1 root dip 1511 Jun 19 02:58 /usr/bin/poff
|
| What I did was (as root):
|
| 1.- chgrp dip /usr/bin/pon
| chgrp dip /usr/bin/poff
|
| 2.- adduser rafacm dip
|
| Hope it helps!
|
I am having the same problems. I can't get my user account(servis) to
use pon/poff
% id
uid=6262(servis) gid=6262(servis) groups=6262(servis),20(dialout),29(audio),30(dip)
% ls -l /usr/bin/pon /usr/bin/poff
2 -rwxr-xr-x 1 root dip 1511 Jun 18 19:58 /usr/bin/poff*
1 -rwxr-xr-x 1 root dip 45 Jun 18 19:58 /usr/bin/pon*
% ls -l /usr/sbin/pppd
105 -rwsr-xr-- 1 root dip 105532 Jun 18 19:59 /usr/sbin/pppd*
% ls -al /etc/ppp
total 92
1 drwxr-xr-x 6 root dip 1024 Jul 26 14:48 ./
7 drwxr-xr-x 64 root root 7168 Aug 26 06:49 ../
36 -rw-r--r-- 1 root root 34938 Jul 9 10:58 connect-errors
2 -rwxr--r-- 1 root root 1338 May 31 14:08 ip-down*
1 drwxr-xr-x 2 root root 1024 May 13 21:42 ip-down.d/
2 -rwxr--r-- 1 root root 1454 May 13 21:42 ip-down.dpkg-dist*
32 -rw-r--r-- 1 root root 31249 Aug 26 07:51 ip-log
3 -rwxr--r-- 1 root root 2789 Jul 26 14:48 ip-up*
1 drwxr-xr-x 2 root root 1024 Aug 11 08:46 ip-up.d/
2 -rwxr--r-- 1 root root 1452 May 13 21:42 ip-up.dpkg-dist*
2 -rw------- 1 root root 1553 Jul 9 12:58 pap-secrets
1 drwxr-xr-x 2 root dip 1024 Jul 27 20:05 peers/
1 -rw-r--r-- 1 root root 85 Mar 1 1997 ppp_on_boot
% ls -l /dev/ttyS3
0 crw-r--r-- 1 root dialout 4, 67 Aug 26 08:05 /dev/ttyS3
% pon
/usr/sbin/pppd: Can't open options file /etc/ppp/options: No such file or directory
As root it works perfectly. What am I missing?
Thanks,
--
Brian
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes."
- unknown
Mechanical Engineering servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------
Reply to: