On Fri, Dec 01, 2023 at 07:06:58PM +0000, fuf wrote:
> I'm embarrassed because didn't can use "fdisk"!
> I work as normal user, open the terminal, switch to "root" user but get:
> root@debian:/sbin# fdisk -l
> bash: fdisk: command not found
https://wiki.debian.org/NewInBuster#Changes
Or the tl;dr version:
echo 'ALWAYS_SET_PATH yes' >> /etc/default/su
After this, exit from your root shell, and "su" again, and this time
the PATH will be correctly set.