1834681 Members
2059 Online
110069 Solutions
New Discussion

Re: Password aging

 
M. Tariq Ayub
Regular Advisor

Password aging

Hi,

I want to enable password aging for some users in HP-UX 11i. It is a life system. There are always some process running using these users. How can i change password aging of this users without stopping their processes.

7 REPLIES 7
Mark Grant
Honored Contributor

Re: Password aging

Changing password ageing won't hurt running applications unless these applications keep logging in. Once something is logged in, it doesn't need to authenticate its password until it logs out and wants to log in again.

Presumably your applications are started at boot time and are probably started as an "su" from root anyway, so they may well never log in and therefore never use the password.

Never preceed any demonstration with anything more predictive than "watch this"
twang
Honored Contributor

Re: Password aging

Hi,

Password should not affect running processes.

Hope this helps
twang
Lee Tae-kyung
Regular Advisor

Re: Password aging

#passwd -f -x 30 username
This command enables password aging.
Pls, refer to man pages

Good day~~
I think I am a specialist in IT Korea^^. I am a programmer and SE and DBA
M. Tariq Ayub
Regular Advisor

Re: Password aging

Hi,

When i try to change password aging it is giving me the following message

Failed to modify user "medtest".
This user is currently logged in and therefore cannot be modified.

How can i change its password aging without hampering user or process.
T G Manikandan
Honored Contributor

Re: Password aging

Try using the command line.
M. Tariq Ayub
Regular Advisor

Re: Password aging

Hi,

I tried with command line. It works. I want to enable password aging of a user for 15 days from today but i donot want to expire his current password. Suppose i have changed my password 30 days back. now if i enable password aging to 15 days does my existing password expire. or will i get another 15 days. I need the second condition.
F Verschuren
Esteemed Contributor

Re: Password aging

on a trusted system, you can set the passwd change time to 0 by using:
/usr/lbin/modprpw -v $USEr