Questions tagged [user-groups]
93 questions
78
votes
3 answers
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 users of that group but does not show the groups…
crokusek
- 1,012
- 1
- 9
- 12
68
votes
1 answer
How can I find out which user groups my domain user belongs to?
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 groups managed on the domain. I do not have remote…
codewario
- 872
- 2
- 10
- 15
50
votes
1 answer
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?
chown minime:www-data user-functions.php
ls…
user98645
27
votes
1 answer
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 prefer to not install additional packages.
Is there…
Zak
- 371
- 1
- 3
- 5
22
votes
5 answers
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 possible by using ssh as the transport, but if I…
matteo
- 4,199
- 6
- 20
- 22
18
votes
2 answers
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 sudo dip plugdev lpadmin lxd…
Grollo
- 283
- 2
- 6
14
votes
3 answers
groupadd: command not found
Cannot create a group in RHEL5. I get error groupadd: command not found.
tismon
8
votes
1 answer
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 particular purpose/role. Is that true? Like what?
doub1ejack
- 221
- 1
- 2
- 7
6
votes
1 answer
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 thegroupname myusername
usermod: group 'thegroupname'…
Louis Waweru
- 23,945
- 39
- 132
- 198
6
votes
2 answers
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/group doesn't reflect this.
i.e. I believe that on this…
thilina R
- 2,943
- 5
- 26
- 35
6
votes
0 answers
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 the value 0 ? Or will I only be identified as…
user2284570
- 1,799
- 7
- 35
- 62
5
votes
1 answer
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/group | grep…
elxordi
- 153
- 5
3
votes
1 answer
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 has x and the other has ! and an extra user.
What…
drjrm3
- 1,476
- 6
- 26
- 44
3
votes
1 answer
Permissions for 'Sites' folder (apache) are wrong
My head is a bit mashed over this.
I have moved from MAMP to using Mac's own AMP stack, and have got it working, but just CANNOT get the directory permissions right.
My localhost points to ~/Sites and my username appears to be user (in that in the…
al_manchester
- 33
- 1
- 3
3
votes
1 answer
How to add user back into Administrators group in Windows 8.1?
I stupidly removed myself from the administrators group in Windows 8.1 and need to add myself back in (note that I'm using a local user account).
I booted into the recovery console and have tried the following:
net user administrator…
Ben Foster
- 171
- 1
- 1
- 6