SSH cycle process, bound to current user not process ID 1, if I su - user1, su - root then the process is bound to process id 1
Posted on 2004-11-18
1) I connect to my server as ROOT using SSH, and cycle a process, the process the is bound to my current shell. (Don't want this)
2) If I connect using RSH, cycle a process it is bound to process ID 1 (which is how it is supposed to work)
3) If I connect using SSH, su - someuser, then from that user su - root, I can cycle the process and it is bound to process id 1 (Want)
What do I need to add to my environment to have it work with /bin/sh ? If I change my default shell to /bin/csh it also resolves it, however I need /bin/sh for other reasons...