Answer Posted / anoop
useradd -g group_name user_name (for primary group)
useradd -G group_name user_name (For secondard group)
Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?
Brief about the command kill PID?
Why do we use cmake?
What is tail command in linux?
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
What is du command in linux?
What does sh do in linux?
What is know about grep commands?
What does in makefile do?
What will happen when a system call is encountered in a user program?
What is the use of finger command in linux?
What is dos and its commands?
What is the difference between rmdir and rm r?
What are the options of wc command?