ppp as normal user

2003-03-05 Thread Gandalf the Grey
well, that, the interfaces are not usable as a normal user in default instalation.. i add my user to the groups: dialout,dip ok.. pon is ok but poff NO.. in fact i use the gnome applet modem lights and it can start the conectios but not stop it, i have to stop it from console but is posible to

Re: PPP as normal user

1998-09-29 Thread Britton
I have problems starting ppp as a normal user also that I have not been able to cure by mucking with permissiont in /etc and elsewhere. Mind firing off a quick ls -l /etc/ppp*? I'd really appreciate it. __ GNU GPL: The Source will be with you... always. Britton Kerin On 27 Aug 1998, Martin

Re: PPP as normal user

1998-09-29 Thread john
Britton writes: I have problems starting ppp as a normal user also that I have not been able to cure by mucking with permissiont in /etc and elsewhere. Put your users in the 'dip' group and set the permissions and ownership of /etc/chatscripts thusly: drwx--x--- root dip /etc

Re: PPP as normal user

1998-08-28 Thread john
Martin writes: But this is strange. pppd is setuid root. So it should be able to read any file, right? /etc/chatscripts/provider is read by chat, not pppd. pppd forks and exec's chat via these lines: setuid(getuid());

Re: PPP as normal user

1998-08-28 Thread john
Martin Bialasinski writes: gtop shows root as owner and still I can signal it. You are still the real user. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI

Re: PPP as normal user

1998-08-27 Thread servis
*- [EMAIL PROTECTED] wrote about Re: PPP as normal user | Brian writes: | Am I interpreting this wrong? | | No, but your provider file does not include everything needed to make a | dialup connection: some stuff is assumed to be in the options file. | | I still would like to know what became

Re: PPP as normal user

1998-08-27 Thread servis
*- Martin Bialasinski wrote about Re: PPP as normal user | | s == servis [EMAIL PROTECTED] writes: | | [...] | | You forgot to answer my question :-) | | What happens if you just type /usr/sbin/pppd at the prompt (as user | servis)? Will it run or issue an error message? | | When I do

Re: PPP as normal user

1998-08-27 Thread john
Brian writes: This setup, with no /etc/ppp/options file and only /etc/ppp/peers/provider, has worked for months when pon(pppd) is called from root. But why don't you have an options file? -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI

Re: PPP as normal user

1998-08-27 Thread Ed Cogburn
[EMAIL PROTECTED] wrote: *- Martin Bialasinski wrote about Re: PPP as normal user | | s == servis [EMAIL PROTECTED] writes: | | [...] | | You forgot to answer my question :-) | | What happens if you just type /usr/sbin/pppd at the prompt (as user | servis)? Will it run or issue

Re: PPP as normal user

1998-08-27 Thread servis
*- [EMAIL PROTECTED] wrote about Re: PPP as normal user | Brian writes: | This setup, with no /etc/ppp/options file and only | /etc/ppp/peers/provider, has worked for months when pon(pppd) is called | from root. | | But why don't you have an options file? Because all the options are in /etc

Re: PPP as normal user

1998-08-27 Thread servis
*- Ed Cogburn wrote about Re: PPP as normal user | | For one thing, I'm uneasy at the fact that you don't have an options | file in /etc/ppp. Going by the messages in that file, having that file | should be standard for Debian setups. Changes to the default in the | options file would go

Re: PPP as normal user

1998-08-27 Thread Martin Bialasinski
s == servis [EMAIL PROTECTED] writes: s | /etc/chatscripts/provider: s | -rw-r- 1 root dip 512 Aug 14 22:29 provider s s BINGO! I found that the group read bit was not on on this file. s Changed that and I am a happy camper now. In fact I just dialed in to s send

Re: PPP as normal user

1998-08-27 Thread john
Brian writes: If I issue 'pppd file /etc/ppp/peers/provider' then it seg faults! Doesn't for me. Note, however, that 'pppd file /etc/ppp/peers/provider' is *not* the same as 'pppd call provider'. The latter will accept privileged options in provider. With my options file removed, ''pppd

Re: PPP as normal user

1998-08-27 Thread servis
*- Martin Bialasinski wrote about Re: PPP as normal user | | s == servis [EMAIL PROTECTED] writes: | | s | /etc/chatscripts/provider: | s | -rw-r- 1 root dip 512 Aug 14 22:29 provider | s | s BINGO! I found that the group read bit was not on on this file. | s Changed

