UNIX cmd to check for non expiry type password


 
Thread Tools Search this Thread
Operating Systems AIX UNIX cmd to check for non expiry type password
# 1  
Old 12-02-2013
UNIX cmd to check for non expiry type password

Hi,

Here's the version of unix that we are working on.

Code:
> uname -a
AIX yyyyyyyy 1 6 00F613E24C00
[kmani00]@[xxxxxxxx]:[yyyyyyyy]on(cluster303)/iishomea/kmani00->

i have application id: aaabbb

Now i need to check whether the password for the application id set to non expiry type or not.

Moreover, with that unix command, can one check that or only admin team can help us?

thanks
Krishnakanth

Moderator's Comments:
Mod Comment So many posts and no code tags...tsktsk

Last edited by zaxxon; 12-03-2013 at 03:06 AM.. Reason: code tags
# 2  
Old 12-02-2013
Moderator's Comments:
Mod Comment I am moving this to the AIX forum where you'll find more qualified help.
# 3  
Old 12-02-2013
Take a look at the lsuser command. Using the -f switch, it lists all the attributes for a user account.
# 4  
Old 12-02-2013
OK,
To check for user password expiration on AIX you run
lsuser -a maxage <username>, If the maxage value is zero, then the password is set not to expire and if the value is non-zero, that means it is set to expire in that many week(s).

Note: A nonzero value indicate no. of weeks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

How to check which type of storage is used in unix

how can i check the storage type being used in unix solaris sparc system? please help me its urgnet.. thank you (4 Replies)
Discussion started by: aesgs
4 Replies

2. Solaris

How to check which type of storage is used in unix?

SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240 how can i check the storage type being used in unix solaris sparc system? please help me its urgnet.. thank you (22 Replies)
Discussion started by: aesgs
22 Replies

3. UNIX for Advanced & Expert Users

How to check which type of storage is used in unix

SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240 how can i check the storage type being used in unix solaris sparc system? please help me its urgnet.. thank you (1 Reply)
Discussion started by: aesgs
1 Replies

4. Shell Programming and Scripting

Password expiry date check for hp servers

Hi All, Can anybody help me, to find the command to check for the password expiry date for the hp servers. Thanks, Deepak (3 Replies)
Discussion started by: dswain
3 Replies

5. Shell Programming and Scripting

password expiry notification

Hi, Could someone please let me know how to write script for passwd expiry notification on salaries boxes. Regards Dnyan (1 Reply)
Discussion started by: dnyan
1 Replies

6. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

7. Solaris

Notification of password expiry.

Hi, Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire? Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies

8. AIX

How to check password expiry in AIX?

Hi All, Could anyone please help me with the command or script for checking the password expiry for a particular userid on AIX. Regards, Sanjay...:) (5 Replies)
Discussion started by: SanjayPasum
5 Replies

9. UNIX for Advanced & Expert Users

doubt regarding user password expiry in unix

I want to know the command through which we can know the expiry date of the password. I tried chage but it is not working on my system please provide necessary information I am not using root I need info on user level (2 Replies)
Discussion started by: irshad
2 Replies

10. UNIX for Advanced & Expert Users

password expiry

Hi, under SUN Unix, in which file the expiry date of a user password is indicated ? Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies
Login or Register to Ask a Question