LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-31-2010, 08:05 AM   #1
kechlion
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Rep: Reputation: 0
Shadow File Last Changed Question


I just had a question about a shadow file that I'm looking at. One of the attributes for each user is the last time the password was changed since 1/1/1970. It has listed that a user account has this set to 1. This would indicate that on that day in 1970 the password was set and never changed which would be impossible. Does anyone know how this would happen without someone going in and actually changing the file?

Thanks!
 
Old 08-31-2010, 08:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Dunno. Does 'stat' output of the file correlate with other recent changes? Not much nfo really. Maybe it's installation defaults?
 
Old 08-31-2010, 04:45 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by kechlion
I just had a question about a shadow file that I'm looking at. One of the attributes for each user is the last time the password was changed since 1/1/1970. It has listed that a user account has this set to 1. This would indicate that on that day in 1970 the password was set and never changed which would be impossible. Does anyone know how this would happen without someone going in and actually changing the file?
What OS / version?

Maybe someone set it and other relevant attributes that way using chage(1) -- i.e. to force a password change. That wouldn't be so strange.

Also, triple-check to be sure it's really "1" and not "-1" (the latter is also legit).
 
  


Reply



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
How to set getpwnam to read a file instead /etc/shadow file ZAMO Linux - General 1 02-02-2009 08:25 AM
Question abt entry in shadow file aress Linux - General 1 03-14-2007 09:28 AM
Question about information contained in Shadow Password file cruzzz01 Linux - Security 1 06-13-2006 04:34 PM
Shadow file question Timur Sakayev Linux - Security 4 06-07-2005 10:20 AM
PAM/shadow question: How do I force the password to be changed? clacour Linux - Security 1 03-25-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration