Answer the question
In order to leave comments, you need to log in
What does locked password mean in CentOS?
Good day.
The question is probably stupid, but I can not find a clear definition of what a locked password is
. The essence of the question.
I inherited a server with postgresql
And just in case I wanted to know if there is a password on the postgres user.
For this I did the following.
[[email protected] ~]# passwd --status postgres
postgres LK 2016-07-27 0 99999 7 -1 (Password locked.)
[[email protected] ~]# su postgres
bash-4.1$
Answer the question
In order to leave comments, you need to log in
man passwd
-l, --lock
Lock the password of the named account. This option disables a password by changing it to a value
which matches no possible encrypted value (it adds a ´!´ at the beginning of the password).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question