About 118,000 results
Open links in new tab
  1. How to add existing user to an existing group? - Ask Ubuntu

    79 After adding to a existing user: usermod -a -G group user You may need to logout and login to get the groups permissions from /etc/group.

  2. How can I use Docker without sudo? - Ask Ubuntu

    By default that Unix socket is owned by the user root, and so, by default, you can access it with sudo. Starting in version 0.5.3, if you (or your Docker installer) create a Unix group called docker and add …

  3. How can I add a user as a new sudoer using the command line?

    Realistically, there are also other groups your new user should be a member of. If you set the Account type of a user to Administrator in Users Settings, it will be placed in at least all of these groups: adm …

  4. How to create a group, add users to the group, and have that user ...

    Oct 26, 2018 · 6 I want to basically create a group called Staff. I want staff to be able to access the folder /home/Clients and all of the subdirectories and files inside the Clients folder. How would I go …

  5. How do I add a user to the "sudo" group? - Ask Ubuntu

    The sed command does inline updates to the /etc/sudoers file to allow foo and root users passwordless access to the sudo group. The sed command disables the #includedir directive that would allow any …

  6. Allowing a group Read-Write Access to a directory - Ask Ubuntu

    Jun 26, 2014 · I have two users, user1 and user2, that are both members of groupA. user2 has a folder in their home directory called folderA. If they wish to allow read-write-execute permissions for all …

  7. How to create user in linux by providing uid and gid options?

    May 12, 2014 · 14 In summary and in general, you can use the useradd command to add users to a linux system. The -u flag allows you to set a specific user id and the -g flag allows you to set a …

  8. How do I allow a non-default user to use serial device ttyUSB0?

    Mar 13, 2012 · As you've noticed, the /dev/ttyUSB0 device has the group of dialout. All you need to do is add the second user to the dialout group: sudo adduser second_user dialout second_user will need …

  9. permissions - How can I add an existing user to an existing group id ...

    Jun 9, 2021 · How to add existing user to existing group id (not group name)? It's not explicit in the man page, but usermod will accept a numeric GID as an argument for both the -g (primary group) and -G …

  10. linux - Can't add user to docker group - Stack Overflow

    May 25, 2019 · The newgrp command is very different from usermod -aG GROUP USER: the latter adds group GROUP to USER, without changing the primary group of USER; the newgrp creates a new …