LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-09-2008, 06:07 AM   #1
oknets10
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Rep: Reputation: 0
rlogin without a password


Hello all,

I'm trying to do rlogin without a password (insecure, I know) on Wind river Linux distrubition 1.5, the Linux is 2.6.14.
The deamon (in.rlogind) is running on 192.168.1.2 and the client on 192.168.1.1.
I did all the configuration I have found that needed as follow, but still, password is always required for both root and other users:

In file /etc/hosts:
127.0.0.1 localhost localhost.localdomain
192.168.1.1 slot1
192.168.1.2 slot2

In file /etc/hosts.equiv:
localhost
slot1
slot2

In users root and others home directory .rhosts file:
localhost
slot1
slot2

added rlogin line in etc/securetty for root rlogin.

I did all the above in both the server & client, but still password is always required.

Any idea why ?

Thanks
Omri
 
Old 03-09-2008, 08:54 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I'm trying to do rlogin without a password (insecure, I know)
So why do you want to? Not only do you want remote access without authentication - you want it as root. Linux won't let you... why? Because it is a really dumb idea - that's why!

Why not use ssh instead? IIRC: You can use ssh-agent to avoid having to enter passwords (the agent handles this for you.)
 
Old 03-10-2008, 06:07 AM   #3
oknets10
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge View Post
So why do you want to? Not only do you want remote access without authentication - you want it as root.
I first try not as root and when it didn't work I have tried as root.
Quote:
Originally Posted by Simon Bridge View Post
Linux won't let you... why? Because it is a really dumb idea - that's why!
The dumb idea do work (at least for root, for some reason it still not working for other users), I simply forgot the -h option in the daemon activation.

Quote:
Originally Posted by Simon Bridge View Post
Why not use ssh instead? IIRC: You can use ssh-agent to avoid having to enter passwords (the agent handles this for you.)
The rlogin will be used in an internal part of a system, anyway I will try today the ssh.
 
Old 03-10-2008, 12:40 PM   #4
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
I'm assuming he wants to do something scripted, which means ssh-agent might not be usable either. Thankfully ssh allows you to use _keys_ instead of passwords for authentication, which makes this possible without the (moderately insane) need for trying to have something authenticate with no password at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsh , Rlogin Without password shan_nathan Linux - Security 8 08-18-2007 02:21 AM
Why can't rlogin sunhui Linux - Software 1 09-30-2006 04:59 AM
Cannot rlogin without password davepal Linux - Networking 4 04-21-2004 10:20 AM
rlogin as root without password lapthorn Linux - Security 3 02-05-2004 11:43 PM
Rlogin promts for password adme Linux - Networking 1 03-07-2003 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration