HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how can i create a new user on NIS client
Operating System - HP-UX
1834236
Members
2288
Online
110066
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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-09-2006 03:03 AM
02-09-2006 03:03 AM
how can i create a new user on NIS client
I need a test UserID and a test User Group created on my server i.e. NIS client for some application testing.
suppose my user name is test_user & group name is test_group.
how i will create this?
Please suggest
thanks
praveen
suppose my user name is test_user & group name is test_group.
how i will create this?
Please suggest
thanks
praveen
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 03:16 AM
02-09-2006 03:16 AM
Re: how can i create a new user on NIS client
Your question indicates the nature of your problem. Only a local user can be created on an NIS client and it is done just as any other user is created.
If on the other hand what you really mean is how do I create an NIS user then the answer is that you create the user on the NIS master server by inserting the user in the passwd source file. It might be /etc/passwd on your NIS master but that entirely depends upon your setup. It's also very common to have the users' home directories under the control of the automounter so you also have to update the automount map and create a home directory on the target machine. You then have to update the NIS maps by doing a ypmake. Normally, you change the various source files and then simply issue a 'make' command from the /var/yp directory but all of this depends upon how YOUR NIS system is setup.
You still seem to want cookie-cutter answers to questions that just don't have them. You really, really need to get some NIS materials and study them.
If on the other hand what you really mean is how do I create an NIS user then the answer is that you create the user on the NIS master server by inserting the user in the passwd source file. It might be /etc/passwd on your NIS master but that entirely depends upon your setup. It's also very common to have the users' home directories under the control of the automounter so you also have to update the automount map and create a home directory on the target machine. You then have to update the NIS maps by doing a ypmake. Normally, you change the various source files and then simply issue a 'make' command from the /var/yp directory but all of this depends upon how YOUR NIS system is setup.
You still seem to want cookie-cutter answers to questions that just don't have them. You really, really need to get some NIS materials and study them.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 08:54 AM
02-13-2006 08:54 AM
Re: how can i create a new user on NIS client
Praveen,
In addition to what Mr. Stevenson said, I would refrain from using 'unusual' characters in user ids. While an underscore (_) is premissible, under the rule of passwd entries, I would avoid it. From man passwd(1):
" WARNINGS
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters."
While I realize that this has to do with the password itself, it's my feeling that this should also extend to the userid as well.
There is a valuable resource available on the HP docs website:
http://docs.hp.com/en/5991-1154/index.html
Read and learn!
Regards,
Mark
In addition to what Mr. Stevenson said, I would refrain from using 'unusual' characters in user ids. While an underscore (_) is premissible, under the rule of passwd entries, I would avoid it. From man passwd(1):
" WARNINGS
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters."
While I realize that this has to do with the password itself, it's my feeling that this should also extend to the userid as well.
There is a valuable resource available on the HP docs website:
http://docs.hp.com/en/5991-1154/index.html
Read and learn!
Regards,
Mark
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 2025 Hewlett Packard Enterprise Development LP