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

can any one send me one project on linux ...?

2731


What is bash command?

959


How do I permanently delete linux history?

910


What does (cd dir && command) do?

956


What does free command do in linux?

1039


What is df command in unix?

913


What are the basic commands in command prompt?

1049


What is mkdir p?

923


Why ms dos is used?

972


How do I run whois command?

975


How do you do nslookup?

952


please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in

2308


Why do we use cmake?

909


How do you create a text file in linux?

1073


How do you ask politely?

958