Operating System - HP-UX
1753818 Members
9135 Online
108805 Solutions
New Discussion

Re: remsh - process wont finish

 
Bill Hassell
Honored Contributor

Re: remsh - process wont finish

Your .profile is very likely the problem. Most sysadmins do not fix the interactive commands in .profile that require protection with batch environments like remsh (and cron, etc). You must protect all terminal-specific commands such as tabs tput tset ttytype stty, etc by testing for tty -s like this:

if tty -s
then
tabs
fi



Bill Hassell, sysadmin