On 3/26/25 9:04 AM, Greg wrote:
On 2025-03-26, Greg Wooledge <greg@wooledge.org> wrote:Does this "brokenness" of "su" have any potential effect on my usage?Maybe. If you haven't created an /etc/default/su file, then something like this:If he hasn't noticed yet, I doubt it.
I agree.If I understand what people want to accomplish by using command-line options, I would likely have gone to System->Log Out ... and then logged in as root.
I noticed when I finally erased Stretch and installed Bookworm and tried to run some command (whose name has escaped my memory) as root. The command wasn't found because it wasn't in my PATH. At that moment I recalled the "su -" 'workaround' thanks to you.