Questions tagged [groups]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
25 views

unable to fix udev installation,

ubuntu 20 (focal). if i try to run sudo apt update && sudo apt upgrade -y i get following error Errors were encountered while processing: udev xserver-xorg-core xserver-xorg-video-nvidia-...
1
vote
2answers
102 views

New Kubuntu 20.04 user accounts without group memberships

I recently experienced strange problems when creating user accounts on freshly installed Kubuntu 20.04 PCs. The user account created during installation of the OS works as expected. It is member of ...
1
vote
0answers
22 views

Ubuntu 20.04 LTS - Why am I only in one group?

I am experiencing the same problem as noted at: Why my linux account only belongs to one group? I am running 20.04 and GDM. I've also: Followed every suggestion I could find related to disabling ...
0
votes
0answers
50 views

Ubuntu 20.10 Lost all files with usermod when added user 1001 to group 1002 accidentally

I was adding a new user {rasa} to my Ubuntu studio 20.10. I was adding rasa uid:1002 gid:1002 groups=rasa (1002) To the audio group for privileges to change cpu to performance and set jack settings. ...
0
votes
1answer
44 views

I want to create a shell script wherein each project has set of instructions

I want to create a shell script wherein each project has set of instructions which includes setting different groups to setup for every different clearcase view. I am facing difficulty as the setview ...
0
votes
1answer
30 views

Cannot edit file via group permission

there's a system with two users: codera and coderb. They both belong to group named firma. However, when one of them creates a file (in /tmp) and changes it's group ownership to firma, with rw group ...
0
votes
1answer
50 views

How to add myself to sudoers when accidently remove main user out of the sudo group [duplicate]

I was trying to create a public and private share directory using samba and I ended up accidently relocated my main user to smbshare group and can no longer use sudo commands or log in as root. I will ...
0
votes
2answers
44 views

How to allow another user in a group to read a file [duplicate]

I need help in this question please I have tried several times. Create a file, /home/jack/secretf7b079, containing the string secret5cd51b. Make sure the file is owned by jack. Use a group to enable ...
2
votes
1answer
98 views

Can't add group to user

For ROCm 4.0 in Ubuntu 20.04 I need to add the 'render' group to the user. I do this with pete@black:~$ groups pete adm cdrom sudo dip plugdev lpadmin lxd sambashare pete@black:~$ sudo usermod -a -G ...
0
votes
1answer
30 views

Writing to a shared partition

I am aware that there are many questions about write permissions and partitions, but I have followed the instructions that I found to the letter and double checked everything I can think of, and I ...
0
votes
0answers
33 views

How to add user to another group in Ubuntu? [duplicate]

My current groups: chris@Host:/opt/tomcat$ groups chris adm cdrom sudo dip plugdev lpadmin lxd sambashare If I tried to add to group named tomcat: $sudo usermod -a -G tomcat chris but the group is ...
0
votes
0answers
51 views

How to configure samba server and samba client computers for multiple groups (users) with different access rights on a shared folder?

We have 2 Ubuntu computers: linux1 & linux2 (same OS Version, same filesystem ext4). linux1 is Samba server version 4.x. linux2 is Samba client. linux1 has the following directory on the local ...
0
votes
0answers
41 views

How to make some users only execute the commands in the directory /bin?

I want the users to get restricted from executing commands in all other directories.
0
votes
1answer
194 views

Can't add myself to group

Getting into arduino and followed the instructions at: https://www.arduino.cc/en/Guide/Linux Since I'm having issues writing to the serial port, I did the following as instructed (my username is ...
0
votes
1answer
181 views

User Group Change

I have changed the default group of a user using chgrp command. After that I'm getting the error message" 'Username' is not in the sudoers file. This incident will be reported" for basic ...
0
votes
0answers
47 views

How can I remove all the users and groups associated with removed (purged) programs?

How can I remove all the users and groups associated with removed (purged) programs? For example, I install exim. It created a group and a user named Debian-exim. I then use it for a while, and remove ...
0
votes
0answers
7 views

How to share files in dualboot Linux / how to buidl dualboot users “gropup”?

