Reply to post: Re: Linux root p/w

Pro tip: You can log into macOS High Sierra as root with no password

chuckufarley

Re: Linux root p/w

Why not just edit /etc/shadow and expire the root account from there? Sudo will still work and no system processes will fall over, but nobody and nothing will be able to log in as root until the the expiration field is reset in /etc/shadow.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019