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 / ganesan

# usermod -g groupname username(for Primary Group)
# usermod -G groupname username(for Secondary Group)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is s in permission linux?

1068


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

1062


Explain getopts command of linux?

1140


What does mkdir do in linux?

1026


You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

1048


What the command used for list the contents of your home directory, current directory and all subdirectories?

961


How do I test my cpu speed?

977


What does wc command do in unix?

1035


How do you check which file consuming more space in linux?

1016


What is a makefile in linux?

998


How do I clear bash history in linux?

1028


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?

1159


What is the command to see on which port which service is running?

1015


Which command is used to check the number of files and disk space used and the each user’s defined quota?

1052


Why is linux cpu usage so high?

1056