One way to resolve my current issue - only ONE of my dual boot Ubuntu OS boots, - I am looking into implementing user's "group". Mrs Google only covers how to build "group" on ...
0
votes
1answer
94 views

Ubuntu 20.04 Default terminal user doesnt have write group access

I am trying to add user123 to group group123. I used the command usermod -a -G group123 user123. When I change to that user it is apart of the correct groups. When I open the terminal and run $users ...
1
vote
1answer
105 views

Using command “chage” for everyone in the group group

How can i use "chage" command to change, for example, minimum number of days before password change for every user in the group?
2
votes
2answers
365 views

Permissions group dialout don't apply

I'm using an application that needs to communicate through a usb-serial cable, using /dev/ttyUSB0. Both /dev/ttyUSB0 and the user who owns the process are in group dialout, and the rights on the port ...
0
votes
1answer
457 views

“getent” doesn't show members in the group

If I command id nu, the output shows that the user nu belongs to the group named nuu. But if check the members of the group nuu with the command getent group nuu it shows as if there are no members in ...
1
vote
1answer
537 views

Permission Denied in /var/www/public_html. I am member of www-data

Hi just installed Apache2 on Ubuntu 20.04. Added myself to www-data group. id prateek uid=1000(prateek) gid=1000(prateek) groups=1000(prateek),4(adm),24(cdrom),27(sudo),30(dip),33(www-data),46(plugdev)...
0
votes
0answers
19 views

How to configure group settings for docker admin? [duplicate]

Listing docker containers: docker ps -a -q error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/...
0
votes
1answer
389 views

Recovering a lost user group

Related to this question, I recently detached a disk from a Linux cloud machine (Ubuntu 18.04). When I reattached it to a new VM (also Ubuntu 18.04) I discovered that the user and group information ...
0
votes
2answers
117 views

Newly created directories and files are assigned to docker group

so I was recently doing some post-installation steps for Docker and I think it was after I added my user to the docker group by sudo usermod -aG docker $USER newly created files and directories began ...
2
votes
1answer
155 views

Automatically change to nobody and nogroup after deleting a user

I'm currently working on a Ubuntu 20. I have one file owned by the user "usertest" and group "grouptest" (UID=1002 | GID=1003). -rw-rw-r-- 1 usertest grouptest 0 Jun 29 14:00 ...
-5
votes
1answer
99 views

Why there are so many groups on Ubuntu?

It seems I have extra groups that I need to delete because I think they are related to a breach. I should not have any network shares and am on a fresh install. What are the default groups on a fresh ...
0
votes
0answers
36 views

Trying to add AD groups to Ubuntu groups (WWW-Data)

We have integrated our Ubuntu 18.04 server to Ad and I now need to add the AD groups to local Ubuntu groups (www-data). How can I get the AD group added to local groups?
1
vote
1answer
30 views

Group memberships not visible without running su - $USER after new login

I use ubuntu 18.04. I created a new group: sudo groupadd group_1 Next I added myself to the group: sudo usermod -aG group_1 $USER After logging out and logging in it appears as if I am not a member of ...
0
votes
0answers
95 views

Resource management in linux

Is there any package for easy resource management (CPU, RAM, SWAP) for Ubuntu 20.04? I tried doing it manually once in v18 but without success. If not, can someone help me do it? Like, I understand i ...
1
vote
0answers
34 views

Problem with app groups in 20.04

After upgrading to 20.04 the app drawer freaks out when I close a group. I have only 2 pages, but after I open and close a group the system freezes for a second and than shows as if I have more pages ...
0
votes
0answers
176 views

Group permissions issue /dev/vboxusb

Within VirtualBox 5.2.34 under Ubuntu 18.04 LTS I encountered the issue regarding USB device forwarding. There are no devices. After investigation of the issue I found out the reason is in below. But ...
2
votes
1answer
3k views

Webcam not working Ubuntu 18.04

I have installed Ubuntu 18.04, but the applications (Skype, Cheese) says no device found. I have reviewed several topics on the subject, but none seem to work. Thank you! Edit: In a beginning the ...
0
votes
3answers
297 views

