Answer Posted / shanu
gpasswd
Usage: gpasswd [-r|-R] group
gpasswd [-a user] group
gpasswd [-d user] group
gpasswd [-A user,...] [-M user,...] group
#gpasswd -a user1 dba
Adding user user1 to group dba
#gpasswd -M user2,user3 dba //multiple users
or
#usermod -g primary_grp username
#usermod -g dba user1
#usermod -G sec_grp username
#usermod -G oper,oinstall oracle
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which command is used to find what is in your home directory?
Information technology is widely used in
How do I know my shell?
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?
How do I check cores in linux?
What does the ps command do in linux?
What is clang format?
If the programmer wishes to execute an instruction at the specified time. Which command is used?
What is p in mkdir?
How do I run bash on windows?
What is the command to check cpu speed in linux?
what do know about commands?
How to root mirror in linux?
Explain shift command of linux?
Is makefile a shell script?