Results 1 to 2 of 2

Thread: sudo cat /etc/shadow - Concerend about password change

  1. #1
    Join Date
    May 2014
    Beans
    4

    sudo cat /etc/shadow - Concerend about password change

    I have NEVER set up a root password, however I have just run the sudo cat /etc/shadow command and it shows:

    root:!:16066:0:99999:7:::
    daemon:*:15994:0:99999:7:::
    bin:*:15994:0:99999:7:::
    sys:*:15994:0:99999:7:::
    sync:*:15994:0:99999:7:::
    games:*:15994:0:99999:7:::

    and so on

    I have read that the 1st number is the number of days after Jan 1 1970 that the password was changed. Most of the others show 15994 which equates to 16/10/13 however root shows 16066 which would equate to 27/12/2013. Does this mean that there was a root password set/changed on this date, as I never set a root password? I am therefore concerned about the security of my system.

    Any guidance would be very much appreciated. I realise the ! signifies there is no password at present.
    Last edited by bapoumba; May 10th, 2014 at 12:20 PM. Reason: added noparse tags

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: sudo cat /etc/shadow - Concerend about password change

    http://linux.die.net/man/5/shadow

    The ! in the password field means the password is locked. Same reading here on my own file.

    Now the dates : have you upgraded keeping your /home and user on this machine ?
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests by PM, thanks |

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •