LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
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.
 
Old 07-25-2008, 09:43 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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
 
Old 07-25-2008, 12:29 PM   #3
FranDango
Member
 
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 07:22 AM.
 
Old 07-25-2008, 01:17 PM   #4
pdtpatrick
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?
 
  


Reply


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 04:26 AM
/etc/shadow expiration date liguorir Linux - Software 1 05-04-2004 03:42 PM
RHat 9 password expiration send-more-ux Red Hat 3 10-01-2003 06:56 PM
Password expiration - help klmn1 Linux - General 1 12-31-2002 12:04 AM
Password expiration klmn1 Linux - Networking 1 12-26-2002 01:08 PM


All times are GMT -5. The time now is 11:24 AM.

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