- Dec 17, 2001
- 3,566
- 3
- 81
I just want my wife to be able to kill my connection if I log out and she takes over. Right now, I've set up PPP entirely through console scripts - pppon runs pppd, which runs suid root, executing a chat script through /etc/ppp/options. The connection is terminated through pppoff, a script that does "kill `cat /var/run/ppp0.pid`" Root can end a user's connection, and a user can kill his own, but not another user's or root's - pppoff refuses to kill the process because the user does not own it. This happens even if I make pppoff suid root. Any suggestions?
edit: clarification
edit: clarification