- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't update passwd using 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-13-2003 08:34 PM
09-13-2003 08:34 PM
Can't update passwd using NIS
I added a user in passwd in the NIS master and I tried updating NIS by /var/yp/ypmake. But whenever I do a ypcat hosts I do not see the new user in the NIS master although I can see it in /etc/passwd.
Can someone please help me solve the problem.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2003 10:26 PM
09-13-2003 10:26 PM
Re: Can't update passwd using NIS
Maybe you need to push out the master password file.
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
09-13-2003 11:07 PM
09-13-2003 11:07 PM
Re: Can't update passwd using NIS
Can I confirm that you are actually doing a ypcat passwd as opposed to a ypcat hosts as mentioned in your question.
If it's a typo then further investigation is needed
When you update the password file do you
cd /var/yp
make passwd
Are you on the master,slave or client when you attempt to view the new passwd file ?
Have you checked syslog , dmesg for any errors at the time of making the push ?
There is one solution to a similar problem below
There is a possibilty that ypxfr is confused, because copies of the new map do not exist on one of your NIS slaves. You must manually copy the maps. This can be done by copying /var/yp/`domainname`/map.* from the master to /var/yp/`domainname` on each of the slaves, using either rcp or ftp.
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2003 12:24 AM
09-14-2003 12:24 AM
Re: Can't update passwd using NIS
Have a read through this doc also
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-938907319+1063527689017+28353475&docId=200000062922437
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2003 10:02 AM
09-14-2003 10:02 AM
Re: Can't update passwd using NIS
I apologize for the confusion.
I am trying to update passwd and not hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2003 10:19 AM
09-14-2003 10:19 AM
Re: Can't update passwd using NIS
I did ypmake in NIS master but when I do ypcat passwd in NIS master I don't see the new user I created.
For example,
In /etc/passwd a user is present but when I do ypcat passwd I don't see user a.
I don't see any map file/directory in /var/yp/abc/map.* in NIS master.
May I please know how to I update ypcat passwd of the NIS master so that it will be the same as its own /etc/passwd.
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 07:15 AM
09-19-2003 07:15 AM
Re: Can't update passwd using NIS
We were able to solve the problem by reconfiguring the NIS in master and slave.
Thanks.