Hi all,
Is it possible to write a script that does an automated rlogin to a remote host and executes a few commands ?
The reason:
We need to run a command every minute on a remote solaris machine but the admin of that remote machine has disabled all cron activity.
I thought it would be cunning to run the crontab on our machine, let it do a rlogin to the remote machine and come back.
But, with ftp you can specify the login/password but I've got no idea how to do this in a script with rlogin.
Can you pass the password on ?
Thanks for any help,
Iga
Is it possible to write a script that does an automated rlogin to a remote host and executes a few commands ?
The reason:
We need to run a command every minute on a remote solaris machine but the admin of that remote machine has disabled all cron activity.
I thought it would be cunning to run the crontab on our machine, let it do a rlogin to the remote machine and come back.
But, with ftp you can specify the login/password but I've got no idea how to do this in a script with rlogin.
Can you pass the password on ?
Thanks for any help,
Iga