On Wed, Nov 18, 2015 at 8:42 PM, Brian <a...@cityscape.co.uk> wrote: > On Wed 18 Nov 2015 at 20:05:38 +0100, Dan wrote: > >> If a wrong password is used many times to log as root, does the root >> account gets locked? > > No. > >> I was in a hurry and introduced a wrong password for root a few times >> and now I can not log as root. >> >> I think that I'm using the right password (although I can not be sure >> 100%). I checked the modification date of the files passwd and shawdow >> and it seems that the root password has not been modified. I guess >> that if somebody changed the password I should see it in the date of >> shadow. > > Who is this "someone"? Have you given him access to your machine? >
Thanks for your answer. I didn't give access to anybody. I just wondered if the machine has been hacked. I doubted it, but I would like to understand what happened and why I can not use my root password anymore.