- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing NIS when PWFILE=/etc/passwd.master
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
Discussions
Discussions
Forums
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
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
тАО08-21-2002 07:52 AM
тАО08-21-2002 07:52 AM
However, I have an alternate password file. The command "passwd -r files -F /etc/passwd.master
In SAM the NIS Users is not a complete list either. Am I missing a trick?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 08:25 AM
тАО08-21-2002 08:25 AM
Re: Changing NIS when PWFILE=/etc/passwd.master
# passwd -r files -F /etc/ypfiles/passwd
and it does not give me any error, it prompted for the new password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 08:49 AM
тАО08-21-2002 08:49 AM
Re: Changing NIS when PWFILE=/etc/passwd.master
When you are in SAM, do you see the full file? When prompted, I entered the name of the alternate passwd file and that I wanted it to use ypmake:
root@uk204:/> grep nis /var/sam/preferences/app_preference
ug_nis_pwd_file:/etc/passwd.master
ug_nis_map_cmd:ypmake
and yet SAM doesn't look right. I do have some entries from passwd.master that aren't in passwd, but only a few.
FYI, I am running in compat mode for passwd lookups, and I have the HP recommended escape in the /etc/passwd file. Some of my uids are high, i.e. 10300.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 08:51 AM
тАО08-21-2002 08:51 AM
Re: Changing NIS when PWFILE=/etc/passwd.master
I guess the passwd problem is just a symptom.
Any idea why my NIS Users lit is incomplete?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 09:06 AM
тАО08-21-2002 09:06 AM
Solution# pwck /etc/passwd.master
Any "suspicious" error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 12:08 AM
тАО08-22-2002 12:08 AM
Re: Changing NIS when PWFILE=/etc/passwd.master
I had run a pwck on the file beforehand, but in amongst the sea of messages about login directories and optional shells not being found, there was one about an invalid (null) GID that I had simply missed.
The NIS Users list is now complete, and the passwd command is working just as it should.
Thanks for your help!