<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>107168</bug_id>
          
          <creation_ts>2005-09-25 05:30 0000</creation_ts>
          <short_desc>sci-mathematics/gimps, run mprime under safer user id</short_desc>
          <delta_ts>2007-05-11 08:03:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>smacklefunky@optusnet.com.au</reporter>
          <assigned_to>spock@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>smacklefunky@optusnet.com.au</who>
            <bug_when>2005-09-25 05:30:30 0000</bug_when>
            <thetext>Currently the init script for gimps runs the mprime as root, perferably this
should be a user with less rights, like &apos;nobody&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2005-11-06 05:41:10 0000</bug_when>
            <thetext>The option to run mprime as a non-root user has been added in -r1. Thanks for
the suggestion :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bmintern@gmail.com</who>
            <bug_when>2007-05-10 21:37:48 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; The option to run mprime as a non-root user has been added in -r1. Thanks for
&gt; the suggestion :)

Okay... this is a really old &quot;bug&quot;, 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=&quot;nobody&quot;
GROUP=&quot;nobody&quot;

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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>smacklefunky@optusnet.com.au</who>
            <bug_when>2007-05-11 08:03:45 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
      
    </bug>

</bugzilla>