Thursday, 26 March 2015

How to clone root account in linux

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) :
# usermod -u 0 admin
or
$ sudo usermod -u 0 admin

that's it … try login with user admin and if you got the # prompt, you know what it means ..

No comments:

Post a Comment

The purge process did not run because the Oprid configured to start the Process Scheduler did not have the required permissions to run the purge process.

  Purge process - Required permissions The PeopleSoft Oprid used to start the Process Scheduler, as defined in the Scheduler's psprcs.cf...