Solved

Setting up netgroups file?

Posted on 1998-09-17
1
225 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 109
SSH commands for Nas4free 21 496
Tracking which app / process changes permission of a file in SOlaris 10 4 133
help pulling data string using Awk 9 80
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

735 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