how to clone root account in linux

June 9, 2009 | By voidzzz | Filed in: How-To, 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) :


# usermod -u 0 admin

or

$ sudo usermod -u 0 admin

thats it … try login with user admin and if you got the # prompt, you know what it means …


Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *