help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /etc/profile


From: microsuxxor
Subject: Re: /etc/profile
Date: Tue, 17 Dec 2024 16:23:07 +0100

i had that when i dont su - i dont have sbin
since every already
but yea i dont do the debian stable tree much

On Tue, Dec 17, 2024, 3:27 PM Greg Wooledge <greg@wooledge.org> wrote:

> On Tue, Dec 17, 2024 at 12:51:10 +0000, Jérémy Bézairie wrote:
> > In Konsole, Bash, e.g. if I type fdisk as normal user or root (after
> typed
> > su) it doesn't work: bash: fdisk: command not found
>
> The problem is that Debian changed the su command's default behavior
> in buster (Debian 10).  You're just now feeling the effects of that.
>
> There are many workarounds; see
> <https://wiki.debian.org/NewInBuster#Changes> for a list.
>
> I *personally* prefer the one where you fix Debian's brokenness by
> creating the one-line /etc/default/su file, but you may have a
> different opinion on how best to approach the issue.
>
> ... and I just now realized that you *aren't* in fact posting this to
> a Debian mailing list, but instead, to a bash mailing list.  So, I've
> deleted a couple more paragraphs, and replaced them with this one.
> Your question has absolutely nothing to do with help-bash, as it's a
> Debian question.  Nevertheless, having this answer on the help-bash
> archive is potentially useful to readers who may search for it here,
> so I don't feel bad about answering here.
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]