Bug 107168 - sci-mathematics/gimps, run mprime under safer user id
Bug#: 107168 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P5
Resolution: FIXED Assigned To: spock@gentoo.org Reported By: smacklefunky@optusnet.com.au
Component: Applications
URL: 
Summary: sci-mathematics/gimps, run mprime under safer user id
Keywords:  
Status Whiteboard: 
Opened: 2005-09-25 05:30 0000
Description:   Opened: 2005-09-25 05:30 0000
Currently the init script for gimps runs the mprime as root, perferably this
should be a user with less rights, like 'nobody'

------- Comment #1 From Michal Januszewski 2005-11-06 05:41:10 0000 -------
The option to run mprime as a non-root user has been added in -r1. Thanks for
the suggestion :)

------- Comment #2 From Brandon Mintern 2007-05-10 21:37:48 0000 -------
(In reply to comment #1)
> The option to run mprime as a non-root user has been added in -r1. Thanks for
> the suggestion :)

Okay... this is a really old "bug", but I am now running mprime and I was
wondering how to run it as non root.  mprime -h says nothing about an option to
control what user to run as.  Looking at the files in
/usr/portage/sci-mathematics/gimps/files/ I found a conf.d example which had

USER="nobody"
GROUP="nobody"

This seemed like what I wanted, so I added it to /etc/conf.d/gimps and
restarted it, and it is still running as root.

Has the ability to run as non-root been removed, or am I just missing
something?

------- Comment #3 From SmackleFunky 2007-05-11 08:03:45 0000 -------
That should work how you have it. Check that the user and group you are setting
to actually exist..

Otherwise I am not sure what you are doing wrong