Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2008, 03:15 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
password expiration /etc/shadow

Hi All,

I have this user on my /etc/shadow:


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

Thanks in advance for any idea you will give.
Old 07-25-2008, 08:43 AM   #2
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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.
Old 07-25-2008, 11:29 AM   #3
Registered: Jun 2008
Posts: 101

Rep: Reputation: 15
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

Last edited by FranDango; 09-20-2008 at 06:22 AM.
Old 07-25-2008, 12:17 PM   #4
LQ Newbie
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Expiration Policy bspicer Linux - General 7 05-12-2007 03:26 AM
/etc/shadow expiration date liguorir Linux - Software 1 05-04-2004 02:42 PM
RHat 9 password expiration send-more-ux Red Hat 3 10-01-2003 05:56 PM
Password expiration - help klmn1 Linux - General 1 12-30-2002 11:04 PM
Password expiration klmn1 Linux - Networking 1 12-26-2002 12:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration