Creating 2nd admin
Fajar Priyanto
fajarpri at arinet.org
Mon Sep 13 09:49:30 UTC 2010
On Mon, Sep 13, 2010 at 4:57 PM, Tim Frost <timfrost at xtra.co.nz> wrote:
>> usermod -G admin 2ndroot
>
> This may not be what you want, because that command, as specified, will
> REPLACE the list of groups with JUST the admin group.
>
> On my system running Ubuntu 10.04, the graphical user admin tool adds an
> administrator to 3 groups (admin,lpadmin and sambashare). So the
> following should give full administrator access to 2ndroot:
> usermod -a -G admin,lpadmin,sambashare 2ndroot
>
> The '-a' option instructs usermod to append those groups to the list
> that 2ndroot is a member of, rather than replacing the existing list.
Thank you Tim for the explanation. That clears it ^^
More information about the ubuntu-users
mailing list