[TriLUG] NFS,Autofs,NIS and FC2 - SOLVED

Kevin Flanagan kevin at flanagannc.net
Sun Jun 27 22:00:02 EDT 2004


Well, I figured out the problem by just stumbling around.


the no_root_squash statement either isn't valid with FC2, or is broken. 
I removed that from /etc/exports and it fixed the problem.  For my
little network with just one user, it's fine, I don't know enough about
securing file systems properly, especially NFS exported ones, to say
what I would do for a production server though.



Kevin

On Tue, 2004-06-08 at 19:09, Kevin Flanagan wrote:
> Hey all,
> 	I currently have the following issue that may be related to changes
> with FC2.  The config outlined below works just fine with FC1, but
> doesn't completely work with FC2, I can't figure it out.
> 
> 
> A Clarkconnect system as my master NFS and NIS server
> uname -a yields "2.4.20-28.9 #1 Thu Dec 18 13:45:22 EST 2003 i686 i686
> i386 GNU/Linux" - This is 192.168.0.206
> 
> I have an exports as such,
> 
> /kits           192.168.0.0/255.255.255.0(rw,sync,no_root_squash)
> /home           192.168.0.0/255.255.255.0(rw,sync,no_root_squash)
> 
> 
> /kits is mounted as /kits on all systems
> /home is mounted as /homes/users
> 
> auto.misc is as follows
> kits            -rw,soft,intr 192.168.0.206:/kits
> stuff           -rw,soft,intr 192.168.0.108:/stuff
> 
> 
> auto.homes is as follows
> users   -rw,soft,intr,no_root_squash  192.168.0.206:/home
> 
> 
> auto.master is as follows
> /misc   /etc/auto.misc  --timeout=60
> /homes  /etc/auto.homes --timeout=60
> 
> 
> 
> My NIS map has my home directory as /homes/users/kevin
> 
> 
> 
> I can log into the FC2 system as root just fine, when I try to log on as
> myself I get told that my homedir isn't available.  When I log on as
> root I have the stuff under /misc available just fine, kits under it
> etc.
> 
> Did something change with FC2 that would make this break?
> 
> 
> TIA!!!
> 
> 
> 
> Kevin
> 
> 
-- 

+--------------------------------------------------------------+
If you never see anything that offends you, you aren't living in a free
society

Kim Campbell - Former Canadian Prime Minister




More information about the TriLUG mailing list