ports/159265: UIDs: net-mgmt/zenoss needs valid login

Phil Phillips pphillips at experts-exchange.com
Thu Jul 28 18:40:07 UTC 2011


>Number:         159265
>Category:       ports
>Synopsis:       UIDs: net-mgmt/zenoss needs valid login
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 28 18:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Phil Phillips
>Release:        8.2-RELEASE
>Organization:
Experts Exchange, LLC
>Environment:
FreeBSD ip3.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
There's some functionality of zenoss that requires a valid shell. Also, some plugins (AKA ZenPacks) require a valid shell.
Here's a suggested patch for UIDs.

We may also want to add something to UPDATING just in case someone installed zenoss and has a user with a nologin shell.
They will have to run the following to correct:
# pw usermod zenoss -s /bin/sh -d /usr/local/zenoss
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- UIDs.orig	2011-07-25 13:22:12.000000000 -0700
+++ UIDs	2011-07-28 11:33:08.000000000 -0700
@@ -217,5 +217,5 @@
 dbxml:*:945:945::0:0:& user:/nonexistent:/sbin/nologin
 sybase:*:946:946::0:0:& user:/usr/local/sybase-ase:/sbin/nologin
 dnrd:*:948:948::0:0:& user:/nonexistent:/sbin/nologin
-zenoss:*:949:949::0:0:& user:/nonexistent:/sbin/nologin
+zenoss:*:949:949::0:0:& user:/usr/local/zenoss:/bin/sh
 nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list