summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-01-13 13:19:16 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-01-13 13:19:16 +0000
commite8919753807656a8e4bb914001e9cf7a4608c50e (patch)
tree2ff83564366e3faef6294bc89151567eb80b8d59 /app-admin/usermin
parentSecurity bug #7731. (diff)
downloadgentoo-2-e8919753807656a8e4bb914001e9cf7a4608c50e.tar.gz
gentoo-2-e8919753807656a8e4bb914001e9cf7a4608c50e.tar.bz2
gentoo-2-e8919753807656a8e4bb914001e9cf7a4608c50e.zip
Updated ebuild to match webmin's update for security bug #7731. usermin isn't affected, but I'm doing this anyway to be safe if behavior changes in the future.
Diffstat (limited to 'app-admin/usermin')
-rw-r--r--app-admin/usermin/ChangeLog8
-rw-r--r--app-admin/usermin/usermin-1.100-r1.ebuild6
2 files changed, 11 insertions, 3 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog
index 64bac1f00574..3117b19fdef9 100644
--- a/app-admin/usermin/ChangeLog
+++ b/app-admin/usermin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/usermin
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.46 2005/01/01 11:33:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.47 2005/01/13 13:19:15 eradicator Exp $
+
+ 13 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ usermin-1.100-r1.ebuild:
+ Updated ebuild to match webmin's update for security bug #7731. usermin
+ isn't affected, but I'm doing this anyway to be safe if behavior changes in
+ the future.
*usermin-1.100-r1 (31 Dec 2004)
diff --git a/app-admin/usermin/usermin-1.100-r1.ebuild b/app-admin/usermin/usermin-1.100-r1.ebuild
index 8fe03a44d931..b030b736111d 100644
--- a/app-admin/usermin/usermin-1.100-r1.ebuild
+++ b/app-admin/usermin/usermin-1.100-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.100-r1.ebuild,v 1.2 2005/01/01 11:33:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.100-r1.ebuild,v 1.3 2005/01/13 13:19:16 eradicator Exp $
IUSE="ssl"
@@ -60,7 +60,7 @@ src_install() {
autoos=1
port=20000
login=root
- crypt=`grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :`
+ crypt="XXX"
host=`hostname`
use ssl && ssl=1 || ssl=0
atboot=0
@@ -83,6 +83,8 @@ src_install() {
}
pkg_postinst() {
+ local crypt=$(grep "^root:" ${ROOT}/etc/shadow | cut -f 2 -d :)
+ dosed "s/root:XXX/root:${crypt}/" /etc/usermin/miniserv.users
einfo "To make usermin start at boot time, run: 'rc-update add usermin default'."
einfo "Point your web browser to http://localhost:20000 to use usermin."
}