[ILUG] Running command after login.
Aherne Peter-pahern02
peter.aherne at motorola.com
Thu Sep 27 11:34:05 IST 2001
<spell check on>
<grammer check on>
<politeness check on>
Hi all,
I want to be able to run a script after logging into a machine. .login/.cshrc etc files are not the answer. What I want to be able to do is something along the lines of...
rlogin machine_name -execute command/script_name
I know rsh can do this but it then returns you to the original machine, is there a way I can stay logged into the target machine. man rsh/rlogin, google etc. all done, ssh not an option unfortunately. I'm beginning to think this is not possible.
Cheers,
Peter.
</politeness check on>
</grammer check on>
</spell check on>
--
Peter Aherne, Software Engineer, Motorola Ireland Ltd.
http://www.skynet.ie/~peter - peter at linux.ie
Ph: +353 21 4511234 Mobile: +353 87 2246834
More information about the ILUG
mailing list