Re: [suse-security] second user with uid 0
![](https://seccdn.libravatar.org/avatar/bbef57cb98ff1309e820ff0d388167d9.jpg?s=120&d=mm&r=g)
-----Original Message----- From: Massimiliano Hofer [mailto:max@bbs.cc.uniud.it] Sent: Wednesday, June 11, 2003 8:36 PM
Alle 12:56 PM, mercoledì 11 giugno 2003, Marc Samendinger ha scritto:
I need a second superuser as a service account. When I add a user and change his uid:gid entry in /etc/passwd to 0:0 this user can act as superuser. [...] Any other suggestions where to search for a solution?
If you use OpenSSH (recommended) you can just add more public keys to your root account (without using double entries in /etc/passwd). If you need finer logging you can create a normal user and then grant it some privileges with su-wrapper or sudo (this may include a root shell).
First of all thanks alot for all suggestions. I haven't thought of sudo - shame on me - just because I was used to do it like I described above in SuSE 7.2 Your suggestions are not only a solution for my problem but are the better way to solve it (probably the only way :)
-- Bye, Massimiliano Hofer Nucleus
Thanks again Massimiliano, David and Dirk (in a private mailling :) marc
participants (1)
-
Marc Samendinger