How to clone root account in linux
If you want to make your account have the same right as root, you can
clone root / duplicate root account. Here’s how to do that :
Suppose you have create user admin and you want that user to have the same right as root then you can do that just by simply typing the following command (make sure you login with root account or su) :
Suppose you have create user admin and you want that user to have the same right as root then you can do that just by simply typing the following command (make sure you login with root account or su) :
# usermod -u 0 admin
or
$ sudo usermod -u 0 admin
No comments:
Post a Comment