In Linux, to add a user to a group you can use the usermod command. You will need to be logged in as root or as a user with sudo access to be able to execute the command.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis