how to add linux user to group?

Answer Posted / ron

useradd -g primary_group -G secondary_group username
passwd password

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

475


What is the export command used for?

528


What is df -h command?

667


What is s in permission linux?

517


How to know linux os is 32 bit or 64 bit?

535






How do I find my user id in linux?

524


Which daemon is used for scheduling of the commands?

570


How do I clear bash history in linux?

535


How do I check command history?

546


Explain grep command.

601


Brief about the command kill PID?

594


How do I check my cpu cores?

534


What is makefile in unix?

546


What is p in mkdir?

572


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

521