Questions tagged [groups]

The idea of groups exists across all major operating systems. Groups are objects that contain other objects, usually users. This allows for simplification of access control assignments when many people need access to the same resources.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

How can I restrict access to Linux server shared directories based on groups?

Say I have a shared directory "SHARED" on my Linux server, and sub-directories like "REPORTS", "PROJECTS" etc. "REPORTS" belongs to the group "MANAGERS". Every client in the LAN (LDAP logged-in) ...
1
vote
0answers
13 views

Autofs and udev rules to restrict usb permissions to groups

I need some help trying to figure out how to restrict the reading and writing access of usb devices. There are two groups on my system: usbreaders: only should have rights to access and read the usb ...
0
votes
0answers
14 views

Why Can't I Access my Azure Resource Group for SQL Database?

I have been trying to access my Azure Resource Group for SQL Database without success for the past 3 days. Each time I try to access it, I'm being asked to sign up for a free account and when I try to ...
0
votes
1answer
44 views

After adding user to a group, can't tell if I'm in it or not?

I added a group called developers sudo groupadd developers then added myself to that group $ sudo usermod -a -G developers nick.weavers Then I issued the command groups to check I'd been added, ...
6
votes
1answer
54 views

In what ways can access token update be triggered for administrator accounts on workstations?

This scenario emerged when changing the domain group membership that bestows membership in BUILTIN\Administrators. In particular, the group membership for the administrator did not update on the ...
0
votes
1answer
59 views

Outlook team calendar in overlay mode

Scenario: We are 4 employees in a team and are using outlook for emails and calendar. We as a team want to be able to have one single calendar view that displays: - the events where our whole team is ...
0
votes
1answer
26 views

hyper-v availability group

We are setting up SQL AG's (availability groups) on Hyper-V. We want to use SQL Server for HA and DR. IE:- We want SQL Server to perform failovers between SQL replicas, we don't want SQL and Hyper-V ...
0
votes
0answers
49 views

Cannot execute pip, even with correct permissions

I am looking to run pip that is located in a conda environment here: /opt/conda/envs/myenv/bin After activating the conda environment and running pip: $ conda activate myenv $ pip --help I ...
5
votes
2answers
69 views

Linux complex file sharing between users [closed]

Let's start with the elephant in the room: I have no formal training and I've been given a couple of small servers to manage for various, off-topic reasons. This to say that my knowledge is patchy. ...
2
votes
1answer
319 views

Ansible user module fails when group parameter matches name parameter (e.g. creating user & group name)

Trying to create an Ansible playbook to create a user (user module) on RH/Cent system (e.g. useradd). The playbook fails anytime I include the group parameter despite setting the group value to ...
0
votes
0answers
19 views

Delay getting user's groups in web app when on VPN

I'm asking this as a web developer, but I suspect the problem has something to do with network or domain configuration. I'm working on a couple of ASP.NET web apps that I debug in IISExpress on my ...
1
vote
0answers
31 views

PAM LDAP add user to mail group

I've mount a LDAP Server (Debian) using PAM to let my clients connecto via SSH. I'd like to add them to the mail group o let them use the mail somehow. I've tried to create a new CN with gidnumber=8 (...
0
votes
1answer
52 views

SSH Gateway for accessing remote ssh servers

I am currently have multiple users accessing multiple customer servers with ssh access (which all only allow access from our public office IP). This kind of gets annoying if a new employee enters the ...
1
vote
0answers
23 views

Is delegating a granular “Modify permission” on a group possible?

A certain user "x" has below permissions on a group "g"; -> Read/Write all the properties on group. -> Delete the group. Need to add "modify permissions" on the group "g" for user "x" ; but the only ...
2
votes
0answers
512 views

Local groups mapped to AD users via groups.conf working - but only with ssh login

I'm running a Samba Active Directory domain with Ubuntu 18.04 clients. I used the /etc/security/group.conf file to successfully create a mapping for domain users to the "dialout" group. I tested it ...
0
votes
2answers
71 views

Unable to remove user from group

Sometime ago for who knows which testing purposes I added www-data to a group of developers called devs. I want to remove it now but it don't let me with the following message: $ sudo deluser www-...
0
votes
0answers
89 views

Incorrect list of groups membership for one user

