LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   password expiration /etc/shadow (http://www.linuxquestions.org/questions/linux-newbie-8/password-expiration-etc-shadow-658045/)

itik 07-24-2008 03:15 PM

password expiration /etc/shadow
 
Hi All,

I have this user on my /etc/shadow:

mysql:$1$vmw4r078$4.lp6z2s0KJYHKXTuPG2x0:13556:0::12:::

The 5th column is blank. Does it mean the user has no password expiration.

Thanks in advance for any idea you will give.

farslayer 07-25-2008 08:43 AM

does passwd -S mysql show anything different in that field ?

Odd that it would be empty. 99999 is the normal entry for a password that doesn't expire.

http://tldp.org/LDP/lame/LAME/linux-...e-formats.html

FranDango 07-25-2008 11:29 AM

An empty field giving a undefined value to expiration date could be interpreted as non-expiring, but it is certainly not the standard way to do this.

Then again, if mysql is set in /etc/passwd to have no login shell, and is anyway not supposed to be used for logging in, then the expiration date might be irrelevant anyway.

Linux Archive

pdtpatrick 07-25-2008 12:17 PM

do this
 
can you please produce the output of passwd -S mysql ... just like the gentleman said above and we'll proceed from there.

Btw do you use mySQL on this box? or is this just a curiousity?


All times are GMT -5. The time now is 02:24 PM.