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

Reply via email to