Solved

Setting up netgroups file?

Posted on 1998-09-17
1
226 Views
Last Modified: 2013-12-16
Currently client1 and client2 mount /export/home from the server using :-

share -F nfs rw=client1:client2 /export/home
(on the server)

When I use the /etc/netgroup file and then push it to the clients (nis):-

allclients  (client1,-,-),(client2,-,-)

and change
share -F nfs rw=allclients   /export/home
(on server)

I get "permission denied" when I try to mount it on the clients. However, the clients do get the netgroup file (ypcat netgroup on the client shows this)

What else am I forgetting to do here?

0
Comment
Question by:monish73
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
jlms earned 20 total points
ID: 1812188
First of all you have an error in the sintaxis, your netgroups file should read:

allclients  (client1,-,-) (client2,-,-)

the commma between the definition of your machines is not necessary (actually is wrong), each definition should be separated by spaces or tab characters.

   
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question