[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: permissions for pon/poff



On Tuesday 13 November 2001 07:01 pm, John Hasler wrote:
> Bob Underwood writes:
> > He is brand new to Linux (first installation) and using KPPP.
>
>                                                           ^^^^
> That's your problem.  I thought you were using pon and poff.  Dump kppp,
> run pppconfig to set up ppp, and use pon and poff (or perhaps wvdial).  If
> you must have a GUI install and use gpppon, a simple GUI wrapper around pon
> and poff.

it certainly is not my first installation of linux.  it is his first use of 
linux.  before i got my cable modem, i did use pon/poff.  the same situation 
applies with pon/poff.  after i mistakenly sent the earlier message to you 
instead of the list, i was by his place and did attempt pon/poff with the 
same results.  i then changed the permission pon/poff to root/dip and the 
modem was able to connect as a regular user, with both pon/poff and with kppp 
 (with him added to the group).  

bob


On Tuesday 13 November 2001 05:22 pm, John Hasler wrote:
> bob writes:
> > He can dial out as root (a no-no)...
>
> What gives you that idea?

He is brand new to Linux (first installation) and using KPPP.  Trying to 
teach some healthy habits of not working in root unless necessary, which it 
shouldn't be for this.

>
> > I added the user to the dip and dialout groups with no change.
>
> No need for dialout.  You do know that he needs to log out and back in for
> the changes to takes effect, I assume.

Okay, I'll remove the user from dialout.  The machine was set up at my house, 
about a week ago, so log out is not a problem.

>
> > ...but not as a normal user, so it's apparently a permissions problem.
> >
> > I checked the bug listing for base/ppp but it's really no help.  What
> > should the group/owner and permissions for these scripts be?
>
> Please post the out of
>
>   ls -l /usr/bin/pon /usr/bin/poff /usr/sbin/pppd

ls -l /usr/bin/pon
-rwxr-xr-r      1 root     root     956  Sep 29 08:00

ls -l /usr/bin/poff
-rwxr-xr-x      1 root     root   2722  Sep 29 08:00

ls -l /usr/sbin/pppd
-rwsr-xr--              1 root     dip   218524  Sep 29 08:00
>
> and
>
>  ls -ld /etc/chatscripts /etc/ppp /etc/ppp/peers

/etc/chatscripts
drwxr-s---      2 root     dip    4096  Nov 12  17:16

/etc/ppp
drwxr-x--               6 root     dip     4096 Nov 13    17:17

/etc/ppp/peers
drwxr-s---      2 root     dip     4096  Nov 13    17:17

> and
>
>  ls -l /etc/ppp /etc/ppp/peers
-rw-r-----              1 root  dip     579  Nov 13    17:19 provider



Reply to: