Create user in linux with root privileges linux,unix

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

adduser  : Command to create a user in linuc
-u           : Set the value of user id to 0 which is generally root user id.
-o            : Set the value of user id to 0 which is generally root user id.
-g           :  Set the initial group number to to 0 generally root user group
-G           : Supplementary groups 0=root, 1=bin, 2= daemon, 3 = sys, 4= adm, 6=disk, 10 = wheel
-M          : 
User home directory will not be created





2 comments to "Create user in linux with root privileges linux,unix"

Post a comment

Whoever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs, u can at least use Name/URL option which doesn’t even require any sign-in, The good thing is that it can accept your lovely nick name also and the URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree