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
Solved

Setting up netgroups file?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

828 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