Re: How do I "clone" the root account / create a second admin account ?



In comp.os.linux.misc Wolfgang Hercker <w.hercker@xxxxxxxxxxx>:
As said many times in user guides it is a good practice NOT to
work with the root user itself but a second user.

It is a very good idea to do anything as usual user, never login
to X as root, it shouldn't work anyway with many recent distro
per default and just do tasks requiring rootly powers as root or
use sudo:

$ man -k sudo
sudo (8) - execute a command as another user
sudoers (5) - list of which users may execute what
visudo (8) - edit the sudoers file

The advantage of sudo is you can give rights to others without
giving them root and sudo does pretty good logging of activities.

There are a few GUI tools in the line kdesu and alike, though I
can't tell much, don't use them.

There isn't much sense or win in adding a second root account.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 117: the printer thinks its a router.
.



Relevant Pages

  • Re: Card Reader
    ... Running your script ... instead of sudo is worthless because your script *can't do ... And of course it doesn't ask for a root password, ... >> That's just more bullshit Bryan, and you might as well leave ...
    (rec.photo.digital)
  • Re: hi all..
    ... And with sudo, I certainly wouldn't because they already have root. ... If you somehow had access to my account right now, ... install an effective key logger without root. ...
    (Fedora)
  • Re: hi all..
    ... compromise security to achieve it - such as very insecure sudo defaults ... that essentially make any admin group user password a root password. ... IE someone gets your user account password, they can do more than just ...
    (Fedora)
  • Re: [kde-linux] KDE 4 and monitor powering off.
    ... konsole" entry, should run it as the same user (the "terminal" entry ... I changed it so that it would run as root since I have to ... I have sudo configured so my normal user has very limited access (some ... The admin user has full passwordless access to do everything root could ...
    (KDE)
  • Re: Choosing a distribution
    ... 'sudo bash' where I haven't had a proper root account to work with. ... cracked and hence give the intruder root access. ...
    (Ubuntu)