Bug#1051401: general: PATH variable definition in debian 12
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
Bug#1051401: general: PATH variable definition in debian 12
Package: general Severity: normal X-Debbugs-Cc: robinhodges...@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