Questions tagged [groups]

The tag has no usage guidance.

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

Group permissions issue /dev/vboxusb

Within VirtualBox 5.2.34 under Ubuntu 18.04 LTS I encountered the issue regarding USB device forwarding. There are no devices. After investigation of the issue I found out the reason is in below. But ...
1
vote
1answer
142 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 ...
0
votes
3answers
36 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-...
0
votes
1answer
14 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 ...
0
votes
1answer
20 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 $ ...
0
votes
1answer
47 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 ...
0
votes
0answers
35 views

polkit and active directory groups

In my scenario I allow some Windows Active Directory groups to be sudo, like "%Domain Admins" or %AG_Linux_Admins, editing visudo. The users members of Domain Admins or AG_Linux_Admins are able to be ...
2
votes
0answers
116 views

Why should all world-writable directories be owned by a privileged group?

I'm reading an Ubuntu security guide developed for the US Department of Defense, to be found here. Written for 16.04 but I don't think this particular item has changed much. The guide says, Group ...
0
votes
2answers
2k views

Give user access to directory in another user's home folder

I have a directory inside my home folder that I'd like another user to be able to access. I created a group for him and we both joined it, and I did sudo chgrp -R group folder/ He still cannot get ...
2
votes
3answers
119 views

is there an LS for users?

I want to see what files and folders a user on my system has permission to. I am an admin, on the system. how do I get more information about what files and folders a user can access? Command line ...
11
votes
3answers
1k views

How do I find files with no group permissions?

I just want to know how I can find, in a folder, the files that have no group user permission (no read/write/execute) at all, using the terminal.
2
votes
2answers
90 views

Users that aren't sudoers can't write SD images

I'm running Ubuntu 16.04 on my laptop. My son has a Raspberry Pi and uses my laptop to write SD card images as it had an integrated card reader. Whilst he can mount, format, read and write the cards ...
1
vote
0answers
98 views

why does my user not belong to other groups until password is entered?

I have the problem that when I open a graphical shell in KDE (XTerm or Konsole, both show the same "problem") and I type groups, the only group displayed carries my user's name. I need to first do su ...
3
votes
1answer
1k views

log alert: unknown group “power” in message bus config file

Server v18.04 log has many of these: Sep 3 21:32:17 [pcname] dbus-daemon[1179]: Unknown group "power" in message bus configuration file What does this mean?
1
vote
0answers
436 views

can't add user to a group

I would like to add my usr ron to the docker group, so I did the following: ron@regDesktopHome:~$ sudo usermod -a -G docker ron ron@regDesktopHome:~$ groups ron Why does it only show group ron as ...
0
votes
0answers
29 views

How to allow AD Users to access Docker only

I have AD service on AWS and have Docker installed on one of the Ubuntu machines. My requirement is to allow only users who are part of a particular AD group to access Docker. I tried mapping the ...
0
votes
1answer
105 views

Automating removal of legacy entries in /etc/group

I'm removing entries in /etc/group programmatically. Because I cannot use grep, cat, or cut for this exercise, I wrote my own program that can produce stdout and stdout data to essentially read a ...
1
vote
2answers
134 views

Setting Group Permissions

I have many users and two groups. Some of them are member of group1 and others are member of group2. I want to allow group1 to access all directories, and I want to allow group2 to access to specific ...
4
votes
1answer
6k views

Is it possible to use docker without sudo?

According to the answers of this question about docker, running it as a non-root is as easy as adding the non-root username to the docker group, and logging out and back in. And sure enough, when I ...
2
votes
2answers
194 views

`groups` and `groups $USER` show different groups (dialout is missing)

I have a problem opening a USB port /dev/ttyUSB0. The device node for this port is: crw-rw---- 1 root dialout 188, 0 juil. 25 17:18 /dev/ttyUSB0 It seems that there's a problem with groups command ...
0
votes
1answer
58 views

Why would 'groups' and 'groups [myname]' give different results?

I am have trouble getting docker to work, and I suspect it has to do with permissions and membership of the 'docker' group. I have run the command to add myself to the docker group sudo usermod -aG ...
0
votes
0answers
41 views

Change root display name

Renaming root is a bad idea, as it can break a lot of things. But how about changing the name that gets displayed in tools like ls or stat? For example # From drwxr-xr-x 2 root root 4.0K May 16 14:...
6
votes
1answer
479 views

Why did I need to *reboot* to change my group membership [duplicate]

Attempting to install MythTV on Ubuntu 18.04, I ran... sudo usermod -a -G mythtv roger ...and logged out and back in. This should be sufficient. But: my group memberships didn't change. I had to ...
5
votes
1answer
2k views

Why is my GID environment variable empty?

I try echo $GID but get nothing. However, I can get 1000 by using id -g, what's the differences between them ? id -u => 1000 id -g => 1000 echo $UID => 1000 echo $GID => The ...
2
votes
2answers
5k views

Edit Sudoers file to allow sudo rights to a AD domain group

I recently managed to get my Ubuntu Server 18.04 machine connected to my companies Windows AD. I am able to login with my AD credentials however I want to take it a step further... This is the ...
1
vote
1answer
811 views

useradd -g option doesn't seem to be working

I tried: sudo useradd -s "/bin/false" -g [existingGroupName] [userNameToAdd] After the command I looked it up in /etc/group, but the user is not in the [existingGroupName]. Why is that so?
0
votes
0answers
157 views

groupadd hangs while /etc/group.lock does not exist only works with -g param

I have a problem with adding group on ubuntu 16.04. I tried to add group using groupadd , but the tasks hangs until i kill it. before running it again i have to remove /etc/group.lock. and then when i ...
1
vote
1answer
90 views

How to know what program needs which group to be executed without sudo

In particular I want to create bridges dynamically, but without the need of running it with sudo. I think it's the group netdev. But is there, and I'm sure there is, a general answer to the question: ...
1
vote
1answer
379 views

Terminal shows that my user is only a member of its group, but it is not true - how to fix?

I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS). All terminals show that my sudo-able user is only a member of its group: $ whoami norbert $ groups norbert $ id uid=1000(...
0
votes
1answer
271 views

how give permission for reset apache without admin permission?

my user don't have admin permission and i do not want to give admin permission to them. how give permission that they see log and reset and change config in apache? is there apache admin group that ...
7
votes
1answer
717 views

What is the significance of the output of cat /etc/group? [duplicate]

When I run cat /etc/group on Ubuntu 18.04, I get this output: root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:syslog,singrium tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: ...
3
votes
1answer
386 views

Can a user also be a group itself?

In my Ubuntu 16.04 terminal, logged in as "john" (a normal user), I enter: john@ubuntu-server:~$ groups john Then the output goes: john: john adm ...... So I wonder how john can be a user and a ...
1
vote
0answers
41 views

User group membership appears to be empty [duplicate]

I appear to be having issues with group membership for the single user on my Ubuntu laptop. I found this initially when trying to access a USB stick and finding I was getting access denied. I checked ...
2
votes
0answers
34 views

Can I define a parent group and children groups?

In Linux is it possible to create a master group and some children groups? What is the problem? I need to give read permission to the users belong to group1 and group2. I cannot add all users of ...
2
votes
1answer
50 views

Delete folders owned by specific group?

I have loads of folders and files in the storage system, files and folders created by a specific group needs to be removed, but I can't find any smart quick way to do it. Not via find or anything.
1
vote
1answer
550 views

how should `id` and `/etc/group` be read?

This is a follow-up question to Why is a user not a member of their private group (UPG)? although the first question isn't really necessary to understand this one. The command id seems pretty clear......
1
vote
0answers
200 views

Why is a user not a member of their private group (UPG) according to the GUI? (although CLI proves the opposite…)

I downloaded the current iso file of Ubuntu MATE from the website. I did a completely fresh install of Ubuntu MATE 16.04 (specifically 16.04.5). the same is true for Ubuntu MATE 18.04 (specifically ...
2
votes
1answer
1k views

User not in group despite /etc/group contents

I added a new group (call it newgroup) sudo groupadd newgroup I then added my existing user (call him myuser) to newgroup sudo usermod -a -G newgroup myuser I log out and back in, and I check /etc/...
0
votes
1answer
96 views

Groups for logged in user are missing [duplicate]

I am seeing a weird issue with my laptop installed with Ubuntu. When I log in and enter a terminal, I am missing groups: ~$ groups ant If I explicitly specify the username, I see all the groups: ~$ ...
1
vote
1answer
250 views

Ubuntu logs me back in immediately after logout [closed]

A few days ago I noticed that when I log out of Ubuntu 16, the screens go black and then I am immediately logged back in again. I do not have autologin enabled. Observations of other strange ...
0
votes
0answers
27 views

File group has changed without me changing it

I was working with a file today that I don't own. I copied it to a /tmp folder, gave myself sudo permissions and then changed the owner to myself using chown. I then made my changes. Afterwords I ...
1
vote
1answer
2k views

How to recover from accidentally removing the sudo group

I am using Ubuntu 18.04. I accidentally removed the sudo group. Is there any way to recover from this? I still have access to the root account. I tried to add the sudo group again with the root user, ...
4
votes
1answer
2k views

Lost supplementary user groups for GUI login session

Ubuntu 16.04.5 Very weird situation - after Xorg crash, now every time when I login into Unity, my user account doesn't have it's system groups like adm, sudo, plugdev, fuse etc. But when I login on ...
4
votes
2answers
2k views

Secondary user groups not loaded

After the apt-get update and apt-get upgrade run few days ago, user groups are not applied properly to the currently logged-in user. I can see all the groups being properly saved in the /etc/passwd ...
1
vote
0answers
40 views

Users unable to access group folder

I have a folder in an AD login environment: drwxrwx--- 4 tbest3 cri-meltzer_anemia 102 Jul 11 11:06 Anemia drwxrwx--- 4 339776130 339820461 102 Jul 11 11:06 Anemia These two ...
2
votes
2answers
1k views

All of a sudden I'm getting permission errors

I'm running Ubuntu 16.04.4 LTS and facing a problem. All of a sudden I'm unable to edit files that I could before, I cannot run programs due to permission errors. I'm always logged in as a user ejaz ...
2
votes
1answer
771 views

How do I check that my users and groups are correct?

I have many Ubuntu-powered devices around me. As far I know /etc/group, /etc/passwd, /etc/shadow are created during installation, so they do not belong to any package: $ dpkg -S /etc/passwd dpkg-...
1
vote
1answer
403 views

groupmems asks for password for root

I have a few scripts that use groupmems to view and modify what users are in a group. The script runs as root. In Ubuntu 18, it has started to ask for a password, even thou I run as root: root@ubu18:~...
19
votes
3answers
4k views

After adding a group, logout+login is not enough in 18.04?

In ubuntu 18.04 with default desktop, behaviour of logout/login has changed: Previously on an Ubuntu system, when I find that I need to add my user id to some group, it was sufficient to sudo ...
1
vote
0answers
99 views

Can't delete user from group with ldapdeleteuserfromgroup

I have user accounts with usernames that are numerical (I know Ubuntu doesn't like that, sorry) In this case, I have a username 18000011 who is a member of the group students: ~$ groups 18000011 ...