Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting up netgroups file?

Posted on 1998-09-17
1
Medium Priority
?
229 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
1 Comment
 
LVL 4

Accepted Solution

by:
jlms earned 40 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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 …
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 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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

877 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