From owner-freebsd-ports Thu Jan 21 16:10:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21245 for freebsd-ports-outgoing; Thu, 21 Jan 1999 16:10:14 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA21136 for ; Thu, 21 Jan 1999 16:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA06898; Thu, 21 Jan 1999 16:10:03 -0800 (PST) Received: from couatl.uchicago.edu (couatl.uchicago.edu [128.135.21.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20598 for ; Thu, 21 Jan 1999 16:08:21 -0800 (PST) (envelope-from sfarrell@couatl.uchicago.edu) Received: (from sfarrell@localhost) by couatl.uchicago.edu (8.9.1/8.9.0) id SAA06604; Thu, 21 Jan 1999 18:09:14 -0600 (CST) Message-Id: <199901220009.SAA06604@couatl.uchicago.edu> Date: Thu, 21 Jan 1999 18:09:14 -0600 (CST) From: stephen farrell Reply-To: sfarrell@healthquiz.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9609: Set path in webmin port for pwd_mkdb Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9609 >Category: ports >Synopsis: Set path in webmin port for pwd_mkdb >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 21 16:10:03 PST 1999 >Closed-Date: >Last-Modified: >Originator: stephen farrell >Release: FreeBSD 2.2.8-STABLE i386 >Organization: >Environment: >Description: The path for pwd_mkdb is not specified. This can lead to (a) webmin not finding such command (and it doesn't seem to catch this error properly! -- author contacted), or (b) possibly finding pwd_mkdb somewhere other than in /usr/sbin, which would be bad. >How-To-Repeat: Install port for webmin. Observe that the path is not set ;-) >Fix: --- useradmin/config-freebsd.orig Thu Jan 21 17:57:21 1999 +++ useradmin/config-freebsd Thu Jan 21 17:57:43 1999 @@ -3,7 +3,7 @@ user_files=/usr/share/skel passwd_file= master_file=/etc/master.passwd -post_command=pwd_mkdb -p /etc/master.passwd +post_command=/usr/sbin/pwd_mkdb -p /etc/master.passwd shadow_file= group_file=/etc/group base_uid=500 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message