- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with /var/yp/src/passwd nis login fails
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
тАО12-09-2008 05:39 PM
тАО12-09-2008 05:39 PM
Problem with /var/yp/src/passwd nis login fails
I have a problem with NIS login
i am not able to login using a normal nis user account on the nis master and any of the nis clients.
I am logged in as root
Following are the tests that i have done
On nis server
ypmatch nis_user passwd
ypmatch: can't match nis_user.
Reason: no such key in map
ypcat passwd | grep nis_user #does not give any output
ypcat passwd #shows me the local passwd file on nis server
Following processes are running on nis server
root 776 1 0 Nov 8 ? 36:17 /usr/lib/netsvc/yp/ypserv
root 809 1 0 Nov 8 ? 0:00 /usr/lib/netsvc/yp/ypbind
root 787 1 0 Nov 8 ? 0:00 /usr/lib/netsvc/yp/rpc.yppasswdd /etc/passwd -m passwd PWFILE=/
root 782 1 0 Nov 8 ? 0:00 /usr/sbin/ypxfrd
root 792 1 0 Nov 8 ? 0:00 /usr/lib/netsvc/yp/rpc.ypupdated
The NIS server has HPUX 11.11
The timestamp on /var/yp/src/passwd shows me Dec 9. I remember when i had created the last user account. I checked this passwd file and i find that user entry to be last.
Seems that someone has edited the /var/yp/src/passwd file manually. I am not sure. PLease also suggest how to check the consistency of /var/yp/src/passwd
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 07:48 PM
тАО12-09-2008 07:48 PM
Re: Problem with /var/yp/src/passwd nis login fails
I suppose you could try: pwck /var/yp/src/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 08:03 PM
тАО12-09-2008 08:03 PM
Re: Problem with /var/yp/src/passwd nis login fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 09:33 PM
тАО12-09-2008 09:33 PM
Re: Problem with /var/yp/src/passwd nis login fails
Does the machine know you are a NIS client?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 09:44 PM
тАО12-09-2008 09:44 PM
Re: Problem with /var/yp/src/passwd nis login fails
when i execute "ypwhich -m" on NIS master server and NIS client i get a perfect output.
The NIS server is also a NIS client
It is configured that way
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 10:01 PM
тАО12-09-2008 10:01 PM
Re: Problem with /var/yp/src/passwd nis login fails
I have a backup of file /var/yp/src/passwd
the difference between the old and new file is
A user was deleted. manually or using a script i am not sure.
This problem has arised after that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2008 11:34 PM
тАО12-09-2008 11:34 PM
Re: Problem with /var/yp/src/passwd nis login fails
Recreated the maps and pushed to all NIS clients.
NIS authentication works now.