Operating System - HP-UX
1833779 Members
2247 Online
110063 Solutions
New Discussion

How to check the users passowd is Non Expiring Password

 
unixguy_1
Regular Advisor

How to check the users passowd is Non Expiring Password

Hi Friends,

Pls give the details for the below questions.

How to check whether user is having already Non expiring password or not?

is there any command to check that?

pls let me knwo very urgent
6 REPLIES 6
Ivan Krastev
Honored Contributor

Re: How to check the users passowd is Non Expiring Password

Try with

passwd -s name

See more in man page - http://docs.hp.com/en/B3921-90010/passwd.1.html


regards,
ivan
savus
Advisor

Re: How to check the users passowd is Non Expiring Password

Hello,
you can use the command:

#chage -l your_user

Regards,
Stefan
unixguy_1
Regular Advisor

Re: How to check the users passowd is Non Expiring Password

Hi Ivan
i used the below command
#passwd -s

it's showing below output

could you guide me that output?

#/usr/bin/passwd -s solarsas
solarsas PS 09/10/08 0 0

is this user is already having non-expiring password?

pls guide me......
avizen9
Esteemed Contributor

Re: How to check the users passowd is Non Expiring Password

Hello
for password expiry, you should have to check password aggining, if i am not wrong if user doesnt have password agging then password will not expire, thanks,
unixguy_1
Regular Advisor

Re: How to check the users passowd is Non Expiring Password

Hi Friends,

i would like to know the bwlo output explaination

1.#/usr/bin/passwd -s solar
solar PS 10/9/08 0 0

2.#/usr/bin/passwd -s solarftp
solarftp PS

3.#/usr/bin/passwd -s solar123
solar123 PS 10/02/08 0 90 14

pls explain me about mentioned points.

thanks in advance.



Jeeshan
Honored Contributor

Re: How to check the users passowd is Non Expiring Password

#passwd -sa
a warrior never quits