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

New User Add to Grop
# username -g groupname username(for Primary Group)
# useradd -G groupname username(for Secondary Group)

Old User Add To Grop
# usermod -g groupname username(for Primary Group)
# usermod -G groupname username(for Secondary Group)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command would you use to check how much memory is being used by linux?

972


Is cmake only for c++?

941


What would be the result of the command paste -s dog cat?

895


What is cpu in top command?

985


Which command is used to uncompress gzip files?

1085


How do I use nslookup in linux?

981


The command ‘umask -S’

977


What is the pwd command?

935


What does top do in linux?

955


What can you tell about the tar command?

1021


Who unix commands?

1093


What are whois tools?

871


How can you copy lines into the buffer in command mode?

1014


How do I stop a linux job?

944


Which command is used to terminate a process?

889