On Sun, Nov 12, 2023 at 09:29:28AM -0500, Thomas George wrote:
> As root I edited bashrc as found in root's home directory

OK.  If I'm not mistaken, that file never contained a PATH definition
in the first place, so you can put things back to normal simply by
deleting the line(s) that you added to that file.

If you want to fix su, my personal recommendation (out of all the options
that are on the NewInBuster wiki page) is this one:

unicorn:~$ cat /etc/default/su
ALWAYS_SET_PATH yes

Just create that file, and put that line in it.  It's what Debian should
have done for you.

Reply via email to