add second root user

adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M root2

adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M root2
Using Linux adduser command to create a new user account or to update default new user information. Set the value of user id to 0. Set the initial group number or name to 0 Set supplementary  group to:0 = root

1 = bin

2 = daemon

3 = sys

4 = adm

6 = disk

10 = wheel

‘home directory’ not created for the user. User name of the new user account.

Leave a Reply

Your email address will not be published. Required fields are marked *