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

Re: Non-root user executing pon



"R. D. Loga" wrote:
> 
> When a non-root user types pon at the prompt they get "Connect script
> failed".  Pon works fine for the root user.  I changed several file
> permissions to get this far.  Do I have to change permissions on all the
> scripts in /etc/ppp/ip-up.d directory too?  Is there an easy way to allow
> non-root users to use pon?

Install the sudo package, and put in /etc/sudoers something like
bolan   ALL=NOPASSWD: /usr/bin/pon, /usr/bin/poff

read the sudo and sudoers man pages for full details, but, with
substituting an appropriate username for "bolan", this'll get
you going.  Basic use has one line for each user, but, as you'll
read in the man pages, you can create sudoers groups.

-- 
Bolan.Meek@wcom.com 972-729-5387
bolan@koyote.com (home ph. on req.) http://www.koyote.com/users/bolan
RE: xmailtool http://www.koyote.com/users/bolan/xmailtool/index.html
RMS of Borg: "Resistance is futile; you shall be freed."



Reply to: