How to Skip the passwd prompt of rlogin
Mon Dec 18 04:19:00 GMT 2000
Hello.
How can I skip the password prompt when
rlogin command succeed from remote host.
Please someone tell me what can I do.
<Environment>
===================================================
Redhat --(rlogin -l ftpget cygwin)-->cygwin
===================================================
Remote host : Redhat6.1 (execute rlogin command)
local host : cygwin1.1.6 WinNT4.0 SP6 (execute ftp command )
ftp soft : ncftp-3.0.1 (already ported to cygwin)
inetutils : 1.3.2-8
===================================================
<Tyied to skip the passwd prompt>
I mean to try some way against rlogin command.
1 : Make an account (ftpget) at cygwin PC.
2 : Set an EMPTY passwd to "ftpget".(User manager of WinNT)
3 : Make "/etc/hosts.equiv" on both PC
But, a passwd prompt always come here.([case 1] [case 2])
Opposite direction, a passwd prompt is skipped away.([case 3])
How can I do? Is there someone who know this situation?
<Result>
[Case 1] passwd prompt always come here
-----------------------
Redhat->cygwin : rlogin
-----------------------
RedHat> rlogin -l ftpget cygwin
RedHat> passwd: <<<<---- (want to skip this prompt)
cygwin> ************ (shell script running)
RedHat> Connection closed.
RedHat>
[case 2] passwd prompt always come here
-----------------------
cygwin->cygwin : rlogin
-----------------------
cygwin> rlogin -l ftpget localhost
cygwin> passwd: <<<<---- (want to skip this prompt)
cygwin> ************ (shell script running)
cygwin> Connection closed.
cygwin>
[case 3] passwd prompt skipp away
-----------------------
cygwin->RedHat : rlogin
-----------------------
cygwin> rlogin -l ntt redhat
RedHat> (I can execute every thing here over RedHat)
RedHat> exit
cygwin> Connection closed.
cygwin>
<Editted files>
-----------------------
cygwin:/etc/passwd
-----------------------
ntt::1000:513::/home/ntt:/bin/bash
ftpget::1002:513::/root/pub/ftp:/root/pub/ftp/get.sh
-----------------------
Redhat:/etc/passwd
-----------------------
ntt::500:500::/home/ntt:/bin/bash
-----------------------
cygwin:/etc/hosts.equiv
-----------------------
Redhat
-----------------------
Redhat:/etc/hosts.equiv
-----------------------
cygwin
-----------------------
cygwin:/etc/hosts -> /mnt/WinNT/system32/drivers/etc/HOSTS
-----------------------
192.168.102.1 cygwin localhost
192.168.102.250 redhat
-----------------------
Redhat:/etc/hosts
-----------------------
192.168.102.250 redhat lcoalhost
192.168.102.1 cygwin
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list