question

quantumquest avatar image
quantumquest asked

Small improvement of the root access page documentation

The root access documentation has some minor problems about the password:

  • the mentioned command "passwd –delete root" cannot be copy/pasted: the character before "delete" is a dash ("\u2013") where it should be two hyphens ("--")
  • this command indeed deletes the root password, but by doing so you actually allow anyone to connect without a password! You should not suggest that. The documentation seems to imply that this command will disable password login, but it's not the case.
documentation
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
jeroen avatar image
jeroen answered ·

Thanks, this is indeed incorrect. I changed it to:echo 'root:*' | chpasswd -e

That will allow key based authentication, but disable logging in with a password.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic