[CentOS] mysql

Steve Clark

sclark at netwolves.com
Tue Jun 5 15:58:28 UTC 2012

On 06/05/2012 11:13 AM, Leonard den Ottolander wrote:
> See for yourself:
> # grep mysql /etc/shadow
> mysql:!!:15404::::::
Ah - good,  from man 5 shadow...

       encrypted password
            Refer to crypt(3) for details on how this string is interpreted.

            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).

            This field may be empty, in which case no passwords are required to authenticate as the
            specified login name. However, some applications which read the /etc/shadow file may
            decide not to permit any access at all if the password field is empty.

            A password field which starts with a exclamation mark means that the password is locked.
            The remaining characters on the line represent the password field before the password was

Stephen Clark
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com

More information about the CentOS mailing list