10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys, I'm try making to script for eliminate files rlogins.
path1='/home/*'
for i in `cat /etc/passwd |awk -F: '{print $6}'`; do
if test "$i" = "$path1"; then
echo $i
cd $i
if ; then
echo "$i/.rhosts detectado"|mail -s "rhosts" root
... (14 Replies)
Discussion started by: nena_redbalon
14 Replies
2. Solaris
Guys, I'm running solaris 9 on two systems: 1 and 2, let's say.
From 1, if I say rlogin 2, i can just login. No passwd prompt!
From 2, if I say rlogin 1, it asks for the passwd. (able to login with a passwd)
But, they both have the same config files, same set up, same network etc.
What... (13 Replies)
Discussion started by: the_red_dove
13 Replies
3. Shell Programming and Scripting
I want to write a script that rlogins to a couple machines and then from the last machine, telnet into a final machine and execute a command. So in pseudocode it would look like:
rlogin host1
from host1 rlogin host2
from host2 telnet host3
from host 3 execute command
The reason for the... (6 Replies)
Discussion started by: mcburke38
6 Replies
4. Shell Programming and Scripting
Hi Forumers,
Sorry if it's really simple, but I couldn't find a way out. :(
I've to do something like this in a script (csh):
<some commands, variable settings, scripts>
rlogin different_server
<some commands, variable settings, scripts>
After "rlogin", it shows the prompt of the... (5 Replies)
Discussion started by: sumitgarg
5 Replies
5. UNIX for Dummies Questions & Answers
i got a dout in rlogin . whether rlogin is same as telnet (1 Reply)
Discussion started by: shanmugam
1 Replies
6. Shell Programming and Scripting
I am logged into an AIX Unix box. From there I want to remotely login to remotely login to an HP-UX Unix box and want to execute a command that will create a file. I want to get the file to the AIX box. Can someon eplease advise how to automate that in a shell script? At the first step I want to... (2 Replies)
Discussion started by: asutoshch
2 Replies
7. Cybersecurity
does anyone know how to stop rlogin to my sunsolaris
so I have 2 machines...I can not telnet one becouse that is not allowed but I can telnet the other and do rlogin to first one..I want to stop that..
so..
telnet A from C machine - works
telnet B from C machine - does not work
but... (3 Replies)
Discussion started by: amon
3 Replies
8. Shell Programming and Scripting
I'm comparing a table from two databases on two different servers to check for equality.
1. How do I use rlogin from a script , is it like this ?
rlogin -l $username $server1
where $username and $server1 are passed from the command line.
2.create a copy of that table, compress it and... (3 Replies)
Discussion started by: seaten
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a script and need to use rlogin to access "server1".
As there will be different servers used and there will be different usernames and passwords.
Is it possible to pass the server name, username and password as arguments on the command line and the script work from there.
... (2 Replies)
Discussion started by: seaten
2 Replies
10. UNIX for Dummies Questions & Answers
From any computer on our network when you rlogin into one machine (this only happens on this machine) it'll hang for about 3 minutes before loggin into that machine. If your sick of waiting you can do a <ctrl> C and then it'll rlogin into the machine it is meant to BUT it wont keep the shell... (1 Reply)
Discussion started by: merlin
1 Replies