Hi Everyone!!
  I have created a menubased shellscript. I'm going to setup user to invoke the 
menu autometically every time he logs in to the system. I want all the activity 
to be logged for that user. I have done the following thing to achive this in 
the .profile.
   
  SHELL=/full/path/name/of/my/menu.ksh
export SHELL
script -a logfile
   
  As soon as the user logs in .profile is executed. When "script" command is 
executed menu is invoked as the shell is set to menu.ksh.
  Using the menu I'm starting 2 daemon processes using the nohup and "&" 
combination.
The process starts successfully.  The parent process id changes to 1 as 
expected. however terminal is still showing /dev/pts/1.
As soon as i log out of the menu My process gets killed.
  I used "at" command to start the daemon..it works but it is restricted in our 
environment.
  I'm using solaris 10.
  Can anyone help me on this problem.
   
  Regards,
VK

                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1?/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/edu-discuss/attachments/20060915/4d4bbd95/attachment.html>

Reply via email to