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

Re: pon/poff for ordinary user.



*- On  9 Jun, Hans van den Boogert wrote about "pon/poff for ordinary user."
> I like pon/poff to be available to ordinary users of my system. Now I have
> to su before being able to turn on and off the ppp connection to the net.
> Does somebody know how to go about this? -- Hans
> 
> 

Add the user to the group 'dip'

addgroup <user> dip

Change/correct persmission of the following if not already set, well
this is what I have and it works for me,

{root@brian}{~}[147]>ls -l /usr/sbin/pppd
 118 -rwsr-xr--   1 root     dip        119004 Apr  5 06:40 /usr/sbin/pppd*
{root@brian}{~}[141]>ls -dl /etc/ppp
   1 drwxr-x---   6 root     dip          1024 May 27 08:28 /etc/ppp/
{root@brian}{~}[142]>ls -dl /etc/ppp/options
   1 -rw-r-----   1 root     dip           22 Apr 29 21:25 /etc/ppp/options
{root@brian}{ppp}[155]>ls -dl /etc/ppp/peers
   1 drwxr-x---   2 root     dip          1024 May 17 16:59 /etc/ppp/peers/
{root@brian}{~}[143]>ls -l /etc/ppp/peers/provider
   1 -rw-r-----   1 root     dip           682 Mar  4 08:29 /etc/ppp/peers/provider
{root@brian}{~}[144]>ls -dl /etc/chatscripts
   1 drwxr-x---   2 root     dip          1024 May 19 08:51 /etc/chatscripts/
{root@brian}{~}[145]>ls -dl /etc/chatscripts/provider
   1 -rw-r-----   1 root     dip           252 May 18 21:06 /etc/chatscripts/provider


-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: