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
Explain difference between nfs soft and hard mouniting points?
What is mask and umask in linux?
Enlist some linux to file content commands?
What is du command in linux?
What the command used for list the contents of your home directory, current directory and all subdirectories?
What does execute mean in linux?
How can I create a file with cmd?
Why echo is used in linux?
What is clang format?
What is whois command?
How do I find my user id in linux?
What is history command in linux?
What is $$ in shell script?
How do you limit memory usage for commands?
What does chmod 644 do?