Alexander John Batyi on Thu, 28 Oct 1999 20:12:13 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] log user out at subshell level?


> I tried it in a subshell script and it just killed the script. It didn't
> log the user out.

Can you export an environment variable with the pid in .profile
and execute kill -9 $MOMMY from the child?  What are you trying to do
this for BTW?  There might be a better way to go about it.

Script for above.

in .profile;

MOMMY=`pid`; export MOMMY

in the child

kill -9 $MOMMY

Sorry I'm not trying any of this before I post it.  I'll try to better
in the future. :-)


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug