Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #245231
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: addendum, Re: One-user system. |
| Date | 2022-02-11 17:50 +0100 |
| Message-ID | <DPHhn-17ce-1@gated-at.bofh.it> (permalink) |
| References | <DPuDv-ZBX-1@gated-at.bofh.it> <DPuNb-ZF1-3@gated-at.bofh.it> <DPw2B-10jT-3@gated-at.bofh.it> <DPDnr-14Sq-3@gated-at.bofh.it> |
| Organization | occasionally |
On Fri, 11 Feb 2022 07:36:10 -0500 Greg Wooledge <greg@wooledge.org> wrote: > That makes me curious about what has been done to your system, which > is clearly behaving differently from mine. "su" with no arguments > preserves the environment, but "su -" establishes a new environment > and launches a login shell. The XAUTHORITY variable should be lost, > but perhaps something in your shell profile(s) is recreating it. Indeed. In my /etc/bash.bashrc, I have: # Allow su to use the display, i.e. whitelist the relevant variables. alias su="su --whitelist-environment=DISPLAY,XAUTHORITY" We had a discussion on this list after I had problems with su and running X clients after moving from Buster to Bullseye. The alias above came out of that discussion. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
addendum, Re: One-user system. peter@easthope.ca - 2022-02-11 04:20 +0100
Re: addendum, Re: One-user system. Greg Wooledge <greg@wooledge.org> - 2022-02-11 04:30 +0100
Re: addendum, Re: One-user system. Charles Curley <charlescurley@charlescurley.com> - 2022-02-11 05:50 +0100
Re: addendum, Re: One-user system. Greg Wooledge <greg@wooledge.org> - 2022-02-11 13:40 +0100
Re: addendum, Re: One-user system. <tomas@tuxteam.de> - 2022-02-11 14:00 +0100
Re: addendum, Re: One-user system. Charles Curley <charlescurley@charlescurley.com> - 2022-02-11 17:50 +0100
Re: addendum, Re: One-user system. Klaus Singvogel <deb-user-ml@singvogel.net> - 2022-02-11 15:50 +0100
csiph-web