GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: proper syntax for /etc/netgroup file
Operating System - HP-UX
1850630
Members
6058
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2001 12:09 PM
02-02-2001 12:09 PM
hey all,
thanks to jfr for all his help so far. he's another NIS newbie question:
my box won't boot b/c of improper syntax in my /etc/netgroup file. i only have one entry, and i can't figure out what i'm doing wrong.
here's what i have:
mygroup (sun1,,mydomain) (sun2,,mydomain) (hp1,,mydomain) (hp2,,mydomain) (dec1,,mydomain)
i have it all on one line. in my terminal it does wrap at the last triple. do i need a \ ?
do i need commas in between the triples?
help... thanks!!
thanks to jfr for all his help so far. he's another NIS newbie question:
my box won't boot b/c of improper syntax in my /etc/netgroup file. i only have one entry, and i can't figure out what i'm doing wrong.
here's what i have:
mygroup (sun1,,mydomain) (sun2,,mydomain) (hp1,,mydomain) (hp2,,mydomain) (dec1,,mydomain)
i have it all on one line. in my terminal it does wrap at the last triple. do i need a \ ?
do i need commas in between the triples?
help... thanks!!
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2001 06:05 PM
02-02-2001 06:05 PM
Solution
It looks okay to me so far, however there are many concerns. Namely how name resolution occurs. The syntax is as you have it.
netgroup (host, user, domain) (h, u, d)
If the line goes past your screen, I would recommend turning on wrapp! I have used backslashes to continue lines too but have not in a while because of NIS complaining.
Depending on what is going on and what you are using netgroups for remember that auth(name resolution) works differently. It is best to create two entries if your using DNS for each host. I.E.
grp1net (host1, , domain) (host2, , domain)
grp2nonet (host1, , ) (host2, , )
This covers you especially for NFS authorization when mounts are requested
Regards,
Shannon
netgroup (host, user, domain) (h, u, d)
If the line goes past your screen, I would recommend turning on wrapp! I have used backslashes to continue lines too but have not in a while because of NIS complaining.
Depending on what is going on and what you are using netgroups for remember that auth(name resolution) works differently. It is best to create two entries if your using DNS for each host. I.E.
grp1net (host1, , domain) (host2, , domain)
grp2nonet (host1, , ) (host2, , )
This covers you especially for NFS authorization when mounts are requested
Regards,
Shannon
Microsoft. When do you want a virus today?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP