Questions tagged [groups]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Is running a browser as group via sudo dangerous?

Suppose that internet is a group I have created. Is it dangerous to run e.g. Firefox via sudo -g internet firefox? I am 99% sure it's not, but wanted to make sure since I am doing that often and I ...
user avatar
0 votes
1 answer
18 views

Modify default user groups

Is there a way to modify the default user groups in Ubuntu 20.04? I mean if a user logs in for the first time (or if a user is created), he is automatically added to groups X, Y and Z for example. ...
user avatar
1 vote
1 answer
42 views

linux I want to add permission on two groups

I have my owner (Pierre) and he has all permission on g586 folder, I have my first group (G586) have read permission, I have another groupe name (teacher) have read and execute permission, and other ...
user avatar
0 votes
0 answers
36 views

mac <>> ubuntu sharing

I’m testing using Ubuntu as a File Server: Im coming from a macOS Sharing environment. Is there a Utility or App to give multiple Groups of Users folder access with different permissions? I am looking ...
user avatar
0 votes
0 answers
13 views

Why is a restart for usermod -a -G dialout mandatory? [duplicate]

Why is a simple logon/logoff not enough? Why does newgrp fail? I'm trying to add my user to the group dialout. I would expect my users to have the new group after newgrp or after logging out (via GUI) ...
user avatar
  • 1,141
0 votes
1 answer
103 views

Does Kubuntu have a GUI user and group manager?

In kubuntu 18.04 the User Manager in Settings can add and delete users, but that's about it. I need to modify groups and users so seldomly that I spend more time reading man pages and finding the ...
user avatar
  • 2,435
0 votes
1 answer
58 views

Have two users collaborate in a directory

Can anyone help me to solve this.its simple.but i have full of doubts. Create a directory on /mnt/data. 2 users there, Alice and Bob, and both of them are in group admins. Both of the users ...
user avatar
0 votes
1 answer
29 views

20.04 LTS How to add a user to a group with an OEM install

I want to OEM install Ubuntu 20.04LTS and distribute it with KVM installed. A user who boots the installed OS must be a member of the "libvirt" group in order to use KVM, but how do I set it ...
user avatar
  • 3
0 votes
0 answers
57 views

Accidently removed my only admin account from sudoers file in UBUNTU 20.04 Server and CANNOT access root, HELP

I accidently removed my admin account from the sudoers group by adding it to another group by using (usermod -G without -a), and I cannot access the root account since it has no password and it keeps ...
user avatar
  • 1
0 votes
1 answer
226 views

/etc/group: why the username does not appear in its own primary group?

According with many tutorials in the /etc/group file is listed all the groups. Through the cat /etc/group | grep omicron command (omicron is the default custom user created in the Linux installation) ...
user avatar
0 votes
0 answers
59 views

How do I give one user read/write access to everything another user has access to?

I have a situation where I have to work as user alice, and I need to be able to read, write, and edit directories and files created by bob. I know that I could take a specific directory created by ...
user avatar
1 vote
3 answers
680 views

When gpasswd vs usermod/deluser?

About user and groups administration I found in many tutorials that appear: gpasswd - to add and delete users to a group usermod/deluser - to add, modify and delete users of a group What is not very ...
user avatar
0 votes
0 answers
117 views

Cannot access dir although user belongs in the group

I have a directory named foo that has the following permissions: ls -dl foo d---r-x--- 3 foobar staff 96 Sep 1 10:29 foo While executing groups or id when logged in as foobar I get back a list of ...
user avatar
  • 135
5 votes
1 answer
425 views

Allow a group of users to create and write to files in a given directory [duplicate]

I want to have different users including www-data to work together under a specific path. including updating each others files. I made a new group webimage addgroup webimage and adduser user1 ...
user avatar
0 votes
0 answers
43 views

Can't access folder with group permissions

I keep getting an error that I do not have permissions to a folder though I have folder permissions. The folder is mounted with nfs. I do not think that this has anything to do with anything. calm@...
user avatar
0 votes
0 answers
16 views

Problem to set the group rights correctly [duplicate]

I have a directory with more directories inside. This is the rights setup: drwxr-xr-x 6 root root 4096 Jun 11 15:35 . drwxr-xr-x 3 root root 4096 Jun 11 15:26 .. drwxrwxr-x 2 root RIS 4096 Jun 11 16:...
user avatar
  • 101
0 votes
2 answers
105 views

Why does owner user require sudo?

This is a specific configuration that I found about here. I have two users that share a common folder: $ ls /home > drwsrws--- root my-group ... common > drwxr-xr-x diego diego ... diego &...
user avatar
  • 608
0 votes
0 answers
17 views

Does Ubuntu 18.04 create entries in certain groups for the installer by default [duplicate]

WHat are the groups in which when installing Ubuntu 18.04 or 16.04, the installer is made a member by default. Is adm one such group? WHat about admin? What about sudo? If 18.04 has separate default ...
user avatar
  • 129
0 votes
2 answers
97 views

Permission denied despite being in group that owns the directory

I have an directory to which I've set the permissions as follow: sudo chown -R root:www-users /var/www sudo find /var/www -type d -exec chmod 2775 {} + sudo find /var/www -type f -exec chmod 0664 {} + ...
user avatar
1 vote
1 answer
275 views

unable to fix udev installation,

ubuntu 20 (focal). if i try to run sudo apt update && sudo apt upgrade -y i get following error Errors were encountered while processing: udev xserver-xorg-core xserver-xorg-video-nvidia-...
user avatar
  • 23
1 vote
2 answers
308 views

New Kubuntu 20.04 user accounts without group memberships

I recently experienced strange problems when creating user accounts on freshly installed Kubuntu 20.04 PCs. The user account created during installation of the OS works as expected. It is member of ...
user avatar
1 vote
0 answers
61 views

Ubuntu 20.04 LTS - Why am I only in one group?

I am experiencing the same problem as noted at: Why my linux account only belongs to one group? I am running 20.04 and GDM. I've also: Followed every suggestion I could find related to disabling ...
user avatar
  • 11
0 votes
0 answers
137 views

Ubuntu 20.10 Lost all files with usermod when added user 1001 to group 1002 accidentally

I was adding a new user {rasa} to my Ubuntu studio 20.10. I was adding rasa uid:1002 gid:1002 groups=rasa (1002) To the audio group for privileges to change cpu to performance and set jack settings. ...
user avatar
0 votes
1 answer
68 views

I want to create a shell script wherein each project has set of instructions

I want to create a shell script wherein each project has set of instructions which includes setting different groups to setup for every different clearcase view. I am facing difficulty as the setview ...
user avatar
0 votes
1 answer
160 views

Cannot edit file via group permission

there's a system with two users: codera and coderb. They both belong to group named firma. However, when one of them creates a file (in /tmp) and changes it's group ownership to firma, with rw group ...
user avatar
0 votes
1 answer
66 views

How to add myself to sudoers when accidently remove main user out of the sudo group [duplicate]

I was trying to create a public and private share directory using samba and I ended up accidently relocated my main user to smbshare group and can no longer use sudo commands or log in as root. I will ...
user avatar
0 votes
2 answers
92 views

How to allow another user in a group to read a file [duplicate]

I need help in this question please I have tried several times. Create a file, /home/jack/secretf7b079, containing the string secret5cd51b. Make sure the file is owned by jack. Use a group to enable ...
user avatar
  • 3
2 votes
1 answer
810 views

Can't add group to user

For ROCm 4.0 in Ubuntu 20.04 I need to add the 'render' group to the user. I do this with pete@black:~$ groups pete adm cdrom sudo dip plugdev lpadmin lxd sambashare pete@black:~$ sudo usermod -a -G ...
user avatar
  • 323
0 votes
1 answer
33 views

Writing to a shared partition

I am aware that there are many questions about write permissions and partitions, but I have followed the instructions that I found to the letter and double checked everything I can think of, and I ...
user avatar
0 votes
0 answers
35 views

How to add user to another group in Ubuntu? [duplicate]

My current groups: chris@Host:/opt/tomcat$ groups chris adm cdrom sudo dip plugdev lpadmin lxd sambashare If I tried to add to group named tomcat: $sudo usermod -a -G tomcat chris but the group is ...
user avatar
0 votes
1 answer
728 views

Can't add myself to group

Getting into arduino and followed the instructions at: https://www.arduino.cc/en/Guide/Linux Since I'm having issues writing to the serial port, I did the following as instructed (my username is ...
user avatar
  • 1,339
0 votes
1 answer
199 views

User Group Change

I have changed the default group of a user using chgrp command. After that I'm getting the error message" 'Username' is not in the sudoers file. This incident will be reported" for basic ...
user avatar
0 votes
0 answers
58 views

How can I remove all the users and groups associated with removed (purged) programs?

How can I remove all the users and groups associated with removed (purged) programs? For example, I install exim. It created a group and a user named Debian-exim. I then use it for a while, and remove ...
user avatar
0 votes
1 answer
240 views

Ubuntu 20.04 Default terminal user doesnt have write group access

I am trying to add user123 to group group123. I used the command usermod -a -G group123 user123. When I change to that user it is apart of the correct groups. When I open the terminal and run $users ...
user avatar
1 vote
1 answer
254 views

Using command "chage" for everyone in the group group

How can i use "chage" command to change, for example, minimum number of days before password change for every user in the group?
user avatar
  • 13
2 votes
2 answers
2k views

Permissions group dialout don't apply

I'm using an application that needs to communicate through a usb-serial cable, using /dev/ttyUSB0. Both /dev/ttyUSB0 and the user who owns the process are in group dialout, and the rights on the port ...
user avatar
  • 21
0 votes
1 answer
1k views

"getent" doesn't show members in the group

If I command id nu, the output shows that the user nu belongs to the group named nuu. But if check the members of the group nuu with the command getent group nuu it shows as if there are no members in ...
user avatar
1 vote
1 answer
1k views

Permission Denied in /var/www/public_html. I am member of www-data

Hi just installed Apache2 on Ubuntu 20.04. Added myself to www-data group. id prateek uid=1000(prateek) gid=1000(prateek) groups=1000(prateek),4(adm),24(cdrom),27(sudo),30(dip),33(www-data),46(plugdev)...
user avatar
  • 351
0 votes
0 answers
20 views

How to configure group settings for docker admin? [duplicate]

Listing docker containers: docker ps -a -q error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/...
user avatar
0 votes
1 answer
463 views

Recovering a lost user group

Related to this question, I recently detached a disk from a Linux cloud machine (Ubuntu 18.04). When I reattached it to a new VM (also Ubuntu 18.04) I discovered that the user and group information ...
user avatar
  • 121
0 votes
2 answers
361 views

Newly created directories and files are assigned to docker group

so I was recently doing some post-installation steps for Docker and I think it was after I added my user to the docker group by sudo usermod -aG docker $USER newly created files and directories began ...
user avatar
2 votes
1 answer
688 views

Automatically change to nobody and nogroup after deleting a user

I'm currently working on a Ubuntu 20. I have one file owned by the user "usertest" and group "grouptest" (UID=1002 | GID=1003). -rw-rw-r-- 1 usertest grouptest 0 Jun 29 14:00 ...
user avatar
  • 21
-5 votes
1 answer
197 views

Why there are so many groups on Ubuntu?

It seems I have extra groups that I need to delete because I think they are related to a breach. I should not have any network shares and am on a fresh install. What are the default groups on a fresh ...
user avatar
1 vote
1 answer
35 views

Group memberships not visible without running su - $USER after new login

I use ubuntu 18.04. I created a new group: sudo groupadd group_1 Next I added myself to the group: sudo usermod -aG group_1 $USER After logging out and logging in it appears as if I am not a member of ...
user avatar
  • 151
1 vote
0 answers
55 views

Problem with app groups in 20.04

After upgrading to 20.04 the app drawer freaks out when I close a group. I have only 2 pages, but after I open and close a group the system freezes for a second and than shows as if I have more pages ...
user avatar
2 votes
1 answer
7k views

Webcam not working Ubuntu 18.04

I have installed Ubuntu 18.04, but the applications (Skype, Cheese) says no device found. I have reviewed several topics on the subject, but none seem to work. Thank you! Edit: In a beginning the ...
user avatar
1 vote
3 answers
3k views

Why is "usermod -a -G" not adding my user to the group?

I'm using Ubuntu 18.04. I want to add my user, "davea" to the group "www-data". I tried this (venv) davea@chicommons-laboratory:/var/www/html/web$ groups davea sudo (venv) davea@chicommons-...
user avatar
  • 1,615
0 votes
1 answer
205 views

User is in docker group but can't access docker commands anymore without calling `newgrp docker` before

I'm using Ubuntu 18.04.4 LTS as my Desktop system and I usually had the user in the docker group for being able running Docker commands. It seems that something recently changed and now I can't call ...
user avatar
0 votes
1 answer
891 views

Adding an user to www-data group not working

I am trying to add my user to the www-data group in order to be able to edit the files there without admin rights. This is the command I have used to do that: $ sudo usermod -aG www-data n_user $ ...
user avatar
0 votes
1 answer
514 views

Permission denied for transmission daemon event

I bit my teeth on this problem: I'm trying to set up transmission-daemon with an incomplete and done directory. Downloading to incomplete does work fine, but for the done directory I receive a ...
user avatar
  • 1,113

1
2 3 4 5