How can I change my uid to zero?

How can I change my uid to zero?
Answer
1 Answer. Just
run usermod -u 500 -o username to change the user ID back to 500. Note that changing a user ID doesn’t “give the user root permissions”. What it actually does is to make the user name another name for user 0, i.e. the root user.
 

Tìm kiếm

Back
Top