[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make emacs stop trying to load /home/sb/.emacs after su to ro
From: |
Steinar Bang |
Subject: |
Re: How to make emacs stop trying to load /home/sb/.emacs after su to root? |
Date: |
Fri, 12 Jul 2019 23:41:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) |
>>>>> Stefan Monnier <monnier@iro.umontreal.ca>:
> I can't find any relevant change in Emacs in that timeframe.
> OTOH it seems that the `su` that comes with Debian may have changed
Hm... so I may have been barking up the wrong tree...?
> between Debian 9 and Debian 10 (tho whether you see the change or not
> might depend on whether you did an upgrade or a fresh install).
> https://wiki.debian.org/NewInBuster says:
> The `su` command in buster is provided by the `util-linux` source
> package, instead of the `shadow` source package, and no longer alters
> the `PATH` variable by default.
(I didn't even think about su changing. It's so basic, it's just part
of the background)
> the change mentioned doesn't explain the difference you're seeing, but
> maybe this other `su` has other changes (w.r.t $LOGNAME and $USER)
> which do.
Thanks for the pointer. I will dig down and report back.
> Stefan "who always uses `su -`"
Ah well... old habits are so hard to break. :-)
Thanks!
- How to make emacs stop trying to load /home/sb/.emacs after su to root?, Steinar Bang, 2019/07/08
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Stefan Monnier, 2019/07/08
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Perry Smith, 2019/07/11
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Steinar Bang, 2019/07/12
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Stefan Monnier, 2019/07/12
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?,
Steinar Bang <=
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Steinar Bang, 2019/07/13
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Perry Smith, 2019/07/13
- Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Steinar Bang, 2019/07/13
Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?, Perry Smith, 2019/07/08