Questions tagged [groups]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Why does owner user require sudo?

This is a specific configuration that I found about here. I have two users that share a common folder: $ ls /home > drwsrws--- root my-group ... common > drwxr-xr-x diego diego ... diego &...
0
votes
0answers
15 views

Does Ubuntu 18.04 create entries in certain groups for the installer by default [duplicate]

WHat are the groups in which when installing Ubuntu 18.04 or 16.04, the installer is made a member by default. Is adm one such group? WHat about admin? What about sudo? If 18.04 has separate default ...
0
votes
2answers
40 views

Permission denied despite being in group that owns the directory

I have an directory to which I've set the permissions as follow: sudo chown -R root:www-users /var/www sudo find /var/www -type d -exec chmod 2775 {} + sudo find /var/www -type f -exec chmod 0664 {} + ...
1
vote
1answer
26 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-...
2
votes
2answers
6k views

OpenSSH - Restrict users to one or multiple folders

I want to know how I can restrict user access using OpenSSH Server. Let's say I want user 1 to only access /Media, /Documents, and his home folder, User 2 should only access /Folder21, and his ...
1
vote
2answers
104 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
45 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
31 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
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 ...
0
votes
1answer
51 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 ...
2
votes
4answers
11k views

Edit Sudoers file to allow sudo rights to a AD domain group

I recently managed to get my Ubuntu Server 18.04 machine connected to my companies Windows AD. I am able to login with my AD credentials however I want to take it a step further... This is the ...
2
votes
1answer
106 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 ...
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 ...
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 ...
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?
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
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
1answer
200 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
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
96 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 ...
2
votes
2answers
378 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 ...
1
vote
1answer
107 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
1answer
508 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 (...
0
votes
1answer
468 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 ...
22
votes
6answers
214k views

How to add users to vboxusers to enable USB usage

I want to use my flashdrive in Windows XP, which I am currently running in Virtualbox, but when I open up the settings to enable usb usage, I get an error: Failed to access the USB subsystem. ...
1
vote
1answer
566 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/...
754
votes
7answers
1.3m views

How to add existing user to an existing group?

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio ...
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
118 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
164 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
100 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
37 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
96 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
35 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 ...
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 ...
0
votes
1answer
317 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 ...
0
votes
0answers
177 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 ...
10
votes
3answers
5k views

Disable PAM module for group

I recently enabled two-factor-authentication using google-authenticator on my SSH server. However I am now facing a problem: I have a different group of users on my server which I am using for SFTP, ...
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
302 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
94 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
223 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 $ ...
2
votes
2answers
26k views

groupadd fails with “cannot lock /etc/group; try again later”

I am connected to an Ubuntu 12.04.3 LTS server via SSH; when I try to add a group, I get the following message: groupadd: cannot lock /etc/group; try again later. In researching this problem, I ...

1
2 3 4 5