[Samba] hosts.equiv and .rhosts
Mohammed.Al-Shabib at bakerhughes.com
Sun Aug 10 06:00:36 GMT 2003
No it is related to samba configuration I know it is special for UNIX cuz I use them in UNIX but you can configure your samba to take the host name from the hosts.equiv and username from .rhosts
This is the samba man page about hosts.equiv And .rhosts
hosts equiv (G)
If this global parameter is a non-null string, it specifies the name of a file to read for the names of hosts and users who will be allowed access without specifying a password.
This is not be confused with hosts allow which is about hosts access to services and is more useful for guest services. hosts equiv may be useful for NT clients which will not supply passwords to Samba.
NOTE : The use of hosts equiv can be a major security hole. This is because you are trusting the PC to supply the correct username. It is very easy to get a PC to supply a false username. I recommend that the hosts equiv option be only used if you really know what you are doing, or perhaps on a home network where you trust your spouse and kids. And only if you really trust them :-).
Default: no host equivalences
Example: hosts equiv = /etc/hosts.equiv
use rhosts (G)
If this global parameter is true, it specifies that the UNIX user's .rhosts file in their home directory will be read to find the names of hosts and users who will be allowed access without specifying a password.
NOTE: The use of use rhosts can be a major security hole. This is because you are trusting the PC to supply the correct username. It is very easy to get a PC to supply a false username. I recommend that the use rhosts option be only used if you really know what you are doing.
What I need to know is the formula for the files how to write the hostnames and usernames in these 2 files
Mohammed Al-Shabib Baker Hughes.com Tel. (+973) 586000 Fax (+973) 580626 P.O. box 18199, Manama, Bahrain My E-Mail
Baker Hughes Geoscience
From: robowarp at gmx.de [mailto:robowarp at gmx.de]
Sent: Saturday, August 09, 2003 11:42 PM
To: Al-Shabib, Mohammed
Subject: Re: [Samba] hosts.equiv and .rhosts
these files are related to a unix system not special for samba, use man file hosts or describe what is your target to develop to samba and these files
> How to use hosts.equiv and .rhosts in samba and can you please send me
> an example of them
> Mohammed Al-Shabib Baker <http://www.bakerhughes.com/> Hughes.com
> (+973) 586000 Fax (+973) 580626 P.O. box 18199, Manama, Bahrain My
> <mailto:Mohammed.Al-Shabib at bakerhughes.com> E-Mail
> Baker Hughes Geoscience
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
More information about the samba