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

Re: Dial to the Internet as User



Hi Karl,

Thanks for the tip about checking /dev/modem.

I changed the ff. files/devices/scripts to group dialer:
pppd, /dev/modem, dialling-script, hangup-script, /etc/ppp/pap-secrets, /etc/ppp/resovl.conf.

I could but did not change the group ownership of /dev/ttyS1 which was already owned by uucp. The /dev/modem links to this device. I just added myself to the uucp group. Otherwise I could not still dial as a regular user.

My question now is, did I do the right thing by adding myself to the uucp group? Am I not compromising anything in my system?

Thanks again.

Horace G. Friend III
okee mail com 

On Thu, Mar 01, 2001 at 11:31:41AM -0700, karlp ourldsfamily com wrote:
> This isn't a very elegant way of doing it, but I use the X-client, netcfg
> and go to the interfaces tab, then select PPP0 and it brings up a window
> which has some more tabs. On one of them, there's a check box for allowing
> any user to start or stop the interface. That worked for me before I left
> the world of slow modems and entered DSL heaven.
> 
> Karl L. Pearson
> Senior Consulting Systems Analyst
> Senior Consulting Database Analyst
> karlp ourldsfamily com
> 
> On Thu, 1 Mar 2001, Horace wrote:
> 
> Hi,
> 
> I have configured chat and pppd and created a dialing script and a hangup
> script. I  have actually connected to the internet and hangup from it --
> as root. I can't do it as an ordinary user. Everytime I ran the dialing
> script I get a msg that "only root can run or use pppd because setuid for
> root is not set".
> 
> Btw, I have tried dialing as a regular user by su-ing to root then back
> and then back again to su to hangup.
> 
> For my attempt to fix it, here's what I did:
> login as root
> chmod 4755 /usr/sbin/pppd
> chmod 0755 /usr/local/bin/dialscript /usr/local/bin/hangup
> 
> this didn't work so i tried:
> 
> chown root:pppusers /usr/sbin/pppd
> chown root:pppusers /usr/local/bin/dialscript /usr/local/bin/hangup
> 
> still did not work. I already have a pppusers group in my system.
> 
> Can anyone tell me how can I fix this so that I can dial and hangup as an
> ordinary user?





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