Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [groups]

The tag has no usage guidance.

1
vote
1answer
32 views

Terminal shows that my user is only a member of its group, but it is not true - how to fix?

I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS). All terminals show that my sudo-able user is only a member of its group: $ whoami norbert $ groups norbert $ id uid=1000(...
0
votes
1answer
24 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 ...
6
votes
1answer
305 views

What is the significance of the output of cat /etc/group? [duplicate]

When I run cat /etc/group on Ubuntu 18.04, I get this output: root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:syslog,hani tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:...
0
votes
0answers
20 views

How to list groups with no users

I am new to Linux, using Ubuntu 18.04. I am learning about user management commands. I am experimenting with creating and deleting users. When I created "user1" a new group "user1" is created. When I ...
0
votes
0answers
19 views

Access denied despite group privileges

I added new user to group 'lambda', changed the group of testFile to lamda and gave group permissions with 'chmod 550 testFile'. When I check with 'ls -l' and in etc/group these changes have been ...
3
votes
1answer
278 views

Can a user also be a group itself?

In my Ubuntu 16.04 terminal, logged in as "john" (a normal user), I enter: john@ubuntu-server:~$ groups john Then the output goes: john: john adm ...... So I wonder how john can be a user and a ...
1
vote
0answers
15 views

User group membership appears to be empty [duplicate]

I appear to be having issues with group membership for the single user on my Ubuntu laptop. I found this initially when trying to access a USB stick and finding I was getting access denied. I checked ...
0
votes
0answers
25 views

Adding permissions for a given user automatically modifies group permissions? [duplicate]

m@m-VirtualBox:~$ mkdir -m 0755 bsk1 m@m-VirtualBox:~$ ls drwxr-xr-x 2 m m 4096 oct 9 13:38 bsk1 m@m-VirtualBox:~$ getfacl bsk1 # file: bsk1 # owner: m # group: m user::rwx group::r-x other::r-x So ...
2
votes
0answers
23 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 ...
0
votes
0answers
10 views

Group based Acces with Samba

Right now I got 2 groups: ACL_share_EDIT ACL_share_READ My goal is to have members of both groups access the share, while EDIT can, well, edit files and folders on the share, while members of the ...
2
votes
1answer
44 views

Delete folders owned by specific group?

I have loads of folders and files in the storage system, files and folders created by a specific group needs to be removed, but I can't find any smart quick way to do it. Not via find or anything.
0
votes
0answers
74 views

Groups,User and PostgreSQL access rights

I have a web app that uses a PosgreSQL database. To use the database I use the following command: sudo -u postgres psql I think, this is very basic, so I'm looking for something like: not all ...
1
vote
1answer
81 views

how should `id` and `/etc/group` be read?

This is a follow-up question to Why is a user not a member of their private group (UPG)? although the first question isn't really necessary to understand this one. The command id seems pretty clear......
1
vote
0answers
139 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 ...
0
votes
1answer
175 views

User not in group despite /etc/group contents

I added a new group (call it newgroup) sudo groupadd newgroup I then added my existing user (call him myuser) to newgroup sudo usermod -a -G newgroup myuser I log out and back in, and I check /etc/...
0
votes
1answer
25 views

Groups for logged in user are missing [duplicate]

I am seeing a weird issue with my laptop installed with Ubuntu. When I log in and enter a terminal, I am missing groups: ~$ groups ant If I explicitly specify the username, I see all the groups: ~$ ...
1
vote
1answer
142 views

Ubuntu logs me back in immediately after logout [closed]

A few days ago I noticed that when I log out of Ubuntu 16, the screens go black and then I am immediately logged back in again. I do not have autologin enabled. Observations of other strange ...
0
votes
0answers
15 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 ...
1
vote
1answer
176 views

How to recover from accidentally removing the sudo group

I am using Ubuntu 18.04. I accidentally removed the sudo group. Is there any way to recover from this? I still have access to the root account. I tried to add the sudo group again with the root user, ...
2
votes
1answer
478 views

Lost supplementary user groups for GUI login session

Ubuntu 16.04.5 Very weird situation - after Xorg crash, now every time when I login into Unity, my user account doesn't have it's system groups like adm, sudo, plugdev, fuse etc. But when I login on ...
0
votes
2answers
259 views

Secondary user groups not loaded

After the apt-get update and apt-get upgrade run few days ago, user groups are not applied properly to the currently logged-in user. I can see all the groups being properly saved in the /etc/passwd ...
0
votes
0answers
20 views

VBoxManage is not lauching vm

So I have two users on my Ubuntu Machine 1.) vishal 2.) cuckoo I installed VirtualBox by logging in as Cuckoo user. But now I am logging in as vishal user and then from terminal I am becoming cuckoo ...
1
vote
0answers
24 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 ...
2
votes
2answers
441 views

