Solved

Password Last Change Date

Posted on 2004-11-01
888 Views
Last Modified: 2013-12-04
Dear Experts,

I have problem in make sure the password last change date in shadow file in Solaris 11.
Here's the line : root:HhOVtAnPp:6445::::::

I read from a source that the lastch date could be determined by adding 6445 with 1/1/1970. In this case I add 6445 with 1/1/1970 and i got 25-Aug-1987.
My questions is : Does the 6445 number above indicate that the root user has never changed the password? If the answer is yest, it'll become another question to me, because the system administrator told me that the password is changed regularly.

Is there any possibility that although the password has been changed, the lastch date in shadow file is not changed?

Thank you for your input before,
regards,
l3bb1t
0
Question by:l3bb1t
    5 Comments
     
    LVL 38

    Accepted Solution

    by:
    6445 - means the password is set in the system installation time. eg, if the system is rebuilt a month ago then it is one month old, if it is built 3 years ago, then it is 3 yrs.

    have a look at:
    http://www.phptr.com/articles/article.asp?p=26523
    0
     
    LVL 38

    Expert Comment

    by:yuzh
    PS: Solaris 11 has not yet released, to find out your OS version, type in:

    uname -a

    and post the output.
    0
     

    Author Comment

    by:l3bb1t
    thank you yuzh..

    That was what i thought before too. But I became doubtful after the system administrator insisted that he had changed the password monthly and the installation was about 1 year ago. Only root user and some other system users have 6445 value. Others have various value, such as : 12696.

    Hmm....

    confusing...
    l3bb1t

    ps. thank you too about Solaris 11. I was wrong about that. Anyway, the OS is Solaris.
    0
     
    LVL 38

    Expert Comment

    by:yuzh
    You can do a test to change the root password and see what happen to /etc/shadow file,
    then put the original password backup to what it was.

    If the 6445 didn't change, please post the output of:

    uname -a

    to see if any patch need to apply to your box.
    0
     
    LVL 40

    Expert Comment

    by:jlevie
    'passwd -sa' will tell when the passwords were last changed.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: MongoDB Object-Document Mapper for NodeJS

    NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

    Suggested Solutions

    Article by: btan
    The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
    Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now