Linux How to: Add a existing user to existing group
usermod example
Add existing user john to admin supplementary/secondary group with usermod command using -a option ~ i.e. add the user to the supplemental group(s). Use only with -G option:
# usermod -a -G admin john
Change existing user john primary group to mail:
# usermod -g mail tony
Related posts:
- Migrate existing Ext3 filesystems to Ext4
- Rethinking the GUI (Graphical User Interface) and the CLI (Command Line Interface)
- Run Single Commands on a SSH-based Server
- Howto Recover a Linux Root Password
- Howto: How to Reset the MySQL Root Password
- Linux Gets Automatic Tuning
- Microsoft is using Linux
- How to mount bin / cue image files in Linux
- Linux Audio Editor Top 3
- VMware Killer: Xen With Graphical User Interface On A Fedora 7 Desktop
