Listing 2: ampusers
miller
Time and Date Sub-Menu~/usr/bin/amp/amp.sh miller_1.3
End running processes~/usr/bin/amp/grpkill.sh
Cancel print job~/usr/bin/amp/can.sh
Shutdown system now~cd /; /etc/shutdown -h now
Shutdown system with 5 minutes grace period~cd /; /etc/shutdown -h +5
miller_1.3
System Time~echo ; echo System Time; date +"%r" ; sleep 3
System Date~echo ; echo System date; date +"%D" ; sleep 3
howard
Add a user to system~/usr/bin/amp/adduser
Remove a user from the system~/user/bin/amp/remuser
Shutdown system now~cd /; /etc/shutdown -h now
Shutdown system with 5 minutes grace period~cd /; /etc/shutdown -h +5
|