Questions tagged [user-groups]
The user-groups tag has no usage guidance.
94
questions
80
votes
3
answers
328k
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 ...
71
votes
1
answer
293k
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
154k
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
64k
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
38k
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
94k
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
925
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
8k
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
5k
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....
3
votes
1
answer
17k
views
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 ...
3
votes
1
answer
1k
views
Why is a new group not active after SSH login via tmux?
This is my situation:
I have added a new group to my user.
I have verified /etc/group is properly set up.
If I do su - myuser the group is shown with id -a
But login-out and login-in again (via ssh) ...
3
votes
1
answer
4k
views
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 ...
3
votes
1
answer
679
views
Add all LDAP users to a local group?
Is there a way to add every LDAP users to a local group on Debian ?
I have more than 1500 ldap users, and they need to be in local groups ('video', 'audio' and 'games') on some computers (Raspbian)....
3
votes
0
answers
1k
views
Share a directory with one (not all) other non-root user on Linux (no root privileges)
Is it possible to share a directory with one other non-root user, but only this one, without root privileges?
The system is Ubuntu with kernel 4.4.0.
I do not have root privileges.
The system has a ...
2
votes
1
answer
4k
views
Docker group assignment doesn't affect the user
I'm using Ubuntu 18.04. On the manual page on how to use docker without sudo it is written that user should add himself to the docker group and perform logout/login for changes to take affect. I ...
2
votes
1
answer
6k
views
German names for windows groups?
I'm looking for windows groups names in german language, due I have to configure something with accesschk on Windows 10 Pro. I get errors which tell me that the names are not valid.
Maybe here are ...
2
votes
0
answers
453
views
How do I fix a quantum group membership? (I'm in the group, unless I look at the group, in which case I'm not in the group)
This happened (explanation on how we got to this below):
PS C:\> Add-LocalGroupMember -Group "Network Configuration Operators" -Member myuser
Add-LocalGroupMember : MYLAPTOP\myuser is ...
1
vote
2
answers
2k
views
Linux permissions: Users, Groups, Others, white list or black list? And help sharing directories with full, partial, and no permissions
Update: for my general purposes, what I figured out here is good enough: UPDATE: https://raspberrypi.stackexchange.com/questions/13401/locking-down-raspbian-to-only-allow-limited-features/58778#58778
...
1
vote
3
answers
3k
views
What's the point in having each user belonging to her own group in linux?
Wouldn't it be simpler to adequately set the umask and avoid polluting the group file?
1
vote
2
answers
2k
views
Linux user group folder permissions
I have a basic linux file permissions question:
I have a folder named test:
$ ls -la
drwxr-xr-x 5 root root 4096 2010-10-25 17:11 .
drwxr-xr-x 17 root root 4096 2010-10-25 16:53 ..
drw-rwS--- ...
1
vote
1
answer
1k
views
Cannot run docker as non sudo user
cannot run docker as non-privileged user. I added user to docker group with:
sudo groupadd -a -G docker $USER
I loggeg out and in again, still no success.
I am running docker on a Ubuntu 21.10 system....
1
vote
1
answer
203
views
Prevent regular users from accessing Windows settings
I have two user accounts under Windows 10 Pro (version 2004) - one administrative and the other regular. I would like to forbid the access to the Windows settings from the regular account. In ...
1
vote
1
answer
3k
views
Setting default file permissions using setfacl
I need to set the default ACLs on new files created by httpd via the apache service user in such a way that the file is created with the GUID set to the dev users account (which well call devs), and ...
1
vote
2
answers
4k
views
How to allow multiple users to access to the same crontab in Debian Linux v8.4?
I am trying to create a crontab for a group of users, lets call the group "testGroup". There are 3 users, and I want to give all of them access to the same crontab. I did some research and tried to ...
1
vote
1
answer
3k
views
Group member editing to file *automatically* changes ownership, group, and permissions
I have a directory which I'm trying to set up such that members of a group all have rwx privileges. Here is a subset of the directory and its permissions:
-rwxr-xr-x 1 myusrnm grpnm 21638 2015-04-...
1
vote
3
answers
12k
views
How to create a user group for network resource access?
Ours is a windows network. There are some systems with Windows 7 and some with Windows XP. Mine is a Windows 7 system. I would like to create a user group so that I can grant it permission to access ...
1
vote
0
answers
68
views
Linux user administrator hierarchy
Can I have two users, one above other, but all can run all sudo commands and run all sudo applications, except user below, is not allowed specific small group of actions,set by user above. Ideally, ...
1
vote
0
answers
32
views
User groups issue
Recently I noticed strange thing that I can't figure out searching the web.
The groups and id give
$ groups
q
$ id
uid=1000(q) gid=1000(q) groups=1000(q)
But explicitly passed arg change the ...
1
vote
1
answer
1k
views
How to restore "wheel" user/group?
I deleted wheel group in HDD "get info/permissions" wrongly thinking it was hacker. I now see that my Mac is running akwardly these days. How can I restore or recover "natural" or previous HDD user/...
1
vote
0
answers
840
views
Why does a group show up in the “Users & Groups” GUI but not in “/etc/groups/” in macOS?
I have in macOS in “Users & Groups” I have a group called: access_bpf.
But it is not in: /etc/groups
Where is the user of accesss_bpf and how does not the other groups show in the “Users & ...
1
vote
0
answers
115
views
OS X: Create user-groups, that are not shown in Systempreferences "Users & Groups" PrevPane
I created some hidden Users on OS X, using dscl . -create /Users/<usershortname> IsHidden 1, that work as administraters.
For some reasons, I like to place the HOME-folders of different groups ...
1
vote
1
answer
238
views
linux user permissions with groups on file
I have one file owned by user: "ruler"
and another user: "tzook"
now I have one file that is owned by "ruler" and by group "deployers"
here is the file:
-rwxrwxr-- 1 ruler deployers 3040 Oct 28 12:...
1
vote
1
answer
492
views
How to fix my local administrator?
Starting a few days ago, I am facing a very weird issue here on my Windows 8.1 workstation. I am unable to start programs or applications that require administrator privileges. This makes my PC ...
1
vote
0
answers
220
views
LDAP role/group membership
We have many users registered in our LDAP auth. So far we've only stored login and mail-related information in this LDAP.
In our main application (Play! Framework), we needed to modelise roles (...
1
vote
0
answers
195
views
I found two groups in Slackware 14, named nogroup and nobody. Why?
I wonder why in my Slackware 14 (32 bit) distribution there are two groups named "nobody" and "nogroup":
bash-4.2$ cat /etc/passwd | grep nobody
nobody:x:99:99:nobody:/:/bin/false
bash-4.2$ cat /...
1
vote
1
answer
348
views
Permission Denied on Folder on separate partition - Ubuntu 12.04
I have a user : hduser. Both that user and myself (bearrito) are in a group called : datumsuser
I have executed the following commands:
sudo chgrp -R datumsuser /media/bearrito/
sudo chmod -R ...
0
votes
2
answers
1k
views
Windows Backup Operators group for family edition
On Windows pro versions, there is a "Backup Operators" group allowing to access every files for backup purposes.
On Windows 10 family I don't see this group (with the commande net localgroup).
I want ...
0
votes
2
answers
1k
views
What does Docker ID 999 mean?
What does the 999 on the docker mean:
michael@the-marketplace:/opt/backups$ id
uid=1002(michael) gid=1002(michael) groups=1002(michael),999(docker)
and why can I simply become root by running (source ...
0
votes
1
answer
5k
views
list all the groups to which a user belongs. Using macOS and CentOS
This is may question.
I want to know the groups of some user.
$dscl . list /groups filterByUSer theFindUser is it possible?
0
votes
1
answer
2k
views
Unable to run commands with "sudo" from my user
For some reason, I am unable to run any commands with su as my user. This was working before and I'm not sure what broke it. The funny thing is that I can su to root without any problems.
Example:
...
0
votes
2
answers
1k
views
Chmod, Groups, and Users
So I've tried looking this up but I've not found similar examples (please feel free to refer to them if your Google skills are better than mine).
What I'm trying to do is as follows: I am hosting a ...
0
votes
1
answer
3k
views
Nextcloud users' settings "Group admin for" - what is it?
I've just finished configuring a Nextcloud server running on Apache2. It's the latest version. This is the first time I set up such a server.
While I was fiddling with the settings I created a non-...
0
votes
2
answers
30k
views
Give a group write permission to a folder
I need help understanding how giving write permission to a group, works in Ubuntu. I am logged in as root and have a www-data:www-data and ftpuser:ftpuser (user:group). I add the ftpuser into the www-...
0
votes
1
answer
4k
views
Windows 7 File Permissions, Security Tab, "Group or user names" SYSTEM group
*Note: This is a re-posting of a 'too broad' topic. This is a narrowed version:
I right click a file, and choose "Permissions." I choose the "Security" tab. Under the "Group or user names" section, I ...