0

I'm trying to understand how to crack passwords from shadow file and I see the root user contains the following content on /etc/shadow:

root:!:17888:0:99999:7:::

What does It mean? How can I crack this password using john?

MonEr
  • 3
  • 1

2 Answers2

10

The ! indicates that the account has no usable password. You cannot crack it.

This information can be obtained from the documentation installed on your system. See man 5 shadow and search for !

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
roaima
  • 107,089
  • 14
  • 139
  • 261
0

Many systems intentionally disable password based login as root. This is what the ! is for.

To become root on these systems one may use sudo.

ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102