All Questions
Tagged with user-groups linux
39
questions
0
votes
1
answer
90
views
Primary user group for Linux desktop applications
My user has several groups assigned (e.g. group_a and group_b). By default, the order is:
$ groups
> group_b group_a
In order to assign the right primary group (for file access rights etc.), I ...
0
votes
2
answers
2k
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 ...
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 ...
0
votes
0
answers
164
views
How to change the group of a file generated by my python codes on Linux server?
I belong to multiple groups (AAA, BBB, CCC, and etc.) on a Linux server. And I wrote a python code that generates a file on the server. When generated, this file belongs to group AAA, by default. But ...
1
vote
0
answers
79
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
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....
0
votes
1
answer
1k
views
How can i specify which group can read and write files in directory
i have two groups
boys
girls
boys have users
pete
ali
girls have users
alice
mary
i have d1 directoy in home/pete
I want to let only pete can read and write the files in that folder,
And ali ...
0
votes
0
answers
697
views
getent group correct but id not
How on earth can this be possible?
# getent group mailuser
mailuser:*:37103:admin,pinguin,testuser
# id testuser
uid=46944(testuser) gid=100(users) Gruppen=2399(datas),100(users)
#
Yes, users/groups ...
0
votes
0
answers
34
views
Linux Commands for Task
I am working on a File server on cent OS but stuck with a simple process, some how I am getting no result maybe I am new Linux that's why can't figure it out. Please Need Help:
Here is what I want to ...
0
votes
0
answers
221
views
Have directory that anyone in a group can chmod from 444 to 777
I have a release area that I (not a super user) manage. Nominally the privileges are 444 (Only read access for myself, group, and everyone). I don't want myself or a group to nominally have write ...
0
votes
0
answers
343
views
getent passwd | grep my_user not showing result but getent passwd my_user will return output
my_user is an entry in /etc/passwd file.
I wrote a test script which called getpwent() to see if my_user can be printed, but it's not showing as well. I'm using aix system.
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
707
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)....
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 ...
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 ...