Re: establishing ppp connection as non-root [solved]

2003-10-02 Thread Alphonse Ogulla
On Thursday 02 October 2003 12:36, Alphonse Ogulla wrote:
> Hi all,
> I configured ppp successfully using pppconfig and make use of pon/poff
> commands to bring up and bring down the link respectively. However, pon
> only works when ran as root and refuses otherwise.
>
> [EMAIL PROTECTED]:~$ pon
>
> please configure /etc/ppp/peers/provider or use a command line argument to
> use another file in /etc/ppp/peers directory.

This indicates that files in /etc/ppp/peers directory are unaccessible

>
> Is it possible to run pon as non root? Tried changing some parameters in
> /etc/ppp/options and /etc/ppp/peers/provider with little or no success.

Yes. In fact, one need not to change anything in /etc/ppp/peers directory

> Anyway, if it is possible then how does one go about it?

As root, include the user id to run the command pon in group 'dip'. If it so 
happens that that uid is already logged on, then exit the shell and login 
again before running pon (so as for /etc/group changes to take effect). That 
is all. /etc/pppusers and /etc/dialout files weren't necessary.

-- 

Alphonse Ogulla
Nairobi, Kenya





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: establishing ppp connection as non-root

2003-10-02 Thread Rodrigo Agerri
That remarkable Thu, Oct 02, 2003 at 12:36, Alphonse Ogulla wrote:
> Hi all,
> I configured ppp successfully using pppconfig and make use of pon/poff 
> commands to bring up and bring down the link respectively. However, pon only 
> works when ran as root and refuses otherwise.

run pppconfig, choose "change the connection" option; it will appear your ISP 
configuration, go into "advanced options" and select "add user". 

Add the user you want to use pon/poff. 

cheers
-- 
Rodrigo Agerri 
Dept. of Computing
City University, London
Tel: 0044 (0) 20 7040 0292
http://www.soi.city.ac.uk/~au700


pgp0.pgp
Description: PGP signature


Re: establishing ppp connection as non-root

2003-10-02 Thread Simon Tod
 --- Alphonse Ogulla <[EMAIL PROTECTED]> wrote: > Hi
all,
> I configured ppp successfully using pppconfig and
> make use of pon/poff 
> commands to bring up and bring down the link
> respectively. However, pon only 
> works when ran as root and refuses otherwise.
> 
> [EMAIL PROTECTED]:~$ pon
> 
> please configure /etc/ppp/peers/provider or use a
> command line argument to use 
> another file in /etc/ppp/peers directory.
> 
> Is it possible to run pon as non root? Tried
> changing some parameters in 
> /etc/ppp/options and /etc/ppp/peers/provider with
> little or no success. 
> Anyway, if it is possible then how does one go about
> it. 
> 
> Thanks and regards,
> 
> Alphonse Ogulla
> Nairobi, Kenya
> 
> -- 
> 

To use pon/poff as non-root you need to add users to
the 'dip' group. You should be able to do this through
the adduser option in pppconfig



=
---
Simon Tod
[EMAIL PROTECTED]


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: establishing ppp connection as non-root

2003-10-02 Thread Andreas Janssen
Hello

Alphonse Ogulla (<[EMAIL PROTECTED]>) wrote:

> Is it possible to run pon as non root? Tried changing some parameters
> in /etc/ppp/options and /etc/ppp/peers/provider with little or no
> success. Anyway, if it is possible then how does one go about it.

Add your user account to the "dip" group to make it work.

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



establishing ppp connection as non-root

2003-10-02 Thread Alphonse Ogulla
Hi all,
I configured ppp successfully using pppconfig and make use of pon/poff 
commands to bring up and bring down the link respectively. However, pon only 
works when ran as root and refuses otherwise.

[EMAIL PROTECTED]:~$ pon

please configure /etc/ppp/peers/provider or use a command line argument to use 
another file in /etc/ppp/peers directory.

Is it possible to run pon as non root? Tried changing some parameters in 
/etc/ppp/options and /etc/ppp/peers/provider with little or no success. 
Anyway, if it is possible then how does one go about it. 

Thanks and regards,

Alphonse Ogulla
Nairobi, Kenya

-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]