Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm a beginner in AIX and I have 2 questions on AIX's passwd file.

  1. If there is a hash (#) symbol in front of a username, what does this mean?
  2. Correct me if I'm wrong. On the password field, if a user has password, it will be marked with an asterisk symbol (*). If a user does not have a password, it is marked with an exclamation mark (!) and that the account is locked / blocked.

Thanks

share|improve this question
    
have you read the manpage? Or IBM's most excellent documentation (check out the "files reference" section, or search)? The answer to at least one of your questions is in the documentation - The other may be as well... –  voretaq7 Jul 10 '12 at 3:37
add comment

1 Answer

  1. The hash in front of a username means that the user effectively does not exist. This is a TERRIBLE way to remove a user though. If you want to remove user, make sure you use rmuser. If you want to lock an account do chuser account_locked=true.

  2. This is incorrect.

To see if a user has a password or not, check /etc/security/passwd. If there is no password hash underneath the users name, then they do not have a password set. To check to see if a user is locked, do lsuser <user> and look for account_locked.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.