Questions tagged [group]

All about Unix groups and access control.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
25 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
38 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
34 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
22 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
24 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
18 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
74 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
15 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 $...
0
votes
2answers
76 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
61 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
23 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
75 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
24 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
45 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
10 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
26 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
45 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
14 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
19 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
41 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
21 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
62 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
52 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
29 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
111 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
13 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 ...
0
votes
0answers
11 views

Should a service like zookeeper be allowed to sudo?

Just came across this nicely written advice: How To Install and Configure an Apache ZooKeeper Cluster on Ubuntu 18.04 and found it works smoothly. However, as it creates a separate user zk for the ...
3
votes
0answers
97 views

Polkit not working when trying to reload nmcli connection

I'm currently working on an Archlinux system and I try to configure rules used by polkit so users inside network group are able to run nmcli commands. I've create a polkit rule as follow : polkit....
0
votes
1answer
37 views

Transfer a file between different users: best strategy?

I have a program that is doing some stuff. It is running under user A. A very little part of it is to transfer a file to a directory in the home of user B. The transfer is done by a API-call of the ...
0
votes
0answers
23 views

How to find when a Group is created on the system?

I am wondering how to find any information about the timestamp of group creation on our system? This article really helped me to trace back the user creation, but not for group. Any helps really ...
-2
votes
1answer
58 views

How to know which users / groups can safely be deleted?

UPDATE: So far no one has been able to answer the question, the responses i have gotten were what i predicted which i asked people not to reply with. When i ask them to provide support (proof) of ...
0
votes
0answers
15 views

User hirachy, One User can access others but among each other is no access

I need a User(Master) which has access to other Users(users) files. Master /|\ / | \ / | user3:user3 / user2:user2 user1:user1 The Users must not have access to each other, they all ...
0
votes
0answers
12 views

Group permissions and access of files in linux

I created a file in linux with name myfile then used chown myuser:mygroup myfile to allow the access of myfile to user and group both and group have a permission of read write and execute as well ...
0
votes
2answers
49 views

Remove user from group

I try to remove a user from the group ftp-users because I use the user to upload files to my webserver via my Netbeans IDE and it always changes the group of modified or new created files to ftp-users ...
0
votes
0answers
7 views

Is it possible to define different permission for different service by FreeIPA?

Now using Red Hat Identity Management as IPA solution. Will serve some products such as Jenkins, Github, Artifactory, etc. Now want to create different permission to different users for different ...
0
votes
2answers
74 views

Someone is locking /etc/group for a very long time - what to do?

I want to change something in /etc/group - namely, to add some user to some group. But something - I don't know what or who - has created an /etc/group.lock file. fuser /etc/group.lock gives nothing, ...
0
votes
2answers
124 views

Sudo does not persist on Debian 10

Sudo in Debian 10 is driving me mad. I have a clean, vanilla install of Debian 10. During installation, I've set a root password as well as created a normal user, let's name him "tom". Logged in as ...
0
votes
1answer
167 views

How to enable wheel group in solaris 11.3

I want to add user in wheel group but can not find wheel group in /etc/group file. Also i uncomment the line "%wheel" in sudoers file as: root@solaris:~# grep wheel /etc/sudoers ## Uncomment to ...
1
vote
1answer
148 views

sg: not found - Alpine Linux

I am trying to execute a command with a specific user group as described in the linked question (How to run a process with a specific group?) on Alpine Linux, but the system says "not found" ~/work $ ...
2
votes
1answer
29 views

Block commands at certain times of the day

I was wondering if anyone knew of a way to block certain commands from particular users/groups on any Linux distro (or most, if not all distros) at certain times of the day. What I would ideally like ...
3
votes
0answers
29 views

Restart user systemd after groupadd

I let systemd manage a service myservice in a user's homedir. When I add that user to a new group, the running service does not pick up that group. Even when restarting with systemctl --user restart ...
0
votes
1answer
176 views

How create a folder owned by specific username & groupname?

In mac groupadd command does not work: After $ sudo mkdir -p /a/b, a$ ls -l total 0 drwxr-xr-x 2 root wheel 64 12 Jan 09:46 b a$ pwd /a a$ a$ a$ uname -a Darwin user01vl 18.7.0 Darwin Kernel ...
0
votes
1answer
43 views

When can a process (with given uid/gid) write a file (with given user:group)?

I'm looking for a "logic statement" to know when file hello.txt owned by user1:groupA can be written by a process owned by user2:groupB. I currently see only those cases: the process can write it ...
0
votes
1answer
32 views

trying to understand how to not include system groups in my list of groups

I am trying to list all the groups on a Linux system with simple cut -d: -f1 /etc/group | sort now if I am understanding right this will list all the groups in the file even the system ones, now how ...
1
vote
0answers
116 views

User not in AllowUsers can ssh

I have the following at the bottom of a usual /etc/ssh/sshd_config Match Group sftpg ...
0
votes
0answers
41 views

Why cant I change this systemd units user and group?

This was installed from a deb on ubuntu 19.04 and worked fine but was running as root which I wanted to change. Here is the unit file systemctl cat edvrserver.service # /run/systemd/generator.late/...
0
votes
1answer
119 views

disable microphone and camera for a user

Is there a simple way to denied access to camera and microphone to specific user? A solution using as shown here Disabling Web camera is not really suitable as other users need to renable-it via sudo ...

1
2 3 4 5
11