Questions tagged [user-groups]
The user-groups tag has no usage guidance.
94
questions
80
votes
3
answers
334k
views
How to list the users and groups of an AD Security Group when not a domain admin
I am on Windows 8 connected to domain.
I wish to view the users and groups of an AD Security group. I am not the owner of the group. The command:
net group /domain TheGroupName
shows the direct ...
72
votes
1
answer
305k
views
How can I find out which user groups my domain user belongs to? [duplicate]
Running Windows 7 on my work PC, how can I check which groups I am a part of on the domain from my PC? I know how to check the local groups using MMC (Microsoft Management Console), just not the ...
50
votes
1
answer
156k
views
chown - Operation not permitted
I'm logged in as minime.
I don't understand why it doesn't allow me to chown file that I own without su privileges. Obviously I can use sudo, but I'd like to understand why? because of www-data group?...
32
votes
1
answer
66k
views
usermod equivalent for Alpine Linux
I'm building a Docker container, and I need to add my user to a group. usermod is not available in Alpine Linux by default. Apparently, you can add shadow from apk to install usermod, but I would ...
22
votes
5
answers
39k
views
How to arbitrarily map user/group ownerships in rsync
I need to rsync a directory to a remote server so that all files belonging to user X and group Y on the source (local) machine are mapped to user W and group Z on the destination (remote) machine. If ...
18
votes
2
answers
3k
views
Why do `groups` and `groups $USER` give different results?
I want to add myself to the "docker" group. These are the commands I ran, and their output:
user1@laptop-p3510:~$ sudo usermod -a -G docker user1
user1@laptop-p3510:~$ groups
user1 adm cdrom ...
14
votes
3
answers
97k
views
groupadd: command not found
Cannot create a group in RHEL5. I get error groupadd: command not found.
8
votes
1
answer
13k
views
Do the psaserv and psacln groups have particular meanings?
I'm not well versed in server admin stuff, but I notice the user groups psaserv and psacli psacln come up all the time on different systems. I assume these group names are commonly used for a ...
6
votes
2
answers
45k
views
CentOS: View all users in a specific group
I added a user user01 to a group group01 using: usermod -a -G group01 user01
When I run in command id user01 it shows that this user has actually been added to the group.
However, the file /etc/...
6
votes
1
answer
19k
views
usermod returns "group 'thegroupname' does not exist" for known group
As a member of sudo can I add myself to a group I don't belong to?
$ getent group thegroupname
thegroupname:x:123794798:administrator,users,auser,moreusers,manymoreusers
$ sudo usermod -a -G ...
6
votes
0
answers
937
views
Does a process with CAP_SETUID and CAP_SETGID can always gain full root privileges?
If I have an executable file with CAP_SETUID and CAP_SETGID set inside xattrs file’s attributes.
Will I get full root privileges if such executable call setuid();setreuid();setresuid();setfsuid() with ...
5
votes
1
answer
2k
views
Why my linux account only belongs to one group?
I am currently using Ubuntu 18.04, and my username is abcxyz (not real, changed for the matter of the question). If I look at the contents of /etc/groups, my user appears in many groups:
$ cat /etc/...
3
votes
1
answer
9k
views
NixOS & NixOps declarative group management and services
Is it possible to manage groups in a declarative way in NixOS and NixOps?
I would like to be able to create a new group in a configuration.nix, and add users to it. I have not been able to find any ...
3
votes
1
answer
3k
views
What do '!', '*', and 'x' mean in getent group?
When I run getent group, I notice that some groups have *, some have ! and some have x after the group name. In fact, there are some groups which have the same name, the only difference is that one ...
3
votes
1
answer
6k
views
NFS Directory Group permissions not working
For some reason the users that are part of a particular group (with that group have rwx on an NFS directory) cannot cd in to that directory. I am at a loss here, there has to be something I am missing....