Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Mime-Version: 1.0 X-Sender: ogura AT orfe X-Mailer: Macintosh Eudora Pro Version 4.2.1-J Message-Id: Date: Mon, 18 Dec 2000 21:19:01 +0900 To: cygwin AT sources DOT redhat DOT com From: =?iso-2022-jp?B?GyRCJCokMCRpGyhC?= Subject: How to Skip the passwd prompt of rlogin Content-Type: text/plain; charset="us-ascii" Hello. How can I skip the password prompt when rlogin command succeed from remote host. Please someone tell me what can I do. =================================================== 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 =================================================== 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? [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> ----------------------- 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