$PATH and su to root

Todd Gruhn <[email protected]> Sat, 4 Jul 2026 13:23:09 -0400
Newsgroups gmane.os.netbsd.general
Message-ID <CA+9Akf9VBork03VtXP_7ag2LHkZ7BRWcDpMLA7LRkf3Xf0tOZQ@mail.gmail.com>
Under X11 I have many dirs in $PATH.

When I su to root, while under X11,
the root-window still has the previous and
huge $PATH.

Ho do I reset $PATH under X11 when I su
to root??