| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 5 months |
| seen | 2 days ago | |
| stats | profile views | 1 |
|
Jan 10 |
comment |
Run program with additional supplementary group I've been using this solution for a bit, and it seems to work quite well. sudo -E -u cloneduser allows me to easily run a program with the alternative group list. One difference is that I used the same home directory for my cloned user instead of adding another one. |
|
Jan 10 |
awarded | Scholar |
|
Jan 10 |
accepted | Run program with additional supplementary group |
|
Dec 5 |
awarded | Supporter |
|
Dec 5 |
comment |
Run program with additional supplementary group +1 for an interesting solution of which I hadn't thought. It does feel a bit hacky/possibly problematic, but I'll definitely give it a try if I don't find a cleaner solution. |
|
Dec 5 |
comment |
Run program with additional supplementary group @jordanm The vboxusers membership merely allows me to run VirtualBox. Is has nothing to do with allowing VirtualBox to have raw access to my hard drive without allowing the same to other applications. |
|
Dec 5 |
comment |
Run program with additional supplementary group The group should not become the primary group for the process, and it is a group of which my user is not a member. |
|
Dec 5 |
comment |
Run program with additional supplementary group I have a couple of programs that I would like to run as my user, but which require more privileges than I want to grant to my user as a whole. For example, VirtualBox needs direct access to my hard drive to boot my Windows partition, but I definitely don't want any random program to be able to scribble all over my hard drive. My first approach was to create a separate user for running VirtualBox, but that created many difficulties that would be avoided through this approach. |
|
Dec 5 |
awarded | Student |
|
Dec 5 |
asked | Run program with additional supplementary group |