Creating 2nd admin

Oliver Grawert ogra at ubuntu.com
Mon Sep 13 11:07:20 UTC 2010


hi,
Am Montag, den 13.09.2010, 10:06 +0100 schrieb David Fletcher:
> On Monday 13 Sep 2010, Fajar Priyanto wrote:
> > Hi all,
> > To create 2nd user with root privilege, is this enough?
> > 
> > usermod -G admin 2ndroot
> > 
> > I notice the 1st user has more groups.
> > 
> > Thanks.
> > 
> 
> I needed to do this a couple of days ago. I just used a text editor 
> on /etc/group and added the user name to the admin line. Seems to work OK for 
> me. I'm not sure what the adm line is but I added it there too.
adm is for reading logs (ls- l /var/log)

you can easily just use adduser to add an existing user to a group btw

sudo adduser 2ndroot admin 

will do that for you ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100913/ade931da/attachment.sig>


More information about the ubuntu-users mailing list