On one of my servers, my user has a strange problem of group membership. When using id or groups without arguments, the list of groups includes those from the root user, and groups common to my user ...
0
votes
0answers
397 views

CentOS 7 local repository working for clients but unable to do yum groupinstall(s)

Our internal repository (CentOS 7 mirror) is working with the exception of the groups. I've had a request to convert some of our cli only boxes to a gui and using yum grouplist on any other client ...
2
votes
1answer
1k views

Why is the “Domain users” group missing from this PowerShell AD query?

I ran the following PowerShell script to compare a list of groups.... $dasMem = Get-ADUser -Server "<some-srv>" -Identity "<some-usr>" -Properties MemberOf | Select MemberOf $blahx = $...
1
vote
3answers
2k views

Get list of users in a group in FreeBSD

How to get a list of usernames assigned to a group in FreeBSD 11.1? This Question asks for a list of users or a list of groups. This Question asks for users who happen to be members of multiple ...
2
votes
1answer
272 views

How Apache and ProFTPD should work together, users and groups ect

I have Apache server running on apache:apache and ProFTPD running on ftpuser:ftpgroup, all my websites are under /var/www/ which is owned by root:root. So the question is when I create a new website ...
-1
votes
1answer
4k views

sudo user is not allowed to execute systemctl

I'm trying to allow a user to use sudo to manage a custom systemctl service, this however seems to fail and I can't figure out why. [root@testvm sudoers.d]# ll total 16 -r--r-----. 1 root root 334 ...
0
votes
1answer
1k views

Windows users/groups - Anonymous Logon, Everyone, Guest - what is what?

During installing and scheduling connection via DB-links, I've come accross settings permissions for the libraries (DLLs) for the account/group Everyone and account/group ANONYMOUS LOGON. So far, I ...
1
vote
4answers
145 views

Do not show all docker containers to a particular user

I want to use one server to host multiple docker-containers. I want to give another user a possibility to manage new docker-containers, but I do not want to give him access to all other containers, ...
0
votes
2answers
3k views

How can I list all of the groups given user belongs to in the samba4 domain?

I have a samba4-based domain. How can I list all of the groups to which given user belongs? I know I can go the reverse way - iterate via all the groups [ samba-tool group list ] and see their ...
0
votes
0answers
329 views

php-fpm cannot acess unix socket

I'm using different PHP-FPM pools with specific users each one. I just switched memcached to use a socket instead of tcp/udp ports (for many reasons including the recent attacks on the 11211 port). I’...
-1
votes
2answers
84 views

In AWS VPC subnet id changed

I deleted the default subnet in my VPC and tried to create new. After creating the new subnet it showed a different subnet id, as you would expect. When I try to create subnet group in RDS the ...
0
votes
2answers
1k views

How to allow standard, non-admin, Active Directory users access to Docker without making them sudoers?

I have a compute server with users that authenticate over AD. I want these users to be able to use Docker without making them sudoers. The official advice is to add users to the docker group, as "[w]...
0
votes
0answers
70 views

Is changing roots primary group dangerous?

Currently in CentOS 7 the root user's primary group is root. What harm would there be in changing roots primary group to group. usermod -a -g group root The purpose just to clarify in case there is ...
0
votes
1answer
13k views

How to list active directory groups in linux for a given user, one per line, knowing that some group name contain a space character

When using "groups" or "id -Gn", I end up with the typical space-delimited list of all groups for the current user. These commands run on the assumption that group names cannot contain a space ...
1
vote
1answer
2k views

reorder group order in Linux

I have a lot of groups (20) associated with my Linux account. I've learned that to use the groups near the end of the list I need to use the 'newgrp' command so that my particular group shows up at ...
0
votes
0answers
53 views

groupadd on Ubuntu 16.04 with PBIS Open stuck with 100% CPU

I have Ubuntu 16.04 servers and workstations which are members of an Active Directory domain, using PowerBroker PBIS Open versions 8.5.0.153 and 8.6.0.427. When I try to add a local group using ...
2
votes
1answer
904 views

CentOS 7 Default Groups that are safe to remove

Problem I would like to know the purpose of each group and what type of issues would occur if the group is deleted. CentOS 7 comes the following default groups (courtesy of @HBruijn) # rpm -qf /etc/...
0
votes
1answer
45 views

