You are not logged in.
hello
How can I make it so that root can't change my password?
sorry for my bad english
Offline
How can I make it so that root can't change my password?
You want root to not be able to change the password of users other than root? root is expected to be able to change the password of any user [1]. root is also the owner of /etc/shadow so can directly change the password without using passwd.
Offline
This is probably an https://en.wikipedia.org/wiki/XY_problem
@quellen, why do you think you want to prevent UID0 from changing some password (or, frankly, do anything)?
You cannot effectively prevent UID0 from doing anything. The root user is the omnipotent god of that system.
You can somewhat protect /etc/shadow from accidental changes, but whatever you can do to this effect, the root can undo. Always.
Offline
Disable root user account.
Arch is home!
https://github.com/Docbroke
Offline
Disable root user account.
Huh? That's not possible. And if it was, it would render the system unmaintainable.
You can disable root login from certain vectors, but the root account will still be there.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline