Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to add linux user to group?

Answer Posted / ajay songare

linux create a Two type of Group thare are:-
1.primary group represent g
2.secondary group represent G

# useradd -g groupname username
# useradd -G groupname username

usercreate and after that Add group

# usermod -g groupname username
# usermod -G groupname username

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a file?

1035


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

1132


What is build process?

1079


Which Command used to lock user password in Linux?

1121


What is the default number of shell commands saved in the history list of .cshrc file?

1020


Explain the working of command grouping?

1103


What is the gcc command?

1070


What is tail command in linux?

1112


What are the examples of simple command?

1177


How do I check storage on linux?

1083


What is df command in linux?

1097


What is whois command?

1147


What does cd do in linux?

1218


What does uname command do?

1240


How do I check cores in linux?

1133