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 tail command in linux?

538


What is makefile in unix?

536


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

2354


Which command will show you free/used memory? Does free memory exist on linux?

558


What does mkdir do in linux?

527






What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

516


What is phony in makefile?

540


What is the use of mv command in linux?

533


What are the commands in linux?

525


What is the difference between cd and cd in linux?

510


Which of the following tasks cannot be accomplished with the touch command?

554


Write about an internal command.

595


What are linux commands?

539


Which Command used to lock user password in Linux?

566


Explain trap command of linux?

569