- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Password changing as a NIS client.
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
07-31-2002 05:40 AM
07-31-2002 05:40 AM
I have a problem to change user passwd.
The users are trying to change password as NIS clients, when typing passwd in his account, the user get a message:
"Couldn't change passwd/attributes for user".
We tried this too: passwd -r nis user, but we got the same error.
The NIS server is B1000, running 11.11.
Only as root, I can change the user password by typing:
/usr/bin/passwd -r files -F /var/yp/src/passwd username.
What to do for changing the user passwd, as a user?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 05:43 AM
07-31-2002 05:43 AM
Re: Password changing as a NIS client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 05:44 AM
07-31-2002 05:44 AM
Re: Password changing as a NIS client.
Have you tried this command yppasswd which is used to change an NIS password?
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 05:55 AM
07-31-2002 05:55 AM
Re: Password changing as a NIS client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 06:01 AM
07-31-2002 06:01 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 06:05 AM
07-31-2002 06:05 AM
Re: Password changing as a NIS client.
First make sure that your ypservers maps are correct. The master server should be listed first. If not, on the master edit the file "/var/yp/ypservers". this map is only made at ypinit -m phase, so you'll have to manualy make the map like so:
cd /var/yp/"mydomain"
makedbm ../ypservers ypservers
Make sure to transfer this map to slaves if there are any.
Next, remove NIS from the clients, and re-connect them to the domain. Also make sure that nsswitch.conf is setup correctly.
Last, make sure to put the + in passwd and group. I.E.
+::0:0::: or +::-1:-1::: in passwd and +::0: or +::-1: in group.
NOTE: If their is a "+::-1:-1::" in /etc/passwd, local passwd will work, but you will not be able to add local ID's.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 06:13 AM
07-31-2002 06:13 AM
Re: Password changing as a NIS client.
yppasswd should be the only command used to modify NIS users' passwords.
Check to see if yppasswd is up and running on the NIS master server.
In addition, check if the /etc/ptmp file exists on the NIS master server. If so, remove it in order for the yppasswdd to function properly and try to change passwd using yppasswd again.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 06:29 AM
07-31-2002 06:29 AM
Re: Password changing as a NIS client.
you should be using yppassed to change the password of a NIS user. The passwd command will try to change the password of the user on the local system only.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 10:01 PM
07-31-2002 10:01 PM
Re: Password changing as a NIS client.
sorry for the late respond, it was to late, I went home to sleep.
My problem was solved. I get the clue from Clay (thank you Clay).
I changed a line in /etc/rc.config.d/namesvrs in the NIS server, from original line to this line:
YPPASSWDD_OPTINS="/var/yp/src/passwd -m passwd DIR=/var/yp/src".
Now it works fine and the users can change the password.