AIX users got expired !


 
Thread Tools Search this Thread
Operating Systems AIX AIX users got expired !
# 1  
Old 05-12-2010
AIX users got expired !

Guy's ..

I have faced an issue in AIX server, users got expired without asking me about the expiration and did not asking me to change the old password moreover will not accept my login with old password any more until reset the ID with new password

Pls assist in this to how configure the server to let it ask to change the password before expire !


Pls assist .. !
# 2  
Old 05-12-2010
Hi.

Have a look at changing the value of pwdwarntime in /etc/security/user

Other settings such as maxexpired determine the time past which you cannot change an expired password.

Look at the chuser command man page, it explains what's possible.

Last edited by Scott; 05-12-2010 at 05:13 AM..
# 3  
Old 05-12-2010
Quote:
Originally Posted by Mr.AIX
[FONT=Calibri][SIZE=3][...] in AIX server, users got expired without asking me about the expiration and did not asking me to change the old password moreover will not accept my login with old password any more until reset the ID with new password [...]
The rules for AIX password expiration are defined in /etc/security/user. "maxage" is the number of weeks a password is valid. "maxexpired" defines the number of weeks that the password can be changed by the user even after "maxage" weeks went by. From AIX 4 on the user gets a warning that his password needs to be changed in "pwdwarntime" days before the account is locked. However, this warning is visible during login only. If the user does not login for months this mechanism is bound to fail. Thus in your case you might use a script to send an email to the user ahead of final expiration.
# 4  
Old 05-24-2010
For user friendly interface, can use smitty as well:

Adv:
- to avoid any typical typo
- user friendly interface

Disadv:
- cant be done in Global environment (need to do this setting for each user)

# smitty user
-> Change / Show Characteristics of a User -> Select user

-> EXPIRATION date (MMDDhhmmyy) [0]
(this is for temporary user, you can define the expiry date)

-> Number of FAILED LOGINS before [0]
user account is locked
(Define how many times of failed login attempt before lock the ID)

-> Days to WARN USER before password expires [0]
(how many days to notify the user before the ID expired)

-> NUMBER OF PASSWORDS before reuse [0]
(password life cycle/password rotation generation. e.g if you set 3,you must have 3 different passwd over times in order to use back the 1st gen password)

-> Weeks between password EXPIRATION and LOCKOUT [-1]
(to lock the user after how many weeks after the password expired. -1 means never)

->Password MAX. AGE [0]
(how long the password can last - in WEEKS)

Hope this info can help you.
Regards,
Fadzli
Malaysia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Problem with Script to email Admin users with expired passwords writed byygemici

Hi, I have problem with a script, it was working for 6 month and suddenly I started getting strange expire times example: # chage -l wXXp Last password change : Oct 28, 2014 Password expires : Nov 27, 2014 Password... (3 Replies)
Discussion started by: redmansas
3 Replies

2. Shell Programming and Scripting

Finding AIX user accounts expired or locked

// AIX 6.1 In need of finding which AIX user accounts will be expired and are locked. I have placed the following parameters under /etc/security/user... (1 Reply)
Discussion started by: Daniel Gate
1 Replies

3. AIX

how many su - users I ejecute in prompt AIX 5.3

Hi Colleagues, My English is pretty bad, the help I need is this: entered into a machine with OS AIX 5.3 and i execute su - user1 and then i execute su - user2 and then i execute su - user3 and finally its su - user4. there is some command that tells me the its that i have made? Thank you... (2 Replies)
Discussion started by: systemoper
2 Replies

4. AIX

Users on Aix 6

Hello everybody My question is about which default userīs should I disable it on Aix 6.1 I would like to hear your opinions. Thanks for your comments (0 Replies)
Discussion started by: lo-lp-kl
0 Replies

5. Emergency UNIX and Linux Support

List of users on an AIX system

Is there a way to generate a list of users with name, user ID, and Security Group? It is urgent for audit purposes. Please help. (5 Replies)
Discussion started by: ggayathri
5 Replies

6. AIX

Migrating AIX users to Linux

Hi all, I was wondering if anyone out there knew if it was possible to migrate users from AIX to Linux. What we want to do is install OpenLDAP on a Linux machine and port all the users over to LDAP. I've googled around and could only find a few things, such as mrgpwd - but that only comes... (0 Replies)
Discussion started by: djcronos
0 Replies

7. AIX

Users in AIX

Good Afternoon How can i change password without it requests the following thing to me: Changing password for "prueba1" prueba1's Old password: what desire is that is made directly like in root: Changing password for "prueba1" prueba1's New password: In the company have a two role... (3 Replies)
Discussion started by: Lost in AIX
3 Replies

8. UNIX for Dummies Questions & Answers

Users In AIX

Good Afternoon How can i change the password without it requests the following thing to me: Changing password for "prueba1" prueba1's Old password: what desire is that is made directly like in root: Changing password for "prueba1" prueba1's New password: I need to create 2 users... (1 Reply)
Discussion started by: Lost in AIX
1 Replies

9. AIX

Users on AIX 5.2

Hi everybody, I have a system with AIX 5.2. I want to create a User on this system. This User shouldn't has an admin rights, but I want to allow him to remove any directory from a specific path where the owner of this path is another user (not root). what is the properties that should be... (4 Replies)
Discussion started by: aldowsary
4 Replies

10. AIX

AIX Non Expired Password

Hi, I am into production support and handling some of the AIX servers. We are planning to have a user id on a AIX system with non-expired password. Now the question is that if I have a non expired password then I cannot do a interactive login to AIX machine ( i:e cannot do Telnet ,SSH etc)... (0 Replies)
Discussion started by: siddhhuu
0 Replies
Login or Register to Ask a Question