home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:10157 comp.unix.programmer:4353
- Newsgroups: comp.unix.questions,comp.unix.programmer
- 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
- From: tinsel@uiuc.edu (Thomas Aaron Insel)
- Subject: Re: regarding rlogin..
- References: <1992Aug18.174743.25074@njitgw.njit.edu>
- Message-ID: <Bt6zsJ.6Fn@news.cso.uiuc.edu>
- Originator: tai50080@uxa.cso.uiuc.edu
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Reply-To: tinsel@uiuc.edu
- Organization: {not speaking for the} University of Illinois at Urbana
- Date: Tue, 18 Aug 1992 18:38:42 GMT
- Lines: 22
-
- cxk6819@hertz.njit.edu (K. Chandrakanth) writes:
-
- > rlogin newark.njit.edu -l kanth
-
- > it asks for the password. Instead of that is there any way we can`
- > give the password and rlogin commands in a shell script and execute.
-
- You don't need to put your password in a shell script. Set up a
- ~/.rhosts file. For example, on newark, include this line:
-
- hertz.njit.edu cxk6819
-
- and on hertz, have this line:
-
- newark.njit.edu kanth
-
- Then, you can use rlogin and never be asked for your password. If
- you have any questions, it's all in the manual.
- --
- Thomas Aaron Insel (tinsel@uiuc.edu)
- I speak for myself, and not for the State or University of Illinois.
- "We must not confuse dissent with disloyalty." -- Edward R. Murrow
-