LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-31-2002, 11:12 PM   #1
Newbulus_Maximu
LQ Newbie
 
Registered: Aug 2002
Location: Canada
Distribution: Redhat 7.3
Posts: 15

Rep: Reputation: 0
rlogin and .rhosts/.hosts.eqiv?


I know rlogin is an antiquated and insecure form of accessing clients, but I was reading up on rlogin. It seems you can control who access your machine by your $HOME/.rhosts and /etc/.hosts.equiv. Supposely, you can use these files to permitt who can and can't enter a machine, ie. establishing one or two way trust.

To permit a user, you would have to add, '+ username', to permit username to access a machine from anymachine, or, 'machinename', to permit anyone from accessing the client from machinename. If you allow this access, you won't get prompted for a pass.

To attempted to try this out by adding myself, then logging-in to confirm if I was prompted for a pass. THe results were I was prompted for a pass - I should have had access.

I'm I missing something? Did they change the rules? or did I do somthing wrong?
 
Old 09-01-2002, 06:41 PM   #2
klickibunti
LQ Newbie
 
Registered: Aug 2002
Distribution: Red Hat Psyche
Posts: 18

Rep: Reputation: 0
do a "+" in your .rhosts in the homedirectory. Now every person shoud be able to connect to your host... if it works or not you can isolate your problem

just my two cents
 
Old 09-01-2002, 07:35 PM   #3
Newbulus_Maximu
LQ Newbie
 
Registered: Aug 2002
Location: Canada
Distribution: Redhat 7.3
Posts: 15

Original Poster
Rep: Reputation: 0
I did, but I put a '+ myself' ie. allow myself to access the machine from any machine - the '+' is a wildcard right? And the first column represents the machine? and the second the username?

I was thinking I'd have entry without get prompted for a password, but I get prompted one.
 
Old 09-02-2002, 01:58 AM   #4
klickibunti
LQ Newbie
 
Registered: Aug 2002
Distribution: Red Hat Psyche
Posts: 18

Rep: Reputation: 0
this file is for writing the trustet hosts. Write the hostname of your trustet host and you are not promtet for a password! yes + is a wildcard for any hosts on the network
 
Old 02-24-2003, 11:33 PM   #5
amf57
LQ Newbie
 
Registered: Feb 2003
Posts: 22

Rep: Reputation: 15
linux rlogin

Take a look at the man page. I believe if you are being prompted for a password, .rhosts isn't going to help ya. Youi need to create a .khosts file in the same manner as the usual .rhosts. You shouldn't be prompted for a password at that point.
 
  


Reply



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
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
can't locate .rhosts file uerden Linux - Networking 2 02-03-2004 11:43 AM
can't locate .rhosts file uerden Linux - General 3 02-03-2004 11:09 AM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
IP in rhosts not working shameless Linux - General 3 07-05-2002 08:00 PM

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

All times are GMT -5. The time now is 09:52 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
Open Source Consulting | Domain Registration