User gets new group membership only after reboot (not after re-login)

I tried to add myself to the group kvm by executing the following command: addgroup matthias kvm I completely closed my session and logged in using gdm3 again. But still I don't seem to be part of ...
0
votes
1answer
62 views

Hostname based traffic routing to ips and ports

Need to figure out a safe setup that allows me to control traffic based on hostnames. For example at the moment I am dealing with a small list of people on a small machine. Every one of this persons ...
2
votes
0answers
613 views

How can I start puma under a specified user/group?

I'm using Rails 5 and the Puma 3 gam on CentOS. Is it possible (and how?) to specify the user and group under which puma runs when it is started? I need to start it with the appropriate user/group ...
0
votes
1answer
838 views

Cannot add guest to O365 Group from Outlook 2016

According to the documentation here group owners should be able to add guest users to O365 groups. In my case, I see an error stating We couldn't find the person you were looking for However, I ...
2
votes
1answer
70 views

`Default Users` default group missing in user search result

I am trying to retrieve groups for a given MS Active Directory user using Java LDAP. When searching, I use the memberOf filter. The Default Users default group doesn't appear in the search results. ...
0
votes
2answers
100 views

Permissions, ownership, and grouping changed for no good reason in webapps

I have an Ubuntu 16.04 Nginx server environment with several (WordPress) webapps under /var/www/html. My Nginx user is www-data. Each time I add A webapp, I execute: chown www-data:www-data /var/...
-1
votes
1answer
1k views

Standard groups and users on RHEL 7 base

Could anyone provide me with a list of the default groups and users which ship with RHEL 7.x base installation?
5
votes
2answers
2k views

AGDLP: global vs local groups for job/role groups

I believe I do understand the what I've read of AGDLP. However, what I've read doesn't explain the advantage of using global groups for business role / job function or the disadvantage of using local ...
1
vote
1answer
5k views

Separate users in two groups (staff and guests) in FreeRADIUS 3

I have a FreeRADIUS (3.0.15) server for WPA authentication (PEAP + MSCHAPv2) and everything works out of the box even though it feels like it would take a lifetime of study in an enclosed monastery to ...
0
votes
1answer
632 views

Server 2003 List AD Objects in OU

I need to list via command line objects within an OU. I know I can use "Export List" in the GUI, but I'd rather be able to do it via CLI as well. I can use a combination of dsquery piped into dsget ...
2
votes
0answers
355 views

It is any way to add dynamic attribute to openldap user when it on group?

I'm searching way to implement automatically add some attribute and value (identical for all) in search response for user, if user is member of group (memberof overlay is enabled). For example: User ...
0
votes
1answer
514 views

Get-AD GroupMember from a list of users in a csv

I have a list of users in a csv file, they are the displaynames. I wrote the following but all I get back is the displayname not the memberships what is needed? $csv = Import-CSV "c:\users.csv" ...
0
votes
1answer
196 views

Linux: group disappeared from user's group list - Ubuntu 16.04

I'm on Ubuntu 16.04 server edition. I had my user added to dokku group 2 days ago just to do periodical postgres backup without needing provide password in cron. I've added user to dokku group by ...
1
vote
0answers
255 views

wmic GroupUser where OR not working

These 2 statements, where the only difference is the order in the conditional, give different results. What is the reason for this behavior? Is my usage of OR incorrect? wmic /Node:%computername% ...
3
votes
1answer
1k views

How can a file moved to a directory with GID-bit set inherit the group ownership

Problem I know that a file that is created in a directory with the GID-bit set it will inherit the diretory's group ownership. This however doesn't work for files that are moved to that directory as ...
0
votes
0answers
25 views

Is $GROUP supposed to be populated by default on Linux?

I'm running a 3rd party install script on Centos 7.3 and its failing because $GROUP is not populated. [vagrant@puppet vagrant]$ echo $USER vagrant [vagrant@puppet vagrant]$ echo $GROUP [vagrant@...
8
votes
2answers
10k views

Does Linux keeps a cache of groups members if on LDAP ? (Difference between groups vs getent group))

Our users and groups LDAP configuration is working. Our server is using LDAP to store users and groups. # /etc/nsswitch.conf : passwd: compat ldap group: compat ldap shadow: ...

1
2 3 4 5
9