- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS+ group add
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Community
Resources
Forums
Blogs
- 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
06-11-2009 07:49 AM
06-11-2009 07:49 AM
I have NIS+ installed in my HP-UX 11.23 box. I have to add one group(2291:Netadm) in the NIS+ group tables. Can anyone provide me the procedure to do this.
Thanks
vishu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 08:50 AM
06-11-2009 08:50 AM
Re: NIS+ group add
You can try following commands to update NIS maps:
#/var/yp/ypmake
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 08:52 AM
06-11-2009 08:52 AM
Re: NIS+ group add
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 08:57 AM
06-11-2009 08:57 AM
Re: NIS+ group add
Every time you change a user, reset the password or add a group, ypmake must be run to get this configuration out to the NIS slave servers.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 10:57 AM
06-11-2009 10:57 AM
Re: NIS+ group add
I have NIS+, not NIS. As i know, we have different command sets to use in NIS+. Also, i am confused in one things as :-
1. I am going to add one group to the server.
2. As after group addition, i will have to update the NIS+ table. will it update all the groups on the /etc/group to NIS+ group table or it will append only the change i.e. new group added, to the NIS+ group table.
As i have lots of difference in my /etc/group and NIS+ group table. some groups which exists in NIS+ group table do not exists in /etc/group file. So, please suggest on this and provide the procedure to do this on NIS+.
Thanks
Vishu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 01:33 PM
06-11-2009 01:33 PM
Re: NIS+ group add
but, ...
> [...] will it update all the groups on the
> /etc/group to NIS+ group table [...]
NIS (and, I assume, NIS+) will not change
any /etc/group files. (Or /etc/passwd files,
or any other such files.) NIS[+] maintains
its own data base, and NIS[+] client systems
can get data from it. Any system can get
data from its own /etc/XXXX files, too.
/etc/nsswitch.conf should say who looks for
what, where, and when.
In NIS, one makes changes to the master
/etc/XXXX (or similar) file, and does a
"ypmake" to propagate the new info into the
NIS data base (and to "yppush" it all out to
any slave servers).
I don't know where NIS+ gets its input, but,
knowing nothing, "nispopulate" seems to me to
be the closest NIS+ thing to "ypmake".
"man nis+" should say something.
http://docs.hp.com/en/B2355-60103/nis+.1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 03:53 PM
06-11-2009 03:53 PM
Re: NIS+ group add
Thanks for your reply. But my question was that if i make any chages to /etc/group, and then populate it to NIS+, will only the change will be populated to NIS+ or it will recreate or overwrite the complete NIS+ group table.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2009 09:12 PM
06-11-2009 09:12 PM
SolutionI know nothing, but "man nisaddent" says:
[...]
Options
-a
Add the file or map to the NIS+ table without deleting any existing entries. This option is the
default. Note that this mode only propagates additions and modifications, not deletions.
[...]
-r
Replace the file or map in the existing NIS+ table by first deleting any existing entries, and
then add the entries from the source (/etc files, or NIS+ maps). This option has the same
effect as the -m option. The use of this option is strongly discouraged due to its adverse
impact on performance, unless there are a large number of changes.
[...]
nispopulate seems to have a similar default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2009 04:26 PM
06-15-2009 04:26 PM
Re: NIS+ group add
This is really a helpful information. It clears my confusion.
so, closing this thread.
Thanks again.