Re: PPP as normal user

1998-08-27 Thread john
Brian writes: From what I understand from the man pages, doc's etc. I can have all my options in the /etc/ppp/peers/provider options file, no problem. The options file can be empty, but it must exist if any user other than root is to use pppd. Figures it would be something small like that.

Re: PPP as normal user

1998-08-27 Thread Martin Bialasinski
s == servis [EMAIL PROTECTED] writes: s poff is just a shell script that will call the kill command. I haven't s tried killing pppd from servis since this has worked. It will take me s about an hour to get through the busy lines. Will this be able to kill s the root process? s % ls -l

PPP as normal user

1998-08-26 Thread David Densmore
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. Thank You David Densmore [EMAIL PROTECTED]

Re: PPP as normal user

1998-08-26 Thread Martin Bialasinski
DD == David Densmore [EMAIL PROTECTED] writes: DD I just installed Debian 2.0. DD Can someone tell me how to establish a PPP connection from my normal DD user account? I have no problem as root. DD I tried chmod u+s pppd but that doesn't work. You have to add the user to the dip (or was it

Re: PPP as normal user

1998-08-26 Thread Rafael Cordones Marcos
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. Thank You David Densmore [EMAIL

Re: PPP as normal user

1998-08-26 Thread servis
*- 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

Re: PPP as normal user

1998-08-26 Thread Martin Bialasinski
s == servis [EMAIL PROTECTED] writes: s % ls -al /etc/ppp s total 92 s 1 drwxr-xr-x 6 root dip 1024 Jul 26 14:48 ./ s 7 drwxr-xr-x 64 root root 7168 Aug 26 06:49 ../ s 36 -rw-r--r-- 1 root root34938 Jul 9 10:58 connect-errors s 2 -rwxr--r-- 1 root

Re: PPP as normal user

1998-08-26 Thread servis
*- Martin Bialasinski wrote about Re: PPP as normal user | | s == servis [EMAIL PROTECTED] writes: | | s % ls -al /etc/ppp | s total 92 | s 1 drwxr-xr-x 6 root dip 1024 Jul 26 14:48 ./ | s 7 drwxr-xr-x 64 root root 7168 Aug 26 06:49 ../ | s 36 -rw-r--r-- 1 root

Re: PPP as normal user

1998-08-26 Thread Jack Kern
On Wed, Aug 26, 1998 at 08:08:03AM -0500, [EMAIL PROTECTED] wrote: *- 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

Re: PPP as normal user

1998-08-26 Thread Martin Bialasinski
s == servis [EMAIL PROTECTED] writes: s | Strange it works as root. As you can see, you don't have a s | /etc/ppp/options file. Create one and try again. s This fix doesn't seem like the right way to fix this problem. Why s would running it as root NOT fail when the options file is not

Re: PPP as normal user

1998-08-26 Thread servis
*- Martin Bialasinski wrote about Re: PPP as normal user | | (try this please) | | Maybe you did the adduser name dip during the current session? Then | you should login again. | | (and try /usr/sbin/pppd again. Different output/logs ?) My user account has been a member of the dip group

Re: PPP as normal user

1998-08-26 Thread john
Brian writes: This fix doesn't seem like the right way to fix this problem.] The right way is to figure out what happened to your options file and then purge and reinstall ppp. Why would running it as root NOT fail when the options file is not present and when run as a user it needs to have

Re: PPP as normal user

1998-08-26 Thread servis
*- [EMAIL PROTECTED] wrote about Re: PPP as normal user | Brian writes: | This fix doesn't seem like the right way to fix this problem.] | | The right way is to figure out what happened to your options file and then | purge and reinstall ppp. | | Why would running it as root NOT fail when

Re: PPP as normal user

1998-08-26 Thread Martin Bialasinski
s == servis [EMAIL PROTECTED] writes: [...] You forgot to answer my question :-) What happens if you just type /usr/sbin/pppd at the prompt (as user servis)? Will it run or issue an error message? When I do this, pppd starts and begins sending LCP packages. Aug 26 22:43:45 haitech kernel:

Re: PPP as normal user

1998-08-26 Thread john
Brian writes: Am I interpreting this wrong? No, but your provider file does not include everything needed to make a dialup connection: some stuff is assumed to be in the options file. I still would like to know what became of your options file, though. Could it have been destroyed by wmpp?