Questions tagged [group]

All about Unix groups and access control.

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

Is the order of user groups important?

I have a user named "black", he is in these groups. groups black black: www-data sudo Some auto generated files are getting created with the group "sudo" instead of www-data, so I ...
1
vote
1answer
33 views

Group does and doesn't exist but can't be added because it exists

I'm trying to add my user to the libvirt group but I can't because it doesn't exist. I also can't create the group because it does exist [core@localhost ~]$ sudo usermod -a -G libvirt $(whoami) ...
0
votes
0answers
28 views

Group does not show up in groups command

I added a new group. Then I logged out, and logged back in, but the groups command does not show the group. If I try to add the group, I get an error. What gives? me@z80hd2:~$ groupadd sdk_users ...
0
votes
0answers
10 views

OpenLDAP: Deleted user is still listed in the group. is there security risk with this condition?

I have a similar problem as described in a previous question and there was great answers posted to the original question: OpenLDAP: Deleted user is still listed in the group However, I want to ask a ...
1
vote
1answer
50 views

Firejail overlay permissions and ALSA no sound (wrong group in container/jail)

I'll try to be brief and concise. I want to run programs that require ALSA with firejail profiles but it probably doesn't have the permission or ability to access the soundcard for some reason ...
1
vote
1answer
51 views

Too few IOMMU groups - split?

I bought AMD RyZEN 5 2400G, Gigabyte B450M D3SH and 16GB RAM. Some elder GPU AMD Radeon HD 6XXX I took for passing through. But I was unpleasantly surprised with the IOMMU grouping. I put the GPU in ...
1
vote
0answers
21 views

Missing group entry in gshadow

I recently installed ArcoLinux (Arch), but I am not familiar with a lot of the core linux functionality. I noticed that the service shadow.service failed. The following is the output of systemctl ...
0
votes
0answers
13 views

How to change permission to directory with Active directory groups on RHEL?

We have to setup server with RSTUDIO-SERVER Pro and wanted to maintain the security: We have two folders created one is in /FOLDER1 and another is under /usr/FOLDER2 We have two AD groups created as ...
0
votes
0answers
39 views

SGID on folder does not affect files

I have set sgid on a folder with user dgillman (me) and group voice. When I touch a new file it has my group, dgillman, instead of inheriting the group of the folder, voice. I can't find any ...
3
votes
2answers
73 views

Linux list only selected groups a user is part of? [duplicate]

When I use the command groups userid it list out over 100 groups currently assigned to the user. I need to list only the groups that contain abc. When I do groups userid | grep abc In the output all ...
0
votes
0answers
136 views

Systemd and group credentials: failed at GROUP spawning

Recently, one of my servers running Deb 10 stopped responding to everything except SSH. After solving an issue where the filesystem was read-only due to a botched fstab, I am now met with almost all ...
0
votes
0answers
18 views

id/groups inconsistent with members/getent

I was just suffering from the situation that one LDAP user john lost its group memberships. Things were working for years and it happened out of a sudden. No configuration was changed. This is what I ...
0
votes
1answer
22 views

Setting permissions on files and folder - is folder perms inheritance always implicit?

Objective: Creating a folder on the root, chown to group and add users to group - but users get too wide permissions! Consider the following: # as root # we need a user group groupadd team1 # we ...
0
votes
2answers
58 views

How can I find out if the current user is in a specific group?

If I type groups I get a list a back, $> groups ecarroll cdrom floppy audio dip video plugdev netdev bluetooth docker How can I find out if the logged in user is in a specific group?
0
votes
1answer
36 views

Newbie Question on Permissions

I am really new to Linux and having just brought a Raspberry Pi I decided to run a simple apache server. I found a simple tutorial on how to install and setup the apache server which is what I have ...
1
vote
0answers
41 views

I don’t have read permissions on a file but I can read it

I have a file owned by a different user with permissions 440. When I do ‘groups’ I don’t belong to the group of the file, but when I do ‘groups my_username’ I do. Why am I able to open the file if my ...
0
votes
2answers
67 views

I'm not in “wheel” group, but I can “su -”

I don't understand. In BSD if I want to run su -, I have to add myself to wheel group. Is this not true in Linux? [test@centos ~]$ uname -a Linux centos 4.18.0-193.19.1.el8_2.x86_64 ... [test@centos ~]...
8
votes
1answer
965 views

