Hi all, I have set up /etc/exports (configured to my system IP info) as suggested by Karl (see below).
/home 192.168.0.0/255.255.255.0(rw,ro_root_squash) I still get "permission denied" by the server when I try to automount /home on the client machine. Further information about my system: I have a network with 5 clients, one firewall (Smoothwall, serving DHCP) and a network management box - referred to as the server. (Sputnik wireless access point to come next). domainname: evernet All machines have their hostname set correctly. All clients on static IP's with entries in the servers /etc/hosts files resolving 192.168.0.1 as workstation1.eversham.net etc. Smoothwall DHCP is configured appropriately - need DHCP for laptops. I can ping all machines with either name or IP address. NFS works fine on the server as I have been installing the clients from a NFS directory on the server. files on the server: yp.conf: domain evernet server management2.eversham.net ypserver.conf: # the only lines are dns: no *:shadow.byname:port:yes *:passwd.adjunct.byname:port:yes the server starts all the yp daemons fine, the clients pick up the NIS server fine on boot. I can ypwhich on the clients and find the server. In /etc/hosts.allow on the server I have: hosts allow 192.168.0.0/255.255.255.0 The problem remains that I cannot login as a system account from the login dialogue (Redhat7.1, KDE - no packages have been updated from the standard RH7.1 install disks), and when I automount tries to mount the servers /home directory on boot I get a "can't mount filesytem, permission denied) rgds, Nick Reese >From: "Nicholas Reese" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: FW: FW: [SLUG] NIS login problems >Date: Thu, 21 Mar 2002 08:32:09 +1000 > > > >rgds, > >Nick Reese > >Linux earns mindshare, Microsoft buys it... > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf >Of Karl Bowden >Sent: Wednesday, March 20, 2002 12:39 PM >To: [EMAIL PROTECTED] >Subject: Re: FW: [SLUG] NIS login problems > >My exports file is as follows: > >/home 10.0.0.0/255.255.255.0(rw,no_root_squash) >/var/cache/redcarpet 10.0.0.0/255.255.255.0(rw,no_root_squash) > >I know it is stupidly insecure, but it makes it easy for me inside the >network, and I have a IPTables set not to let it through to my net >connection. My internal home network is using dhcp for most settings >supplied by the server. > >Regards, > >Karl Bowden > >----- Original Message ----- >From: "Nicholas Reese" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, March 20, 2002 11:04 AM >Subject: Re: FW: [SLUG] NIS login problems > > > > Karl, > > > > I tried this option yesterday, and tried it again this morning as >suggested. > > Everytime I reboot or try to mount /home I get "permission denied" >from >the > > server. I am able to mount other directories (i.e. /tmp/linux which >has >all > > the rmp's in it) from the server. > > > > On the server my /etc/exports file reads: > > > > /tmp/linux *(ro) > > /home *.eversham.net(rw,all_squash) > > > > (note, I have also tried this with: > > /home *(rw) > > whithout luck ) > > > > how do you set up your /etc/exports?? > > > > rgds, > > > > Nick Reese > > > > > > >From: "Nicholas Reese" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > > >Subject: FW: [SLUG] NIS login problems > > >Date: Wed, 20 Mar 2002 03:29:41 +1000 > > > > > > > > > > > >rgds, > > > > > >Nick Reese > > > > > >Linux earns mindshare, Microsoft buys it... > > > > > >-----Original Message----- > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On >Behalf > > >Of Karl Bowden > > >Sent: Tuesday, March 19, 2002 6:02 PM > > >To: [EMAIL PROTECTED] > > >Subject: Re: [SLUG] NIS login problems > > > > > >X would apper to log in because it cannot find any files in the home > > >directory, and so it just restarts the X server. If you mount the >home > > >directory in the fstab file with something like: > > >10.0.0.1:/home /home nfs defaults 0 0 > > >Then the directory will be automatically mounted when you turn on the > > >computer. (that is the line i use in my fstab file anywhy. I also >mount > > >/var/cache/redcarpet, for all the computers on my home network. then >you > > >do > > >not have to download the packages for every computer when updating >them > > >with > > >redcarpet). > > > > > >Regards, > > > > > >Karl Bowden > > > > > > > > > > Hi all, > > > > > > > > Using Redhat 7.1 > > > > > > > > I have checked out what all the posibilies could be but I just >can't > > >seem > > >to > > > > crack it. > > > > > > > > NIS works fine. I can ypwhich from the clients and they pick up >the > > >server > > > > no probs. > > > > > > > > When I try to login at the GUI login dialog it accepts the login, > > >seems to > > > > be logging in (X flickers) then drops back out to the login >dialog. > > > > > > > > I put +:::::: in /etc/passwd and +::: in /etc/group and have >changed > > > > /etc/nsswitch to default to NIS on the client. > > > > > > > > Do I have to have auto.home and auto.master in the NIS maps? Do I >have > > >to > > > > automount /home on the client? > > > > > > > > If anyone has some ideas and example config files it would be >greatly > > > > appreciated. > > > > > > > > regards, > > > > > > > > Nick Reese > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > MSN Photos is the easiest way to share and print your photos: > > http://photos.msn.com/support/worldwide.aspx > > > > > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
