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

Who ever 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 don’t even require any sign-in, good thing is that it can accept your lovely nick name also and URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")
వీలయితే నాల్గు పోస్టులు ...కుదురితే ఒక కామెంటూ ...

Translate

Enter your email address:

Buffs ...

Visitors


hits counter
View My StatsCheck Google Page Rank

Add to Google Reader or Homepage

Bookmark and Share

Tags


Powered by WidgetsForFree