Re: allowing X display from su'd environment

2002-11-09 Thread Matt Zimmerman
On Sat, Nov 09, 2002 at 05:00:23PM +0100, Michael Eyrich wrote: > On Sat, Nov 09, 2002 at 10:41:05AM -0500, Matt Zimmerman wrote: > | An easier wethod: > | > | $ su > | # export XAUTHORITY=~user/.Xauthority > > This won't work, if ~user is NFS-mounted with the > 'root_squash'-option, because 'no

Re: allowing X display from su'd environment

2002-11-09 Thread Michael Eyrich
On Sat, Nov 09, 2002 at 10:41:05AM -0500, Matt Zimmerman wrote: | On Sat, Nov 09, 2002 at 12:40:12PM +0700, Jean Christophe ANDR? wrote: | | > Matt Zimmerman ?crivait : | > > This disables access control in the X server. This is, almost always, a | > > very bad idea. | > | > A better way to allo

Re: allowing X display from su'd environment

2002-11-09 Thread Matt Zimmerman
On Sat, Nov 09, 2002 at 12:40:12PM +0700, Jean Christophe ANDR? wrote: > Matt Zimmerman ?crivait : > > This disables access control in the X server. This is, almost always, a > > very bad idea. > > A better way to allow it (when you switch from normal to root user) : > > [EMAIL PROTECTED]:~$

Re: allowing X display from su'd environment

2002-11-09 Thread Matt Zimmerman
On Sat, Nov 09, 2002 at 05:00:23PM +0100, Michael Eyrich wrote: > On Sat, Nov 09, 2002 at 10:41:05AM -0500, Matt Zimmerman wrote: > | An easier wethod: > | > | $ su > | # export XAUTHORITY=~user/.Xauthority > > This won't work, if ~user is NFS-mounted with the > 'root_squash'-option, because 'no

Re: allowing X display from su'd environment

2002-11-09 Thread Michael Eyrich
On Sat, Nov 09, 2002 at 10:41:05AM -0500, Matt Zimmerman wrote: | On Sat, Nov 09, 2002 at 12:40:12PM +0700, Jean Christophe ANDR? wrote: | | > Matt Zimmerman ?crivait : | > > This disables access control in the X server. This is, almost always, a | > > very bad idea. | > | > A better way to allo

Re: allowing X display from su'd environment

2002-11-09 Thread Matt Zimmerman
On Sat, Nov 09, 2002 at 12:40:12PM +0700, Jean Christophe ANDR? wrote: > Matt Zimmerman ?crivait : > > This disables access control in the X server. This is, almost always, a > > very bad idea. > > A better way to allow it (when you switch from normal to root user) : > > test@localhost:~$ su

allowing X display from su'd environment

2002-11-08 Thread Jean Christophe ANDRÉ
Hi! Yogesh Sharma wrote: > > I am using woody + testing + some unstable: > > in xterm/gnome-terminal usually I do (as normal user) xhost + Matt Zimmerman écrivait : > This disables access control in the X server. This is, almost always, a > very bad idea. A better way to allow it (when

allowing X display from su'd environment

2002-11-08 Thread Jean Christophe ANDRÉ
Hi! Yogesh Sharma wrote: > > I am using woody + testing + some unstable: > > in xterm/gnome-terminal usually I do (as normal user) xhost + Matt Zimmerman écrivait : > This disables access control in the X server. This is, almost always, a > very bad idea. A better way to allow it (when