Unix Technical Forum

What would happen if i entry only host name in .rhosts file?

This is a discussion on What would happen if i entry only host name in .rhosts file? within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi, What would happen if i write a host name (not any user) in .rhosts file? Does all the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-20-2008, 12:40 PM
script4geek
 
Posts: n/a
Default What would happen if i entry only host name in .rhosts file?

Hi,

What would happen if i write a host name (not any user) in .rhosts
file? Does all the user get access to my system from that host or only
root from that system gets the access to my system?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-20-2008, 12:40 PM
Casper H.S. Dik
 
Posts: n/a
Default Re: What would happen if i entry only host name in .rhosts file?

script4geek <script4geek@gmail.com> writes:

>What would happen if i write a host name (not any user) in .rhosts
>file? Does all the user get access to my system from that host or only
>root from that system gets the access to my system?


Just the hostname equals to granting access to the user with the same
name on the remote host (so root for /.rhosts and user for ~user/.rhosts)

So just a list of hostnames is just "fine" (except that you really ought to
be using ssh)

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-29-2008, 08:16 PM
Andreas Buschmann
 
Posts: n/a
Default Re: What would happen if i entry only host name in .rhosts file?

Casper H.S. Dik <Casper.Dik@sun.com> wrote:

> (except that you really ought to be using ssh)


mostly yes, but the ssh documentation ist not complete e.g. for cases
like:
I have to copy lots of data to another host, and i want
the login encrypted, but I do not want the volume data
encrypted (like for backup and restore).

Regards
Andreas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:18 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com