Skip to content
ohsudo, Home

Tags

#visudo

not in the sudoers file
Linux

"user is not in the sudoers file": how to get sudo back, even without the root password

Fix "user is not in the sudoers file": add yourself to the sudo or wheel group with su, recover without a root password, use visudo safely and fix a broken sudoers file.

Beginner · 4 min read