Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
42 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 ...
1
vote
1answer
16 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 ...
0
votes
0answers
23 views

Centos httpd with vsftpd

Currently got a VPS setup with CENTOS 7 to serve as a web server. Httpd is all setup and working and so is vsftpd. Getting logged in no bother and wordpress pages showing as required. The problem is,...
-1
votes
1answer
86 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 ...
-2
votes
1answer
101 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 ...
0
votes
0answers
23 views

Any Issues Setting Active Directory Groups Up This Way?

I am looking into restructuring our AD Groups Infrastructure and am having a hard time find the best way to reorganize. The reason this is a unique challenge is because of our employee roles. No two ...
1
vote
4answers
102 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
239 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
71 views

powershell - get from ad group user name and they group

in my AD I have security group "Citrix" and in this group I have added a lot of groups "Citrix 1", "Citrix 2", and more... in this group has add users. I need to get information with powershell users ...
0
votes
0answers
165 views

Values of Get-UnifiedGroup Output Property 'ProvisioningOption'

Our client who uses an Office 365 for Education tenant has asked us to determine how many Teams they currently have. The way we thought to do this is to extract a report of all Office 365 Groups and ...
0
votes
0answers
92 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
59 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
1answer
216 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
37 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
0answers
2k 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
375 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
29 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 ...
1
vote
1answer
100 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
32 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
0answers
350 views

Grant access to Tomcat Manager Application by LDAP-Group

We do have many Tomcat instances. For the reason of easier administration of these instances by different administrators all instances are connected to LDAP/AD. According to https://tomcat.apache.org/...
0
votes
1answer
23 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 ...
1
vote
0answers
245 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
0answers
102 views

LDAP User groups ignored by Filesystem (for some users)?

I have set up a Centos 7 server with ldap (client) and samba that authenticates the users with our openldap server. I have created a group XX_XXX on the ldap server (which isn't administered by me). ...
0
votes
1answer
476 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 ...
3
votes
1answer
52 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
0answers
343 views

User in network can't use a batch and vbs scripts

I have number of users under the same group with permissions to run a specific batch script that copies a folder from a Network mapped Drive to the user local drive, but for some reason one new ...
0
votes
2answers
55 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/...
-2
votes
1answer
338 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?
4
votes
2answers
586 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 ...
0
votes
1answer
2k 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
241 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
212 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
71 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
125 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
183 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% ...
2
votes
1answer
537 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
19 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@...
3
votes
2answers
4k 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: ...
0
votes
1answer
662 views

Get SID for each member of a local group

On an Active Directory domain member running Windows 7 I have a local group. It has users and other groups as members: How can I obtain the SID for each member of this local group? I'm aware of the ...
2
votes
2answers
96 views

Active Directory groups and local builtin groups: any best practice out there?

We are running an Active Directory consisting of several different Windows machines (Vista, Windows 7, Windows 10, 2008 R2, 2012 R2, ...). I have to come up with a concept that allows for granular ...
0
votes
1answer
45 views

How to create an account, that can not login?

Our Unix systems rely on corporate AD for authentication and authorization. We need to create a few "role" accounts, which shall not be able to login themselves, but to which other accounts (...
0
votes
2answers
218 views

Read/write permissions for /var/www?

I've got a Debian 8 server running where /var/www is owned by www-data and has the permissions drwxr-xr-x for both, files and subdirectories. Since I need to upload files via SFTP (public/private key ...
0
votes
2answers
230 views

Apache and user write access to the same file

I have looked at multiple questions about this issue and very few are resolved. Basically I want to allow both my user and apache (www-data) to modify a file without using chmod 777 permissions. I ...
0
votes
1answer
168 views

How to add an existing VM instance to an instance group to enable autoscaling?

we have two VM instances running in Google Compute Engine. The first one is running NodeJs instances that connect to a mongodb server installed on the second VM instance. Those have CPU higher running ...
2
votes
1answer
9k views

“Failed at step EXEC spawning” even with proper group permissions

I'm setting up permissions for a basic web server, but having some difficulty with starting the server with systemd. In my job description, I set the user and group to "foo", as follows: [Service] ...
0
votes
1answer
349 views

LDAP: Posix group alias

I have a group in my LDAP ('devteam') that I use for login on all machines of the parc. I would like all these users to also belong to the group 'docker', that allows them to manipulate the docker ...
-2
votes
1answer
208 views

How to specify the group in chmod +g

OS RHEL4AS I have a group of 2 users called cgrp I need it to have certain permissions over folders that need to retain their current ownership (root:root) I need to set for just users of the cgrp +...
3
votes
3answers
2k views

Windows server. The difference between organisation units and groups? (Active directory)

So they are both objects that you use to organise other objects. You can add users, groups and computers to both of them. What is the difference between them? What is the best way to divide users and ...
1
vote
0answers
29 views

What knob in Windows can I turn to permit a user to create local groups?

I am aware that I can make a user an administrator on the local windows server and that user can then create local users and local groups. However, what if I want to only give a user the ability to ...
0
votes
1answer
2k views

Unable to retrieve users from AD on VMWare vcenter

I have added the AD successfully from the vcenter console and also configured the Single Sign On. When I try to retrieve the users from the AD, I first set the domain in the Users and Groups tab, ...