cancel
Showing results for 
Search instead for 
Did you mean: 

Password file entry

Mohammad Sanaullah
Frequent Advisor

Password file entry

Dear All, Please find the attached /etc/password file entry, I have tru64 OS running and do no have shadow password files. There are some user ID's where its showing "*" in password entry area.
Please clarify whats "*" means at all?
1. Is it bad password entry
2. user ID is blocked
As all locked users have "Nologin" in password entry.
Please clarify these terminology.
Thanks in advance
Mohammad Sanaullah
Alive
4 REPLIES
TTr
Honored Contributor

Re: Password file entry

I looked at the passwd attachment in your other posting.
The "*" character prevents the user from loging in. The account is considered locked and it is the formal way of locking the account. The reason is that no password string can be encrypted to anything that contains "*".
The "Nologin" is somebody's personal preference of disabling accounts. It works not because the "Nologin" string has any special meaning to the kernel but because the password field is too wide to be matched as an encrypted password entry. Note that they left the original encrypted password in place so that if the "Nologin" were to be removed, the original password would work again.
Raj_Ranjan
Frequent Advisor

Re: Password file entry

Hi Sana Bhai,


On a non-shadowed standard system, all password fields contain the actual encrypted password. On a shadowed standard system, all password fields contain an 'x', while the actual encrypted passwords reside in /etc/shadow. On a trusted system, all password fields contain a '*' and the actual encrypted passwords reside in the Protected Password Database.

Login can be prevented by entering in the password field by '*' character. '*' is the character that is not part of the set of digits.


Hope this may help you.


Tim Nelson
Honored Contributor

Re: Password file entry

BTW,
Your post is in an HPUX forum.

You are requesting tru64 information. Beware that responses may not reflect tru64 solutions.


Deependra
Occasional Advisor

Re: Password file entry

Hi,

Entries starting with "*" do not mean bad password, but mean that the user can not login to the system. These are kind of blocked IDs. The same password will work after the "*" is removed from the password field and leaving the original string as it is.

BR
Deependra