[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running X apps when logged as su'd as root



On Mon, Mar 26, 2001 at 04:00:58PM -0800, Chris Majewski wrote:
> Speaking of reasonable defaults, shouldn't this be one? 
> -chris

no users should not run X programs as root.

> "Karsten M. Self" <kmself@ix.netcom.com> writes:
> 
> > Rather than exporting xauthority, my preference is:
> > 
> >     # As root
> >     $ xauth merge ~$USER/.Xauthority
> > 
> > ...where $USER is your desired user.
> > 
> > This transfers cookies from $USER's .Xauthority file to root's
> > .Xauthority file.  Changes to user's .Xauthority file don't effect X.
> > X now has access to user's X session, but not vice versa.
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpdEmJlEcSy6.pgp
Description: PGP signature


Reply to: