Adding User
-
2. Adding User to Group
First, to Add User to Group
Simply play:sudo usermod -a -G [NEWGROUP] $USER
So for Instance:
sudo usermod -a -G rvm $USER
Finally, Check if the Group is Enabled for the Current Logged in User with:
groups | grep [NEWGROUP]
And If Not then to Reload the User Environment play:
su $USER
You’ll be prompted to Enter the User’s Password to Login.
Contents