- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cant Change Passwd
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-04-2001 11:52 AM
09-04-2001 11:52 AM
Cant Change Passwd
I'm in a NIS envionment and for some reason, am no longer able to change passwords using passwd, or yppasswd commands. This has worked in the past, but came in today and it was defunt. Returns with the following error:
[user1@a_server]% passwd
Changing password for user1
Changing NIS password for user 'user1'
Old password:
New password:
Re-enter new password:
yppasswd: attempting to change password on NIS master a_server
yppasswd: couldn't change NIS password for 'user1'--problem with NIS maps on server a_server
[user1@a_server]%
Like I said, this worked a couple days ago, but not now. I can manually vi the passwd file and make it and it works, I just cant change using passwd or yppasswd anymore.. Arghh!
Any and all help appreciated.
PEte
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 11:54 AM
09-04-2001 11:54 AM
Re: Cant Change Passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 11:59 AM
09-04-2001 11:59 AM
Re: Cant Change Passwd
I'm surprised that you are trying to change a passwd using vi. My first cut at this would be to login as root on the NIS server and do a pwck. If the passwd file itself is corrupt then that could cause all your problems. If pwck reports that all is well, I would issue a passwd command on the NIS server. If that is ok, cd to /var/yp and do a make. You should then see any errors that remain.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 12:04 PM
09-04-2001 12:04 PM
Re: Cant Change Passwd
Thanks,
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 12:26 PM
09-04-2001 12:26 PM
Re: Cant Change Passwd
The machine I'm on, (the NIS Master) was just rebooted in an attempt to clear the problem, but that yeilded neg results as well..
Any thoughts appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 12:56 PM
09-04-2001 12:56 PM
Re: Cant Change Passwd
If you haven't tried it on the server, can you give it a shot and let us know what happens?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 12:58 PM
09-04-2001 12:58 PM
Re: Cant Change Passwd
Did you try the "ypmake" rather than the "make"?
Is NIS ok in other aspects, i mean other than this problem, does everything seem ok? Also is the rpc.yppasswd daemon running?
Since you are trying this on the NIS server anyway, did you try "passwd -r files"
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 01:21 PM
09-04-2001 01:21 PM
Re: Cant Change Passwd
I've tried passwd and yppasswd on both the NIS Master, and several clients; all failing with the same error message. Also, all other NIS functionallity seems to be running as per normal.
Ramesh,
Not sure about your -r files passwd switch. Man passwd (yppasswd) doesn't list that as valid on my 10.20 box. (It does on my Sun box though...) Also, the rpc.yppasswdd daemon is running.
Further thoughts appreciated!
Thanks,
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 01:27 PM
09-04-2001 01:27 PM
Re: Cant Change Passwd
Just so we are not overlooking the obvious, do a bdf and make sure that we are not dealing with full filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 01:40 PM
09-04-2001 01:40 PM
Re: Cant Change Passwd
The errors are indicating a problem with the NIS maps.
1. Did you run /usr/sbin/pwck
2. touch your password file
"touch /etc/passwd "
3. and then run ypmake
"/var/run/ypmake"
Do you see any errors when you run ypmake?
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 02:11 PM
09-04-2001 02:11 PM
Re: Cant Change Passwd
-uus:*:-24:-24:::
Invalid UID
Invalid GID
+::-24:-24:::
Invalid UID
Invalid GID
However, I'm unsure of how to interpret this...
Could this be the culprit?
(before i did pwck on the /var/yp/src/passwd file)
As far as disk being full.. negative.. lots of space avail...
Your thoughts on the pwck results appreciated...
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 02:17 PM
09-04-2001 02:17 PM
Re: Cant Change Passwd
ypmake complete: no errors encountered.
pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 02:21 PM
09-04-2001 02:21 PM
Re: Cant Change Passwd
Looks like you are using the passwd file /var/yp/src/passwd for the NIS maps, in which case do
touch /var/yp/src/passwd
/var/yp/ypmake
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 02:38 PM
09-04-2001 02:38 PM
Re: Cant Change Passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 03:01 PM
09-04-2001 03:01 PM
Re: Cant Change Passwd
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 05:43 AM
09-05-2001 05:43 AM
Re: Cant Change Passwd
It could be that the passwd command got corrupted somehow. Grab a backup tape from when it worked and pull off the /etc/passwd command (rename the current just to be safe). Maybe that will fix things. Maybe not, but it's a thought.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 07:43 AM
09-05-2001 07:43 AM
Re: Cant Change Passwd
Once again, thanks for all your feedback on this issue...
Pete