- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Delay in user password change 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
12-03-2002 08:14 AM
12-03-2002 08:14 AM
Delay in user password change using NIS
We have a NIS master and clients.
A new user signs on to a client and is required to change his password per the way we set up the account.
The system asks for his old NIS password and then a new password and confirmation.
The system then asks the user to login again and here is where the trouble occurs--- If the user does this right away, the system will not accept the new password but expects the old one. The new password never takes effect and the user is not forced to change his password till the expiration period we have set up. However, if the user waits about 5 minnutes and then re-logins in, the new password is in effect. I tested the time delay thing quite a bit and it seems to be about 5 minnutes.
We have a fairly large (about 1000 users) passwd file on the NIS master.
I assume this delay is the time it is taking the NIS master to process the yppasswd data issuef from the client.
Having to wait 5 min to relog in after someone changes their password is not a good thing. Is there some way to reduce (or practically eliminate) this lag time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 08:22 AM
12-03-2002 08:22 AM
Re: Delay in user password change using NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 11:00 AM
12-03-2002 11:00 AM
Re: Delay in user password change using NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 02:10 PM
12-03-2002 02:10 PM
Re: Delay in user password change using NIS
First, ensure that all systems are on the same subnet mask. This will cause delays in broadcasts being read.
Next, are is the problem more/less/same on clients connected to the NIS Slaves as opposed to the NIS master? Usually this means that a netmask/broadcast address is different between the 2.
Next, is your network overloaded? Check capacity. Also, in a windows network, I have seen the broadcast saturated. Put unix on it's own subnet to clear broadcast crap. WIndblows will holler everything not answered on the local net, to every broadcast address in range even if netmask excludes it. This will cause problems simply because of the amount of broadcasts any WIndblows box makes.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 04:14 AM
12-04-2002 04:14 AM
Re: Delay in user password change using NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:07 AM
12-04-2002 07:07 AM
Re: Delay in user password change using NIS
On the NIS master, using the passwd command, change a passwd but do not run ypmake. To make certain that you are working as expected, try to login on a client as this user. The login should fail with the new passwd but work with the old one. Now on the master server, cd /var/yp, and make. The passwd map should be rebuilt and pushed. Immediately, repeat your test on the client. If that works then network or propagation delays are not your problem.
One thing that can kill yppasswdd is the existance of the lockfile /var/adm/ptmp. I would also change your YPPASSWDD_OPTIONS to
"/etc/passwd -l /var/adm/ypasswd.log -m passwd PWFILE=/etc/passwd". The logging may help you to spot any booboo's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:19 AM
12-04-2002 07:19 AM
Re: Delay in user password change using NIS
One last thought: Look in /var/yp/Makefile and make sure that NOPUSH is not set to 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 08:22 AM
12-04-2002 08:22 AM
Re: Delay in user password change using NIS
Also, the lock file you mentioned does not exist and YPPUSH is not set to anything.
I also have enabled logging as you suggested but so far have seen no clues there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 08:46 AM
12-04-2002 08:46 AM
Re: Delay in user password change using NIS
Last point, have you looked for NIS patches?
1,000 NIS users should not be a problem at all. My yppasswd changes propagate within seconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 09:35 AM
12-04-2002 09:35 AM
Re: Delay in user password change using NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 12:12 PM
12-04-2002 12:12 PM
Re: Delay in user password change using NIS
I need to watch and see for a day or so, but since I added the logging option to yppasswdd, I have not had any delay problems!! Perhaps yppasswdd was just 'confused' and killing and restarting it (with log option now) was all it needed.