rlogin is the normal way we move from server to server. There is no password involved (except when you first login to the terminal).
I want to see whos on all the servers (all 5 of them).
Usually our scripts are in csh.
I tried ssh but it did not work (I get port errors) I assume i need to use rlogin.
I tried:
rlogin user@$Alpha
but it requested a password (which we normally do not use)
suggestion?
nope it just sits there, nothing happens. I have to ctrl-c to get out.
What would be an easier shell to use instead of csh?
I want to:
rlogin Alpha
who
rlogin Beta
who
rlogin Charlie
who
And show the results in a file.
I am on a solaris system if that helps. The normal login process is: rlogin Alpha
There is no password or usernames; just the server name.
I personally would rather use csh but I am at a lost either way.
I want to make a simple script that will log onto all 5 servers and do "who" so I can see whos on and be able to "sendnote".
Here is my script:
#!/bin/sh
while read ServerName
do
ssh user@$ServerName "who" > $ServerName.txt
done < inputer.txt
It just hangs there and then when I press enter...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.