Solved

Setting up netgroups file?

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now