adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M root2
adduser : Command to create a user in linux
-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
There are so many other ways too .. !!
adduser : Command to create a user in linux
-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
There are so many other ways too .. !!
No comments:
Post a Comment