All of a sudden I'm getting permission errors

I'm running Ubuntu 16.04.4 LTS and facing a problem. All of a sudden I'm unable to edit files that I could before, I cannot run programs due to permission errors. I'm always logged in as a user ejaz ...
2
votes
1answer
105 views

How do I check that my users and groups are correct?

I have many Ubuntu-powered devices around me. As far I know /etc/group, /etc/passwd, /etc/shadow are created during installation, so they do not belong to any package: $ dpkg -S /etc/passwd dpkg-...
0
votes
1answer
75 views

groupmems asks for password for root

I have a few scripts that use groupmems to view and modify what users are in a group. The script runs as root. In Ubuntu 18, it has started to ask for a password, even thou I run as root: root@ubu18:~...
2
votes
2answers
585 views

After adding a group, logout+login is not enough in 18.04?

In ubuntu 18.04 with default desktop, behaviour of logout/login has changed: Previously on an Ubuntu system, when I find that I need to add my user id to some group, it was sufficient to sudo ...
1
vote
0answers
51 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 ...
0
votes
0answers
74 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 ...
2
votes
0answers
45 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 ...
0
votes
2answers
52 views

Unable to create user on Ubuntu Server with Ansible

I run the following ansible script on my Centos and Ubuntu servers. - name: add user testuser1 user: name: "testuser1" state: present groups: "wheel" The script worked fine on Centos ...
0
votes
2answers
219 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
45 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
105 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 ...
1
vote
0answers
33 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 ...
0
votes
1answer
35 views

Cannot login after adding user to group

I was trying to install amdpro divers, so followed the instructions and after installing the driver run this command: sudo usermod -a -G video $LOGNAME After that, I'm locked out of the PC. To ...
1
vote
1answer
680 views

Linux (ubuntu) Permission confusion

Please, take a look at the following CMD [thunder@ip-xxx-xx-xx-xx /]$ id uid=504(thunder) gid=504(thunder) groups=504(thunder) [thunder@ip-xxx-xx-xx-xx /]$ grep developers /etc/group developers:x:...
1
vote
0answers
13 views

Create a series of Organization Managed computers

I am wondering if it is possible to create a computer running Ubuntu with an "organization" on it -- Similar to when moment of disgust due to the mention of Chromebooks... Chromebooks mention that ...
3
votes
2answers
706 views

Difference between adduser and usermod -G -a

What is the difference between adduser user_name group_name and usermod -G -a user_name group_name At first glance they seems to do the same thing : add a user to a group.
0
votes
2answers
51 views

What is the permission group 'others' in Linux file system?

Is the group 'others' required for file permissions? Aren't 'user' and 'group' only groups try to read/write/execute file at any given moment?
0
votes
1answer
57 views

What is the difference between the default user group and root group?

Suppose I have a directory with default permission drwxr-xr-x 4 root root 4096 Dec 11 23:47 webtorrent-desktop/ I will Change only the owner $ sudo chown -R sandy webtorrent-desktop drwxr-xr-x ...
1
vote
0answers
29 views

write permission [duplicate]

I'm trying to solve a problem about write permission. I have the user mamuth in the group www-data, i used the command: adduser mamuth www-data Running: cat /etc/group | grep mamuth Results with: ...
4
votes
1answer
134 views

Prevent new users from being added to a group with the same name as user name and instead add to generic group?

I need to add several new users to a system. Each of these users should be a member of the same group - appdev - and should not be assigned to a group that is the same as their user name. Can I do ...
0
votes
1answer
235 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,...
5
votes
2answers
179 views

Run TTY script every time I open a GUI terminal

When I log in to a TTY I get the following nice text: Ubuntu 16.04.03 LTS Log-in: username Password: Last log-in date/time Welcome to Ubuntu 16.04.03 LTS * Documentation: * Management: * Support: ...
3
votes
1answer
425 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 ...
0
votes
1answer
151 views

iptables: drop all but group

I have this rule, which is working to block all connections for this group: iptables -I OUTPUT 1 -m owner --gid-owner has-internet -j DROP I want to modify it to block all connections besides this ...
11
votes
2answers
1k views

What is the purpose of the group named “users”?

On my Ubuntu a group "users" with id 100 exists. But it has no members at all. My questions are: What is the purpose of this group? Should each user of the system become a member of this group?
3
votes
1answer
106 views

Can't write in a shared directory

I'm using Ubuntu 16.04 and want to create a shared directory, but after creating it, I'm not able to create files in it even if I'm member of the group. Here is what I did and what I got: It works ...
1
vote
1answer
58 views

Lock Gsettings Schemas for Only Members of a Certain Group

Does anyone have any idea on a way to lock Gsettings Schemas, so that they can't be overwritten, but only lock them for members of a certain group, so that members of said group can't overwrite the ...