Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1051401: general: PATH variable definition in debian 12

57 views
Skip to first unread message

robin hodges

unread,
Sep 7, 2023, 8:10:05 AM9/7/23
to
Package: general
Severity: normal
X-Debbugs-Cc: robinho...@yahoo.co.uk

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


Had a problem when I installed debian 12 onto my PC. As root the reboot and shutdown commands wouldnt work.
I have solved this on my PC by including the following into the root .bashrc file

export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin


Thank you

Timo Lindfors

unread,
Sep 14, 2023, 1:10:05 PM9/14/23
to

On 9/7/23 14:59, robin hodges wrote:
> Had a problem when I installed debian 12 onto my PC. As root the reboot and shutdown commands wouldnt work.
> I have solved this on my PC by including the following into the root .bashrc file
>
> export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

Did you login as root by typing "su" instead of "su --login"? If yes,
this is normal behavior, check "man su":

"It is recommended to always use the --login option"

-Timo
0 new messages