How many users can be member of a group in Linux Debian 10 x64?

I know Linux has some limitations for the number of groups a user can be part of. I found out that it is 16 groups for each user, and depends on the Linux kernel. However, is there any restriction for ...
0
votes
1answer
19 views

Creating a group specifically for password manager, how does that work?

When you use a password manager (client side) on linux, I read that you should place the password database in a directory with OWNER and GROUP "passman" or something. Then do the same to the ...
0
votes
2answers
155 views

Is it valid for two groups to have the same name (but different gid)?

I encountered a strange problem today while installing the "passenger" web server on a centos system. The server was failing to set the GID for a directory that it created, even though it ...
0
votes
2answers
14 views

creating a directory tree on a remote machine with a specific group ownership

I just struggle with the problem that I want to create a directory tree on a remote machine in which all directories have a certain group ownership. Furthermore, I explicitely want to have parent ...
0
votes
0answers
17 views

Unable to add myself to audio group [duplicate]

I tried $ whoami dims $ groups dims adm cdrom sudo dip plugdev sambashare lpadmin lxd $ sudo usermod -a -G audio dims $ groups dims adm cdrom sudo dip plugdev sambashare lpadmin lxd and I am still ...
0
votes
1answer
34 views

Why is there no /group/<groupname> directory?

Would it be beneficial to have a directory structure analogous to /home/<username> for groups? /group/<groupname>. The individual group directories would be owned by the group and ...
-1
votes
1answer
63 views

What is the point of a system user?

Ok so when you look at the system user the point of the system user is to run services with minimal permissions, and to have a user that doesn't have a password or ssh. The issue I have with this is ...
0
votes
0answers
36 views

Group has correct permissions and user in group, but cannot access folder

I'm trying to access a folder but I'm not allowed to. The folder (folderA) permissions: $ ls -l drwxrwx--- 6 someuser groupA 4096 jul 24 21:26 folderA The users in the group (groupA): $ grep '...
2
votes
1answer
34 views

Why are user groups not updating when logging out and in again?

I've just installed Arch Linux, and configured a user to be a member of the "network" group. newgrp network works, but after logging out of GNOME and back in again I still just have the old ...
0
votes
1answer
35 views

stickybits setgid not working

I have structure like: /home/reed/, user=reed, group=reed - apache-conf, user=reed, group=reed - apache-web, user=reed, group=apache, perm=0770 - www.website.com, user=reed, group=apache, ...
0
votes
0answers
38 views

Add a user to a not existing group having only gid

I am trying to solve an issue with docker volumes permissions. Here is a solution which describes how to solve it efficiently. The last steps: RUN addgroup --gid 1024 mygroup RUN adduser --disabled-...
0
votes
2answers
83 views

Which type of group is it when to create them?

There are two type of group concept in linux :primary vs secondary groups,it is simple to create a new group: sudo groupadd gname Now i want to know the new created group gname belongs to which type ...
0
votes
1answer
17 views

Group owner of ext4 filesystem changed

Having changed from using a Ubuntu-based operating system to using an Arch-based one, all of my ext4 volumes and everything in them have changed from being owned by $USER:$USER to now being owned by $...
3
votes
2answers
1k views

Primary vs secondary groups in Linux

What is the difference between the primary and secondary group? Why is there a need for a primary group? Are the user's permissions the same as the primary group permission? Assume there is a user A ...
0
votes
2answers
67 views

Linux file folder permission between 2 users

I can use some advice on setting permissions on Linux. I would like to grant a folder owner r-w access to files created by another user in the folder. This is what I have so far. The user silver is ...
0
votes
0answers
62 views

linux squid kerberos group filter with ext_kerberos_ldap_group_acl

i setup a new squid under redhat 8 and follow the instructions on Redhat 8 Squid under 6.3. All fine. Kerberos authentification works. Now i want to limit the users on a specific group. So all users ...
-1
votes
1answer
523 views

i need to generate ansible-playbook using jinja2 with csv file in ansible

i need to create jinja templates to generate ansible playbook for that i need to read datas from csv file csv file is similar to below(file name ansi.csv) aaa,bbb,ccc,ddd aa01,ansi,directory,yes aa02,...
0
votes
1answer
23 views

Why does a user session have to be completely closed when groups change? [duplicate]

