How to give normal user root privileges

| April 30, 2011

Give user root privileges

Useradd -c “Imitation Root” -d /home/root_user -m -k /etc/skel -s /bin/bash -u 0 -o -g root root_user

Or modify an existing user:

Usermod -g 0 -o root_user

or

Give the User the same UID of the root in /etc/passwd file

Tags:

Category: Tips for linux

Comments are closed.