You can do this with the following command. ${USER} will be interpreted as your current user name, but you could manually type in the username instead. sudo gpasswd --add${USER} dialout