Why is “usermod -a -G” not adding my user to the group?

I'm using Ubuntu 18.04. I want to add my user, "davea" to the group "www-data". I tried this (venv) davea@chicommons-laboratory:/var/www/html/web$ groups davea sudo (venv) davea@chicommons-...
0
votes
1answer
92 views

User is in docker group but can't access docker commands anymore without calling `newgrp docker` before

I'm using Ubuntu 18.04.4 LTS as my Desktop system and I usually had the user in the docker group for being able running Docker commands. It seems that something recently changed and now I can't call ...
0
votes
1answer
214 views

Adding an user to www-data group not working

I am trying to add my user to the www-data group in order to be able to edit the files there without admin rights. This is the command I have used to do that: $ sudo usermod -aG www-data n_user $ ...
0
votes
1answer
313 views

Permission denied for transmission daemon event

I bit my teeth on this problem: I'm trying to set up transmission-daemon with an incomplete and done directory. Downloading to incomplete does work fine, but for the done directory I receive a ...
2
votes
1answer
501 views

Why should all world-writable directories be owned by a privileged group?

I'm reading an Ubuntu security guide developed for the US Department of Defense, to be found here. Written for 16.04 but I don't think this particular item has changed much. The guide says, Group ID (...
1
vote
2answers
7k views

Give user access to directory in another user's home folder

I have a directory inside my home folder that I'd like another user to be able to access. I created a group for him and we both joined it, and I did sudo chgrp -R group folder/ He still cannot get ...
2
votes
3answers
1k views

is there an LS for users?

I want to see what files and folders a user on my system has permission to. I am an admin, on the system. how do I get more information about what files and folders a user can access? Command line ...
13
votes
3answers
3k views

How do I find files with no group permissions?

I just want to know how I can find, in a folder, the files that have no group user permission (no read/write/execute) at all, using the terminal.
2
votes
2answers
118 views

Users that aren't sudoers can't write SD images

I'm running Ubuntu 16.04 on my laptop. My son has a Raspberry Pi and uses my laptop to write SD card images as it had an integrated card reader. Whilst he can mount, format, read and write the cards ...
1
vote
0answers
181 views

why does my user not belong to other groups until password is entered?

I have the problem that when I open a graphical shell in KDE (XTerm or Konsole, both show the same "problem") and I type groups, the only group displayed carries my user's name. I need to first do su ...
5
votes
2answers
3k views

log alert: unknown group “power” in message bus config file

Server v18.04 log has many of these: Sep 3 21:32:17 [pcname] dbus-daemon[1179]: Unknown group "power" in message bus configuration file What does this mean?
2
votes
0answers
2k views

can't add user to a group

I would like to add my usr ron to the docker group, so I did the following: ron@regDesktopHome:~$ sudo usermod -a -G docker ron ron@regDesktopHome:~$ groups ron Why does it only show group ron as ...
0
votes
1answer
147 views

Automating removal of legacy entries in /etc/group

I'm removing entries in /etc/group programmatically. Because I cannot use grep, cat, or cut for this exercise, I wrote my own program that can produce stdout and stdout data to essentially read a ...
1
vote
2answers
757 views

Setting Group Permissions

I have many users and two groups. Some of them are member of group1 and others are member of group2. I want to allow group1 to access all directories, and I want to allow group2 to access to specific ...
7
votes
1answer
12k views

Is it possible to use docker without sudo?

According to the answers of this question about docker, running it as a non-root is as easy as adding the non-root username to the docker group, and logging out and back in. And sure enough, when I ...
5
votes
2answers
712 views

`groups` and `groups $USER` show different groups (dialout is missing)

I have a problem opening a USB port /dev/ttyUSB0. The device node for this port is: crw-rw---- 1 root dialout 188, 0 juil. 25 17:18 /dev/ttyUSB0 It seems that there's a problem with groups command ...
0
votes
1answer
135 views

Why would 'groups' and 'groups [myname]' give different results?

I am have trouble getting docker to work, and I suspect it has to do with permissions and membership of the 'docker' group. I have run the command to add myself to the docker group sudo usermod -aG ...

1
2 3 4 5