Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 18:39:29 GMT
From:      Phil Phillips <pphillips@experts-exchange.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159265: UIDs: net-mgmt/zenoss needs valid login
Message-ID:  <201107281839.p6SIdTOV023223@red.freebsd.org>
Resent-Message-ID: <201107281840.p6SIe7UQ065278@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107281839.p6SIdTOV023223>