home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10157 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.3 KB

  1. Xref: sparky comp.unix.questions:10157 comp.unix.programmer:4353
  2. Newsgroups: comp.unix.questions,comp.unix.programmer
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!tai50080
  4. From: tinsel@uiuc.edu (Thomas Aaron Insel)
  5. Subject: Re: regarding rlogin..
  6. References: <1992Aug18.174743.25074@njitgw.njit.edu>
  7. Message-ID: <Bt6zsJ.6Fn@news.cso.uiuc.edu>
  8. Originator: tai50080@uxa.cso.uiuc.edu
  9. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  10. Reply-To: tinsel@uiuc.edu
  11. Organization: {not speaking for the} University of Illinois at Urbana
  12. Date: Tue, 18 Aug 1992 18:38:42 GMT
  13. Lines: 22
  14.  
  15. cxk6819@hertz.njit.edu (K. Chandrakanth) writes:
  16.  
  17. > rlogin newark.njit.edu -l kanth
  18.  
  19. > it asks for the password. Instead of that is there any way we can`
  20. > give the password and rlogin commands in a shell script  and execute.
  21.  
  22. You don't need to put your password in a shell script.  Set up a
  23. ~/.rhosts file.  For example, on newark, include this line:
  24.  
  25.   hertz.njit.edu    cxk6819
  26.  
  27. and on hertz, have this line:
  28.  
  29.   newark.njit.edu    kanth
  30.  
  31. Then, you can use rlogin and never be asked for your password.  If 
  32. you have any questions, it's all in the manual.
  33. -- 
  34. Thomas Aaron Insel (tinsel@uiuc.edu)
  35.   I speak for myself, and not for the State or University of Illinois.
  36.   "We must not confuse dissent with disloyalty." -- Edward R. Murrow
  37.