ITEM: BB4001L
How do I allow a user to only execute Trouble Ticket when they log in
Question:
How can I create a user who can only bring up Trouble Ticket
when they login into the RISC?
Solution: 
If you are using '/bin/ksh' then you should add modify the
$USER's .profile, and the .profile should look like the 
following:
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
export PATH
if [ -s "$MAIL" ]           \# This is at Shell startup.  In normal
then echo "$MAILMSG"        \# operation, the Shell checks
fi                          \# periodically.
export DISPLAY=vulcan:0
nohup /usr/bin/tt6000
exit
Note the use of the nohup and exit.  These are the key to
solving the problem.  The logic is that when doing the 
nohup a SIGHUP is ignored when the user loggs out.  The
process will then run until they exit Trouble Ticket.
Support Line: How do I allow a user to only execute Trouble Ticket when they log in ITEM: BB4001L
Dated: November 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:23
Comments or suggestions?
Contact us