summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-06-19 21:45:38 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-06-19 21:45:38 +0000
commit3d3d97ace3a4326fae7d508b300c5178f5f2a607 (patch)
tree8da5b732919ce8ae5bcfdf738f1ba3af2b0332c4 /x11-libs/gksu
parentVersion bump. (diff)
downloadgentoo-2-3d3d97ace3a4326fae7d508b300c5178f5f2a607.tar.gz
gentoo-2-3d3d97ace3a4326fae7d508b300c5178f5f2a607.tar.bz2
gentoo-2-3d3d97ace3a4326fae7d508b300c5178f5f2a607.zip
Add einfo about env_reset and gksudo
(Portage version: 2.1.2.9)
Diffstat (limited to 'x11-libs/gksu')
-rw-r--r--x11-libs/gksu/ChangeLog5
-rw-r--r--x11-libs/gksu/gksu-2.0.0.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/x11-libs/gksu/ChangeLog b/x11-libs/gksu/ChangeLog
index cf1a1dddb892..89931665bc5e 100644
--- a/x11-libs/gksu/ChangeLog
+++ b/x11-libs/gksu/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/gksu
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v 1.40 2007/05/27 04:07:11 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/ChangeLog,v 1.41 2007/06/19 21:45:38 dang Exp $
+
+ 19 Jun 2007; Daniel Gryniewicz <dang@gentoo.org> gksu-2.0.0.ebuild:
+ Add einfo about env_reset and gksudo
27 May 2007; Joshua Kinard <kumba@gentoo.org> gksu-2.0.0.ebuild:
Stable on mips.
diff --git a/x11-libs/gksu/gksu-2.0.0.ebuild b/x11-libs/gksu/gksu-2.0.0.ebuild
index 2332516922a0..b59298bc9d0c 100644
--- a/x11-libs/gksu/gksu-2.0.0.ebuild
+++ b/x11-libs/gksu/gksu-2.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/gksu-2.0.0.ebuild,v 1.18 2007/05/27 04:07:11 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gksu/gksu-2.0.0.ebuild,v 1.19 2007/06/19 21:45:38 dang Exp $
inherit gnome2 fixheadtails
@@ -39,4 +39,14 @@ pkg_postinst() {
gnome2_pkg_postinst
einfo 'updating configuration'
"${ROOT}"/usr/share/gksu/gksu-migrate-conf.sh
+ einfo ""
+ einfo "A note on gksudo: It actually runs sudo to get it's work done"
+ einfo "However, by default, Gentoo's sudo wipes your envinronment."
+ einfo "This means that gksudo will fail to run any X-based programs."
+ einfo "You need to either add yourself to wheel and uncomment this line"
+ einfo "in your /etc/sudoers:"
+ einfo "Defaults:%wheel !env_reset"
+ einfo "Or remove the env_reset line entirely. This can cause security"
+ einfo "problems; if you don't trust your users, don't do this, use gksu"
+ einfo "instead."
}