Adding a user to new groups in linux is easy -- you just need the following command: # adduser user group But this doesn't really do anything till you log off and then log in anew. When you have a ...
2
votes
1answer
104 views

Groups from LDAP: “getent” reports membership correctly but missing in output of “id”

I have a Debian 10 machine which uses PAM LDAP for authentication. In LDAP I have two users alice and bob which are both members of group mygroup. Everything has worked fine (so the configuration ...
0
votes
3answers
56 views

Two Groups Separate Permissions, One Directory?

New to this and will try to make it as easy as possible. I have an IT group, and a Marketing group. I want both groups to have access to the same directory (which is Retail). What I want to do is give ...
0
votes
0answers
13 views

'groups' vs 'groupent' - can't copy into directory despite group membership

Can someone please explain why the following happens? lloydb@lloydb-ASUS-z390-A:~$ whoami lloydb lloydb@lloydb-ASUS-z390-A:~$ getent group vboxusers vboxusers:x:127:lloydb lloydb@lloydb-ASUS-z390-A:~$ ...
0
votes
1answer
42 views

What permission does the “lock” group in /etc/group grant?

I'm running Fedora. $ ls -l /dev/ttyACM0 crw-rw----. 1 root dialout 166, 0 Jul 4 10:50 /dev/ttyACM0 I was not able to access /dev/tty/ACM0 (dynamic usb serial with an Arduino on the other end), ...
0
votes
3answers
54 views

User and Group Management

While working on Linux Essentials, I was experimenting with removing a user (me) from a group I created. Following online instructions, I ended up deleting myself from all the default groups and my ...
0
votes
0answers
18 views

Extra LAN connections: Looking for unauthorized groups in Ubuntu 20.04

I have a fresh install of Ubuntu 20.04 and would like to know if any of these groups could be an indication of network intrusion from a cyberattacker through a LAN or a share connecting to a remote ...
0
votes
0answers
24 views

systemd doesn't find nis group while applying rule for virtualbox usb support

I'm wondering why my Debian system doesn't allow to make use of the nis group vboxusers. systemd writes into syslog: Jun 18 17:58:30 wiets systemd-udevd[313]: /usr/lib/udev/rules.d/60-virtualbox.rules:...
1
vote
0answers
14 views

vncserver has to be restarted to see new unix groups

I have been using VNC to remote desktop into my linux work machines for at least 15 years now. When I am added to a unix group, I have simply started a new terminal on my VNC. I have recently switched ...
1
vote
1answer
51 views

How to apply group change via the dir's setgid bit when moving files with 'mv'?

$ mkdir test $ chown gtgteq:users test $ chmod g+s test $ touch test/a $ touch b $ mv b test/ $ ls -l test total 0 -rw-r--r-- 1 gtgteq users 0 a -rw-r--r-- 1 gtgteq gtgteq 0 b How to change ...
0
votes
1answer
23 views

Group permission denied

Good time of day, my dear friends. I've got a user "http" with group "http", a dir "drupal-8.8.5" inside /home/yasuostormrage with 777 permissions for yasuostormrage:http, but there's a problem: user ...
0
votes
1answer
64 views

service user unable to create/modify files in directory they own [duplicate]

I must be missing something. I created a service account that will run a script I created as a cron job. The script links files to be processed to a watched folder. The script worked fine running as ...
0
votes
0answers
269 views

How to add LDAP user to a local group?

We are trying to add a user in Azure AD to a local group but when we do that we get this error #-> gpasswd -a sjain68 docker gpasswd: user 'sjain68' does not exist It is true this user does not ...
0
votes
1answer
30 views

How to set group to a module automatically?

I'm working on an embedded system with linux 4.19. I have written a custom driver in a module MyDriver.ko. At startup, the module is automatically probed by the devicetree and it appears in /dev. # ...
0
votes
1answer
333 views

Why whoami always returning “root”?

After a hack, a dedicated server always return "root" following whoami command. Even after a sudo su myUser > whoami return "root". myUser exists on the server, because regarding this issue passwd ...
0
votes
0answers
17 views

same NAS, same folder, but different groups showed in two different hosts, why?

I have a strange behaviour with a shared NAS between multiple hosts. Every host reaches a shared folder mounted on /sharedfolder on the same source (##.###.###.###:/filesystem, where ## are the ...

1
2 3 4 5
12