Skip to main content

All Questions

Tagged with
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, ...
Nika Tvildiani's user avatar
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 ...
maks's user avatar
  • 339
0 votes
1 answer
458 views

How to add someone back to the “root” user group after accidentally removing them in Ubuntu and not having another “sudo” user?

I have an Ubuntu installation without root user enabled (standard). The main user that was part of group root (called netuser) was mistakenly removed from the group adding another group and forgetting ...
James's user avatar
  • 101
0 votes
0 answers
417 views

Ubuntu 18.04 SFTP Group: one user has permissions, the other doesn't

Following this guide I have created a group sftp_users that I use for SFTP access only. I created two users, user1, user2 I then added both to to group sudo usermod -a -G sftp_users user1 sudo ...
C. Ovidiu's user avatar
  • 111
5 votes
1 answer
2k views

Why my linux account only belongs to one group?

I am currently using Ubuntu 18.04, and my username is abcxyz (not real, changed for the matter of the question). If I look at the contents of /etc/groups, my user appears in many groups: $ cat /etc/...
elxordi's user avatar
  • 153
3 votes
0 answers
1k views

Share a directory with one (not all) other non-root user on Linux (no root privileges)

Is it possible to share a directory with one other non-root user, but only this one, without root privileges? The system is Ubuntu with kernel 4.4.0. I do not have root privileges. The system has a ...
0range's user avatar
  • 810
0 votes
0 answers
84 views

Groups permissions for multiple users

I am setting up a web development uBuntu server for multiple users. The website files are all owned by root and in the group root. As I was trying to avoid giving parts of the file structure 777 ...
sisko's user avatar
  • 173
0 votes
2 answers
32k views

Give a group write permission to a folder

I need help understanding how giving write permission to a group, works in Ubuntu. I am logged in as root and have a www-data:www-data and ftpuser:ftpuser (user:group). I add the ftpuser into the www-...
pbount's user avatar
  • 105
6 votes
1 answer
19k views

usermod returns "group 'thegroupname' does not exist" for known group

As a member of sudo can I add myself to a group I don't belong to? $ getent group thegroupname thegroupname:x:123794798:administrator,users,auser,moreusers,manymoreusers $ sudo usermod -a -G ...
Louis Waweru's user avatar
  • 24.8k
0 votes
0 answers
29 views

User shown as a member of deleted group

In my ubuntu distro, members user1 returns group1: group2 Now, i gave delgroup group1 & it is done successfully... second time gave command, members user1 returns group1: group2 why ...
Saravana's user avatar
  • 113
1 vote
1 answer
353 views

Permission Denied on Folder on separate partition - Ubuntu 12.04

I have a user : hduser. Both that user and myself (bearrito) are in a group called : datumsuser I have executed the following commands: sudo chgrp -R datumsuser /media/bearrito/ sudo chmod -R ...
bearrito's user avatar
  • 111