![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question (regular expression related) | metalwarrior | UNIX for Dummies Questions & Answers | 1 | 02-03-2008 11:51 PM |
| signals related question | ninjanesto | High Level Programming | 2 | 02-13-2007 02:43 PM |
| a math related question | jahjah | Shell Programming and Scripting | 9 | 09-13-2004 10:56 AM |
| 1st post here! directory related question ( // )... | MrOrange | UNIX for Dummies Questions & Answers | 2 | 06-26-2002 09:21 PM |
| A Question related to the net | sskb | UNIX for Dummies Questions & Answers | 8 | 10-03-2001 09:37 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
One Question related to alias
Hello,
I have created following alias in csh lab 'rlogin -l user23 complab23' but problem is complab23 does not allow automatic login by checking .rhosts file. So after typing lab on command line I have to type complicate password and if wrong password is typed thrice then account gets locked. Could someone suggest me another solution ? Is there any way to create shell script which will login to this complab23 server usign user23 account and then return control to my terminal,. something llike below rlogin -l user23 complab23 << EOF passw0rd!!! EOF command which will make shell interactive and return control to terminal. |
|
||||
|
Use ~/.rhosts
You could try creating an .rhosts file under your home directory of the target machine with name of the machine from which you attempt to make the connection.
Code:
cat /home/user/.rhosts HostFromWhichDoRlogin YourUsername Thanks Nagarajan G |
|
||||
|
Like you got this above:
SSH with Authentication keys This is how you should do it. And remember - if you keep your password in plain text then it is almost like you are creating a public account where anyone can log-in. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|