Questions tagged [groups]

The tag has no usage guidance.

64 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
2k views

Group shares not listed by smbtree, nautilus due to not asking for password

We recently migrated to Samba 4.4.16 (from 3.5.15). Our configuration contains a number of shares which have group access only (@group or +group) which map to unix groups. Here's an excerpt of the ...
2
votes
2answers
368 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 ...
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 ...
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 ...
2
votes
0answers
80 views

Can I define a parent group and children groups?

In Linux is it possible to create a master group and some children groups? What is the problem? I need to give read permission to the users belong to group1 and group2. I cannot add all users of ...
2
votes
0answers
143 views

How to remove Rouge user group

I was messing around with Apache and Webmin/Virtualmin and it created a new user. I added my user to the new users' group. It didn't yield the result I was looking for, so I deleted the user via ...
2
votes
0answers
1k views

Need help fixing file / directory ownership using ISPConfig

I've just installed Ubuntu Server 16.04.3 and ISPConfig 3.1 following this official guide here: https://www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-...
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
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
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 ...
1
vote
1answer
543 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)...
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 ...
1
vote
0answers
182 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 ...
1
vote
1answer
223 views

How to know what program needs which group to be executed without sudo

In particular I want to create bridges dynamically, but without the need of running it with sudo. I think it's the group netdev. But is there, and I'm sure there is, a general answer to the question: ...
1
vote
0answers
234 views

Why is a user not a member of their private group (UPG) according to the GUI? (although CLI proves the opposite…)

I downloaded the current iso file of Ubuntu MATE from the website. I did a completely fresh install of Ubuntu MATE 16.04 (specifically 16.04.5). the same is true for Ubuntu MATE 18.04 (specifically ...
1
vote
0answers
64 views

Users unable to access group folder

I have a folder in an AD login environment: drwxrwx--- 4 tbest3 cri-meltzer_anemia 102 Jul 11 11:06 Anemia drwxrwx--- 4 339776130 339820461 102 Jul 11 11:06 Anemia These two ...
1
vote
0answers
186 views

Can't delete user from group with ldapdeleteuserfromgroup

I have user accounts with usernames that are numerical (I know Ubuntu doesn't like that, sorry) In this case, I have a username 18000011 who is a member of the group students: ~$ groups 18000011 ...
1
vote
0answers
63 views

Add permission to multiple group to a folder

Suppose I have this situation (user : groups): userA : groupA all mix1 userB : groupB all mix1 userC : groupC all mix2 userD : groupD all Suppose I have read access to "folderX" to user "userA" and ...
1
vote
1answer
2k views

Change group permission for usb device permanently

I want to access a USB device ttyUSB0 from apache. So I set: chgrp www-data /dev/ttyUSB0 The problem is, that every time I replug the device, I have to set to do chgrp again. How can I do this?
1
vote
0answers
2k views

VirtualBox VERR_ACCESS_DENIED

I'm running Ubuntu 14.04.5 LTS with virtualbox virtualbox-4.3. After an update, I'm no longer able to start my Windows VM, which points to /dev/sda physical hard disk. I'm getting the error message ...
1
vote
0answers
160 views

Ubuntu 14.04 LTS compass run from another user

I have an Ubuntu 14.04 VM and 3 users (root, prod, git) prod$ groups prod git$ groups git prod I have installed ruby on the VM for every user and ran source /home/prod/.rvm/scripts/rvm so I could ...
1
vote
0answers
622 views

Conflicting group IDs ubuntu 14.04 software update — dpkg error

Today I tried to update the linux on my cluster nodes. After running apt-get upgrade as root, I got this error: Setting up passwd (1:4.1.5.1-1ubuntu9.2) ... groupadd: GID '42' already exists Group ID ...
1
vote
0answers
2k views

Where is 'Users and Groups' in Ubuntu 15.10

'Users and Groups' seems to have disappeared in Ubuntu 15.10 Now I can only see 'User Accounts' from the dash If you want to use the gnome-system-tools, then you have to run users-admin from the cmd ...
1
vote
1answer
422 views

group rwx on directory but still permission denied

I'm going insane. Not sure I'm having such an issue with something to basic. So, resorting here... kevin@tobias:/srv/storage$ ll total 40K drwxrwxr-x 11 root storage 4.0K Sep 24 14:00 ./ drwxr-xr-x ...
1
vote
2answers
61 views

Group permissions not kicking in

I have added a user to a group. selah@wwbp-grand:/localdata/harvard$ groups chwinn chwinn : chwinn perma Then I have recursively changed the group of a directory: sudo chgrp -R perma /localdata/...
1
vote
0answers
347 views

How to add write permission to a group?

How can I give write permission to a group? The problem is: when somebody creates a file in the folder, the others in the same group can't modify it. I tried chmod, but the newly created files had ...
1
vote
1answer
1k views

Capacity of groups in Linux

How many users can be added to particular group in Linux (Ubuntu/Red Hat)? In NFS network set up in Lab, file/ownership permissions everything got messed up when the user number increased beyond ...
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
2answers
27 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 {} + ...
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
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
196 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
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 ...
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?
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 ...
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 ...
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
0answers
205 views

groupadd hangs while /etc/group.lock does not exist only works with -g param

I have a problem with adding group on ubuntu 16.04. I tried to add group using groupadd , but the tasks hangs until i kill it. before running it again i have to remove /etc/group.lock. and then when i ...
0
votes
1answer
431 views

how give permission for reset apache without admin permission?

my user don't have admin permission and i do not want to give admin permission to them. how give permission that they see log and reset and change config in apache? is there apache admin group that ...
0
votes
0answers
43 views

File group has changed without me changing it

I was working with a file today that I don't own. I copied it to a /tmp folder, gave myself sudo permissions and then changed the owner to myself using chown. I then made my changes. Afterwords I ...
0
votes
0answers
624 views

How can I prevent unprivileged users from accessing /etc/passwd, /etc/group, etc

As the title suggests, I have a multi user environment, and in the interest of protecting privacy, I'd really like to be able to restrict users access to some of these publicly viewable files that ...
0
votes
2answers
1k views

Why didn't my user get assigned to the group I had added myself to?

I'm on a fresh installation of Ubuntu 18.04. During installation, I chose the minimal installation instead of the standard one. I just added myself to the docker group using the following command ...
0
votes
0answers
46 views

Proper way of creating users and restricting permissions?

I want to create a user, allocate a home directory to the user and restrict their rwx permissions such that they can only stay/view the home directory. I want to hide /etc/apache2 and /var/www mainly. ...
0
votes
0answers
186 views

groupadd on Ubuntu 16.04 with PBIS Open stuck with 100% CPU

I have Ubuntu 16.04 servers and workstations which are members of an Active Directory domain, using PowerBroker PBIS Open versions 8.5.0.153 and 8.6.0.427. When I try to add a local group using ...
0
votes
1answer
932 views

Users can't access samba AD shares

We moved up from a 3.x NT-type Samba server and built a new AD server using the SambaWiki, methodically making sure each step and test worked correctly. It's fine in administrator or Domain Admin mode,...