From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xhost +local:root ???
Date: Sat, 16 Sep 2006 20:55:01 +0200 [thread overview]
Message-ID: <20060916205501.98175ee7.hilse@web.de> (raw)
In-Reply-To: <20060916192914.74d6ac1e@krikkit.digimed.co.uk>
Hi,
On Sat, 16 Sep 2006 19:29:14 +0100
Neil Bothwick <neil@digimed.co.uk> wrote:
> emerge sux
>
> Use sux instead of su.
or, if using sudo, do the following:
append to /root/.bashrc:
----snip
[[ -n "$SUDO_USER" ]] && [[ -n "$DISPLAY" ]] && export XAUTHORITY=/home/$SUDO_USER/.Xauthority
----snip
to keep the DISPLAY environment variable set, /etc/sudoers should have
some line like this which tells it to not clean environment (in this
case for users in the wheel group, for which I allow passwordless
sudo'ing, too:
----snip
Defaults:%wheel !env_reset
----snip
-hwh
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-09-16 19:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-16 12:12 [gentoo-user] xhost +local:root ??? Meino Christian Cramer
2006-09-16 14:16 ` Neil Isaac
2006-09-16 16:23 ` Meino Christian Cramer
2006-09-16 18:29 ` Neil Bothwick
2006-09-16 18:55 ` Hans-Werner Hilse [this message]
2006-09-16 19:01 ` Alex Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060916205501.98175ee7.hilse@web.de \
--to=hilse@web.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox