sh shell

From: LuMiWa <lumiwa_at_dismail.de>
Date: Fri, 08 Dec 2023 10:28:49 UTC
Hi!

I have FreeBSD 14.0-RELEASE-p2. Root shell is sh and user ksh.
In the root directory is .shrc and .sh_history which settings using if I
log as root or su -. But if I use just su if as I read should use also
root settings but it doesn't. It use .cshrc. Is it correct or I have
somewhere wrong setting, please?

env
LOGNAME=abc
A__z="*SHLVL
PAGER=less
LANG=en_US.UTF-8
COLORFGBG=10;default;0
XAUTHORITY=/home/abc/.Xauthority
MAIL=/var/mail/abc
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/abc/bin
EDITOR=vi
ENV=/home/abc/.kshrc
DISPLAY=:0
PWD=/home/abc
_=clear
TERM=rxvt-unicode-256color
USER=abc
HOME=/root
WINDOWPATH=9
SHELL=/bin/sh
COLORTERM=rxvt-xpm
MM_CHARSET=UTF-8
WINDOWID=27263125
BLOCKSIZE=K
SHLVL=2

Thank you.

-- 
“Life shrinks or expands in proportion to one's courage.”
― Anais Nin