Re: xhost-command in Debian1

2021-10-24 Thread Greg Wooledge
On Sun, Oct 24, 2021 at 04:59:06PM +1100, Keith Bainbridge wrote: > > On 24/10/21 05:31, Charles Curley wrote: > > alias su="su --whitelist-environment=DISPLAY,XAUTHORITY" > > > Doesn't that mean that when you type 'su' at a command prompt, the response > will be running the command > --whitelis

Re: xhost-command in Debian1

2021-10-23 Thread Keith Bainbridge
On 24/10/21 05:31, Charles Curley wrote: alias su="su --whitelist-environment=DISPLAY,XAUTHORITY" Doesn't that mean that when you type 'su' at a command prompt, the response will be running the command --whitelist-environment=DISPLAY,XAUTHORITY as root. You won't be able to switch to root

Re: xhost-command in Debian1

2021-10-23 Thread Charles Curley
On Fri, 22 Oct 2021 09:44:25 -0500 David Wright wrote: > > root@jhegaala:~# > > I think you need su --whitelist-environment=DISPLAY,XAUTHORITY - Thank you, also to Reco. I did: $ alias su="su --whitelist-environment=DISPLAY,XAUTHORITY" That works. So I will add that to my other aliases in