Operating System - HP-UX
1753546 Members
5682 Online
108795 Solutions
New Discussion юеВ

password suddenly expired

 
apple
Super Advisor

password suddenly expired

dear HPUX gurus,
would like to seek yr advice. before this, this id never expired. how to check why this id expired. our hpux is old version 11.00 and i can't see the only 4 options. where to set the password to be non-expiry? hope to hear from you.
7 REPLIES 7
Ganesan R
Honored Contributor

Re: password suddenly expired

Hi,

Password expiry could have set for that account using #passwd -x -w options.

You can check the expiry status using #passwd -s command.
Best wishes,

Ganesh.
Dennis Handly
Acclaimed Contributor

Re: password suddenly expired

What does the /etc/passwd entry look like for this user? Any "," in the password field?
prasadb
Super Advisor

Re: password suddenly expired

hello apple,


check in /etc/default/security the following field.it would show the default setting for max and min days for a particular day, see below for example.

# of days that passwords are valid
PASSWORD_MAXDAYS=45
PASSWORD_MINDAYS=0

Also, you can see these values for particular user with this command ( using root login )

#logins -aox | grep -i

see one entry here for Ex, the value 49 is the number of days for the password to be valid...

:124:users:20::/home/:/sbin/sh:PS:021909:0:49:-1:-1:000000

and if the user is in never expiry mode, you will see entry like this ..

:114:users:20::/home/:/usr/bin/sh:PS:000000:-1:-1:-1:-1:000000


alos, if you want to make some user in never expiry mode, issue this command


#passwd -x 0 -n 0

WR,
prasad

apple
Super Advisor

Re: password suddenly expired

dear HPUX gurus,
1. when i check the id:
# passwd -s pinas
eTrust sepass v5.00a (5.01) - password replacement
Copyright 1999 Computer Associates International, Inc.
Portions of eTrust Access Control Copyright 1995-1999
by MEMCO Software Ltd., a CA company
Invalid policy model name.


2. entry inside /etc/passwd
pinass:ppOvntWaqgFQk:234:203:pinas

hope to hear from you. thank you

Ganesan R
Honored Contributor

Re: password suddenly expired

Hi,

What is this?

>>eTrust sepass v5.00a (5.01) - password replacement>>

I didn't hear about this.

Do you have implemented third party product to manage passwords? In that case, you need to check that.

Normally, if you have not converted the system into trusted, or not set password expiration using -x option, and security file does not have password expiry options, password never expire by default.
Best wishes,

Ganesh.
apple
Super Advisor

Re: password suddenly expired

dear sir,
1. yes, we create id using one third party tool. we don't use sam. running on GUI based xwindows. is the policy different. normally we create, we don't specify if the password will expire or not. wonderng, before this, this id never expired, since last month this id has expired.

2. i can't locate /etc/default/security file
# pwd
/etc/default
# ls
fs useradd

hope to hear from you. thank you
Johnson Punniyalingam
Honored Contributor

Re: password suddenly expired

>>2. i can't locate /etc/default/security file <<

Please try as below
===================
cd /etc/default
ll sec*

if still cannot , You server not trusted system, that's why /etc/default/security file exists.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference