- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS password change, 10.20 -? 11.00 problems
Operating System - HP-UX
1753884
Members
7542
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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 11:26 AM
тАО07-31-2002 11:26 AM
Here's a weird problem that just came up on our systems.
We recently migrated out NIS server to an 11.00 machine from a 10.20 system. Everything works fine, or so we thought.
We have a system that we re-define the home directory on for some application. The password files for user "user1" looks something like this:
NIS_Server # ypcat passwd | grep user1
user1:gfdfg,2/OH:27888:20:Real Name:/net/computer1/home/user1:/usr/bin/csh
Other_System # cat /etc/passwd | grep user1
+user1::27888:20:Real Name:/home/user1:/bin/csh
When the NIS password expires and they change it on the other system, it over-writes the home directory on the NIS server. In fact, it overwrites the entire NIS entry!
It did not do this on our 10.2 server, and we can't figure out how to fix it. Any ideas?
We recently migrated out NIS server to an 11.00 machine from a 10.20 system. Everything works fine, or so we thought.
We have a system that we re-define the home directory on for some application. The password files for user "user1" looks something like this:
NIS_Server # ypcat passwd | grep user1
user1:gfdfg,2/OH:27888:20:Real Name:/net/computer1/home/user1:/usr/bin/csh
Other_System # cat /etc/passwd | grep user1
+user1::27888:20:Real Name:/home/user1:/bin/csh
When the NIS password expires and they change it on the other system, it over-writes the home directory on the NIS server. In fact, it overwrites the entire NIS entry!
It did not do this on our 10.2 server, and we can't figure out how to fix it. Any ideas?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 11:50 AM
тАО07-31-2002 11:50 AM
Solution
The system (client) that is initiates the yppasswd change, is it on 10.20 still or 11.0 ? I for the fact that this can happen on 10.20 but not 11.0 onwards. This can happen if you have the "+" syntax implemented. When the password changed is issued on the client it'll take the local entry and replaced the NIS entry. That is why the NIS password enty got changed. This has happened to me, in my case my "gecos" field on the NIS master password file always got changed whenever the user try to change his/her password. The workaround to this (for my case) is that on the NIS server side (/etc/rc.config.namesvrs) I appended an option "-nogecos" to the line "YPPASSWD_OPTIONS" and restart my NIS server and that will prevent overwrting of the gecos field in the master password file. The line looks like this ..
...
YPPASSWD_OPTIONS="-nogecos /etc/passwd -m passwd PWFILE=/etc/passwd"
....
So depending on what field in your password file that got changed, you can put additional options like ..
-noshell
-nohome
-nopw
Just remember to restart your NIS server "nis.server stop/start" after the change.
...
YPPASSWD_OPTIONS="-nogecos /etc/passwd -m passwd PWFILE=/etc/passwd"
....
So depending on what field in your password file that got changed, you can put additional options like ..
-noshell
-nohome
-nopw
Just remember to restart your NIS server "nis.server stop/start" after the change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 12:13 PM
тАО07-31-2002 12:13 PM
Re: NIS password change, 10.20 -? 11.00 problems
Hi there:
Just an addition to S.K's answer - If the other_system is running on 10.20 and if you are going to use the options (nogecos), then make sure that you have the NFS/NIS general patch installed on the system - PHNE_25234 and it's dependencies. I think these options were used by Sun before and you need to apply patches for HP to accept these values.
Also, check the patch level in the 11.0 system too.
HTH,
Shiju
Just an addition to S.K's answer - If the other_system is running on 10.20 and if you are going to use the options (nogecos), then make sure that you have the NFS/NIS general patch installed on the system - PHNE_25234 and it's dependencies. I think these options were used by Sun before and you need to apply patches for HP to accept these values.
Also, check the patch level in the 11.0 system too.
HTH,
Shiju
Life is a promise, fulfill it!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP