formats

Add User to Group in Linux

Add User to Group in Linux | In Linux, the command gpasswd can be used to add or remove users from a group. I’ll show you how! To add a user to a group, use tack a: $ sudo gpasswd -a user group The output looks like this: $ sudo gpasswd -a joe admin Adding user joe to group admin To remove

formats

Add User to Wheel Group

Add User to Wheel Group | To add a user to the wheel group, simply issue this command: sudo gpasswd -a bob wheel In this example the username is ‘bob’. The output will return: Adding user bob to group wheel

Home Posts tagged "groups"