If you add the following line to
/etc/sudoers,
Code:
daughter ALL=NOPASSWD:/usr/sbin/pppd call imperial dump debug logfd 2 nodetach require-mppe,/sbin/ip route add default dev ppp0
then user 'daughter' will be permitted to execute "
sudo /usr/sbin/pppd call imperial dump debug logfd 2 nodetach require-mppe" and "
sudo /sbin/ip route add default dev ppp0" without supplying a password (if the parameters are changed at all, then the command won't run).
You will probably wish to incorporate those commands in a script, but that script can be run by your daughter and the calls to those two commands will get executed without password prompting.
Use 'man sudoers' for information on additional options.