Unix Technical Forum

How to disable password aging?

This is a discussion on How to disable password aging? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I've enabled password aging for numerous users on a hp-UX 11.11 system, and now want to disable password aging ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 08:06 PM
somebody
 
Posts: n/a
Default How to disable password aging?

I've enabled password aging for numerous users on a
hp-UX 11.11 system, and now want to disable password
aging for several users. I tried simply deleting the
additional password aging field from an entry in the
/etc/passwd file, and the user said that they were
prompted to change their password when they logged in.
In the example below, I deleted the ",BAmQ" part of the
password field. Is this enough to disable aging, or
are there more files involved?

-Thanks

jsmith:tH6.jqq5s160U,BAmQ:9611:6400:John Smith:/home/jsmith:/bin/bash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 08:06 PM
Kevin Collins
 
Posts: n/a
Default Re: How to disable password aging?

In article <pan.2005.04.22.21.06.35.797364@body.com>, somebody wrote:
> I've enabled password aging for numerous users on a
> hp-UX 11.11 system, and now want to disable password
> aging for several users. I tried simply deleting the
> additional password aging field from an entry in the
> /etc/passwd file, and the user said that they were
> prompted to change their password when they logged in.
> In the example below, I deleted the ",BAmQ" part of the
> password field. Is this enough to disable aging, or
> are there more files involved?


I think that should do it. Its possible the password info was cached. You
probably have pwgrd running, which caches passwd/group info. If the user is
still (currently) being forced to change, you can temporarily stop pwgrd...

Kevin

--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 08:06 PM
somebody
 
Posts: n/a
Default Re: How to disable password aging?

On Fri, 22 Apr 2005 21:35:04 +0000, Kevin Collins wrote:
> I think that should do it. Its possible the password info was cached. You
> probably have pwgrd running, which caches passwd/group info. If the user is
> still (currently) being forced to change, you can temporarily stop pwgrd...
>
> Kevin



Thanks, I wasn't aware that information was cached.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:57 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com