Sharing Knowledge | System Admin Articles

Configuration Files and Commands for User Management in AIX

The files listed below are some important files for User Management in AIX

  lists environment attributes for each user

  lists last login attributes for each user
  lists process resource limits for each user
  lists extended user attributes for  each user
  lists default attributes for new users
  script that sets up the user's environment
  lists basic user attributes for each user
  contains password information for each user
  lists login security information for each user
  contains users that are logged into the system, used by the
  "who" command
  contains connect time information for users
  contains unsuccessful login attempts
  message of the day that is displayed when the user logs in.
  Lists the default environment that new processes will use.
  environment settings for all  users
  environment settings for a specific user
  lists attributes for each group
  lists extended attributes for each group

Use the file /etc/security/user attributes to know about the following:

  true or false
  Expiration time for a user account.  MMDDHHMMYY,  a value of 0 indicates 
  no expiration
  Number of invalid login attempts before a users is not allowed to login.  A
  value of 0 indicates this attribute is disabled.
  Maximum number of weeks a password is valid, a value of 0 indicates
  Minimum nuimber of weeks between password changes.

Commands for User Administration in AIX :

  To the creates a new user
  change the user's password
  change the user's attributes
  lists the attributes for a specific 
  user account
lsuser -f
  lists each attribute on it's own
  utility that removes a user
  change the user's security 
  lists who is currently logged into
  the system
whoami (who am i) 
displays information about

Procedure to add a new user:

    mkuser <USERNAME> or  smitty mkuser

Procedure to change the password of a User:

passwd <USERNAME>

Note: The account needs to be reset if when trying to log in the following message is received:

3004-303 There have been too many unsuccessful login attempts; please see
        the system administrator.

Use the below commands to reset the account:

chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" –s <USERNAME>

chuser "account_locked=false"  <USERNAME>

Labels: AIX, Notes

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

5 Comments for "Configuration Files and Commands for User Management in AIX"

is this true for fast connect V3.2.1 ??
also are there any other files by FC to save configuration data?


Is your question is related to this article?

can you little explain your question?

-- Parthi

yea my question is related.
Actually i am migrating from fast connect to samba.
so instead of configuring samba manually again, i was thinking to automate it.
for that i need to know where does fast connect actually save its configuration data.

the files u mentioned in beginning are some of them.
so my question is, are there more files where fast connect stores configuration data?

sorry i thought u were telling about fast connect...
i am so sorry i misread :P

Even i was confused still now and trying to understand your question... thanks much for clarification... LOL..!

What do you think about this Article? Add your Opinion..!

Back To Top