[Bug 207282] news/nzbget: init script should allow different user than root

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 17 17:11:47 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207282

            Bug ID: 207282
           Summary: news/nzbget: init script should allow different user
                    than root
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: lebel at lebel.org
                CC: toxic at doobie.com
             Flags: maintainer-feedback?(toxic at doobie.com)
                CC: toxic at doobie.com

Created attachment 167114
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167114&action=edit
example of an init script

the script for starting/stopping nzbget should be more "rc.subr" friendly if
one wants to run nzbget as a non-root user (as it should).

In this sample, I put "nobody"/"nobody", but one could create a user named
nzbget with proper group.

Optionally, the package should create a user nzbget if non exists and use that
in the initscript.

Anyway.

Just a suggestion.  I manually replace the script with each update since the
package overwrites it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list