- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding user accts in NIS
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
09-19-2001 05:28 AM
09-19-2001 05:28 AM
Adding user accts in NIS
I am not clear on adding a new user on a system that uses NIS.
I have several workstations that use NIS for auth and resolution.
When I need to add a new user, do I do the addition from the master NIS server or do I need to add the user at each workstation?
I am sorry if this is a basic question.
Thanks,
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 05:34 AM
09-19-2001 05:34 AM
Re: Adding user accts in NIS
If you added the user on the clients, you have essentially defeated the purpose of using NIS. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:05 AM
09-19-2001 06:05 AM
Re: Adding user accts in NIS
In addition to adding the user on the NIS server and pushing out the maps, remember to make the user's home directory available on the client.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:10 AM
09-19-2001 06:10 AM
Re: Adding user accts in NIS
The easiest method is to add the user in your normal fashion on the NIS master server. You then cd to /var/yp and 'make' to rebuild and push the maps. However, this does not create the user's home directory on the client boxes. You will need to do that using rcp, remsh, or some other method taking care to properly set proper permissions and ownerships. If you are using the automounter to manage the users home directory, then you only have to create the home directory on one machine and then no matter on which client the user logs in, he has only one home directory which may in fact be on a machine far away. The only time this method gets tricky is if your are supported many different flavors of platforms and many flavors of UNIX and a given user can login anywhere. The .profiles get rather tricky in that case but it can be done.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:26 AM
09-19-2001 06:26 AM
Re: Adding user accts in NIS
We hard mount the users home directories nfs to one system. It actually happens to be the NIS master server also so when a user logs in to the client, they are pointed to the hard mount for the users home directories.
If I am understanding what happens when I create a new user, the passwd file is updated on the NIS master server and then when I remake the maps, that information becomes available to the clients in the network. Being the fact that the users home dirs are a mount on the client, I am all set.
Craig