Results 1 to 3 of 3
What does :!: after the username in the etc\passwd file means? I know :x: means that the password is encrypted and that it is located in the shadow file, but ...
- 07-07-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 1
What does :!: after the username in the etc\passwd file means?
What does :!: after the username in the etc\passwd file means? I know :x: means that the password is encrypted and that it is located in the shadow file, but not sure about :!:
Last edited by MikeTbob; 07-08-2011 at 01:37 AM. Reason: disabled smilies
- 07-08-2011 #2
The man page for the shadow file ("man 5 shadow") gives us the details of the password field:
So the '!' indicates that the user cannot be logged in as using normal means. You could still act as the user by using sudo or su, or by using SSH with an accepted key.Code:If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means).DISTRO=Arch
Registered Linux User #388732
- 07-08-2011 #3
Also, Welcome to the forums. For future reference you can disable the smilies in your post by selecting the right option (disable smilies) before you submit your post.
I tried to fix it for you but I don't think I can.
EDIT: There we go, I figured it out.Last edited by MikeTbob; 07-08-2011 at 01:37 AM. Reason: See EDIT:
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


Reply With Quote