I have a user that is allowed to login to a shell script and use it to bring
the DSL connection up/down.

I am using sudo to allow him to run adsl-start, which he does by selecting
an item on a menu which runs:

sudo /usr/sbin/adsl-start

This is the contents of the sudoers file:

# sudoers file.
admin ALL =  /sbin/reboot, /sbin/poweroff, \
        /usr/sbin/adsl-start, /usr/sbin/adsl-stop

Everything works according to plan; adsl-start calls adsl-connect and
adsl-connect calls ppp and pppoe. After the connection is made, adsl-start
exits and adsl-connect is supposed to hang around and reconnect if the
connection drops.

The problem is that when the user logs off, although ppp and pppoe stay
running, adsl-connect dies with the session. 

This doesn't happen if I log on as root and run adsl-start and log off.

Is this just a problem with using sudo, or is there perhaps some
configuration that I've missed?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to