Add user to a group in linux environment

After adding group, you need to add in user to the group.
Following is how to add a new user to the group:
useradd -g dba oracle
(read: add user "oracle" to "dba" group)

What if you have an existing user and want to add to new group?
See Add existing user to groups

System need to be rebooted.

Comments

Popular Posts