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
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?
Is cmake a compiler?
What is file and example?
What is ulimit in linux?
What is the root directory linux?
What is ulimit command?
What is gnu in linux?
How cp command works in linux?
How do I permanently set ulimit in linux?
How do you do nslookup?
What does chmod do in linux?
What Command used to lock user password?
What is the ipconfig command for linux?
How you will create new folder / directories and how to remove file and folder in linux?
How does grep work in linux?