Re: ppp how to use ppp for a normal user?
[EMAIL PROTECTED] (Brad) writes: -BEGIN PGP SIGNED MESSAGE- Hmmm... ugly long lines. Fix the MUAs to use lines 76 characters at maximum. On Tue, 28 Sep 1999, Andrew L. Gould wrote: I did a fresh install of Debian 2.1r3 last night. Accessing the internet via wvdial as a normal user required all three of the following: adduser algould dip chmod a+rwx /etc/ppp/* chmod a+rwx /etc/ppp 'a+rwx' may have been overkill; but access attempts between each step failed due to inadequate permissions to use the modem, pppd, and to write to the various ppp related scripts (chap* and pap* scripts). A much better solution would have been to correct the permissions, specifically chown -R root.dip /etc/ppp /etc/chatscripts. The modes should already have been 660 (or 640, whichever is necessary). Also, make sure the /usr/sbin/pppd binary has the proper modes and sxid bits set. Only /etc/chatscripts needs to be group dip $ vdir -d /etc/ppp /etc/chatscripts drwxr-s--- 2 root dip 1024 Sep 12 08:43 /etc/chatscripts/ drwx-- 5 root root 1024 Aug 28 1998 /etc/ppp/ $ This bug was discussed a while back on the list. Wonder why no one fixed it...? -- *** Running Debian Linux *** * For God so loved the world that He gave his only begotten Son, * * that whoever believes in Him should not perish...John 3:16 * * W. Paul Mills * Topeka, Kansas, U.S.A. * * EMAIL= [EMAIL PROTECTED] * WWW= http://Mills-USA.com/ * * Bill, I was there several years ago, why would I want to go back? * * pgp public key on keyservers everywhere? */ --
ppp how to use ppp for a normal user?
I installed Debian slink and kernel 2.2.11 with success i can use my internet connexion as root, but i don't find how to run it like an user. I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I created as root. the message is always the same you must be root to run pppd Is there anyone to help me Thanks Hervé -- mailto: [EMAIL PROTECTED] http://www.ulice.linuxfr.org association des utilisateurs de Linux et des logiciels libres du Centre
Re: ppp how to use ppp for a normal user?
You can use sudo or fakeroot (see documentation) or similar, to give the user the permission to run reserved programs. Cheers, Alberto Maurizi On Tue, 28 Sep 1999, Herve BRUNEL wrote: I installed Debian slink and kernel 2.2.11 with success i can use my internet connexion as root, but i don't find how to run it like an user. I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I created as root. the message is always the same you must be root to run pppd Is there anyone to help me Thanks Hervé -- mailto: [EMAIL PROTECTED] http://www.ulice.linuxfr.org association des utilisateurs de Linux et des logiciels libres du Centre -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp how to use ppp for a normal user?
Herve BRUNEL wrote: I installed Debian slink and kernel 2.2.11 with success i can use my internet connexion as root, but i don't find how to run it like an user. I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I created as root. the message is always the same you must be root to run pppd Is there anyone to help me Thanks Hervé -- mailto: [EMAIL PROTECTED] http://www.ulice.linuxfr.org association des utilisateurs de Linux et des logiciels libres du Centre -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Add any users you want to be able to use ppp to the group dip. You can then use pon / poff, e.g. (as root) adduser jon dip Jon can then use ppp. Jonathan.
Re: ppp how to use ppp for a normal user?
Hi, You can create a PPP group and add all your users who are permitted to use pppd to this group. Then you can add a exexcutable permission to pppd for group ppp. shao. Herve BRUNEL [EMAIL PROTECTED] wrote: I installed Debian slink and kernel 2.2.11 with success i can use my internet connexion as root, but i don't find how to run it like an user. I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I created as root. the message is always the same you must be root to run pppd Is there anyone to help me Thanks Hervé -- mailto: [EMAIL PROTECTED] http://www.ulice.linuxfr.org association des utilisateurs de Linux et des logiciels libres du Centre -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
Re: ppp how to use ppp for a normal user?
*- On 28 Sep, Shao Zhang wrote about Re: ppp how to use ppp for a normal user? Hi, You can create a PPP group and add all your users who are permitted to use pppd to this group. Then you can add a exexcutable permission to pppd for group ppp. Debian's default setup is to have users in group dip for use of ppp. See /usr/doc/ppp/README.Debian.gz for a few more details. # ls -l /usr/sbin/pppd 126 -rwsr-x--- 1 root dip127100 Sep 2 10:46 /usr/sbin/pppd* Herve BRUNEL [EMAIL PROTECTED] wrote: I installed Debian slink and kernel 2.2.11 with success i can use my internet connexion as root, but i don't find how to run it like an user. I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I created as root. the message is always the same you must be root to run pppd -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: ppp how to use ppp for a normal user?
Jonathan Heaney wrote: Herve BRUNEL wrote: I installed Debian slink and kernel 2.2.11 with success i can use my internet connexion as root, but i don't find how to run it like an user. I try, unsuccessfuly, to change attribut of /usr/sbin/pppd and script I created as root. the message is always the same you must be root to run pppd Is there anyone to help me Thanks Hervé -- mailto: [EMAIL PROTECTED] http://www.ulice.linuxfr.org association des utilisateurs de Linux et des logiciels libres du Centre -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Add any users you want to be able to use ppp to the group dip. You can then use pon / poff, e.g. (as root) adduser jon dip Jon can then use ppp. Jonathan. I did a fresh install of Debian 2.1r3 last night. Accessing the internet via wvdial as a normal user required all three of the following: adduser algould dip chmod a+rwx /etc/ppp/* chmod a+rwx /etc/ppp 'a+rwx' may have been overkill; but access attempts between each step failed due to inadequate permissions to use the modem, pppd, and to write to the various ppp related scripts (chap* and pap* scripts). - Andrew Gould
Re: ppp how to use ppp for a normal user?
Andrew L. Gould writes: chmod a+rwx /etc/ppp/* chmod a+rwx /etc/ppp You've just made your password world readable and world writable. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.
Re: ppp how to use ppp for a normal user?
John Hasler wrote: Andrew L. Gould writes: chmod a+rwx /etc/ppp/* chmod a+rwx /etc/ppp You've just made your password world readable and world writable. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null There's that sinking feeling in my stomach again. (Thank goodness that machine is at home and turned off.) I need to slow down and remember that I'm still a newbie. Thanks.
Re: ppp how to use ppp for a normal user?
-BEGIN PGP SIGNED MESSAGE- Hmmm... ugly long lines. Fix the MUAs to use lines 76 characters at maximum. On Tue, 28 Sep 1999, Andrew L. Gould wrote: I did a fresh install of Debian 2.1r3 last night. Accessing the internet via wvdial as a normal user required all three of the following: adduser algould dip chmod a+rwx /etc/ppp/* chmod a+rwx /etc/ppp 'a+rwx' may have been overkill; but access attempts between each step failed due to inadequate permissions to use the modem, pppd, and to write to the various ppp related scripts (chap* and pap* scripts). A much better solution would have been to correct the permissions, specifically chown -R root.dip /etc/ppp /etc/chatscripts. The modes should already have been 660 (or 640, whichever is necessary). Also, make sure the /usr/sbin/pppd binary has the proper modes and sxid bits set. This bug was discussed a while back on the list. Wonder why no one fixed it...? - -- finger for PGP public key. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv iQCVAwUBN/EXN77M/9WKZLW5AQEIfgP/Qr0fLGwDy3dSUdDADrwHXUwZK3MK4xyA EX6G1bbX4K6l6pMrmM+mPlp9Ob6mKqTT5NqucGepz1WyNoyxznVx6RBOOCz8MNwm QGAu8yuAQ42qhWNO0oR/KMiH+eBVrnt9XvIUKQAtnv8dUSRQCdNtnAFAgwZy/6vd zaDTpGyQBNM= =+qR0 -END PGP SIGNATURE-
Re: ppp how to use ppp for a normal user?
Brad writes: This bug was discussed a while back on the list. Wonder why no one fixed it...? The permissions bug was fixed. I don't think that's his problem. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.