command not found under su
Ok, so just recently installed Debian 10 on my new file server after running Debian 6 for a while. So far things are going pretty good, except one little thing.
If I do an su to root from a regular user and run an application...sometimes I get a "command not found". Some commands will work but others (one of these is fdisk) will give a command not found.
I have never came across this in my past (guess I got lucky) Linux experience, and at least from what I have read so far it relates to the PATH in my .profile files. The thing is, I'm not sure which config/profile file I need to edit for this AND what directories to add to allow my programs to work.
I don't mind doing this under the normal root login (where it appears like most all apps work) but sometimes it's just quicker to su to make a quick fix.
|