On 2021-09-23 02:29, Mike Bristow wrote:
On Wed, Sep 22, 2021 at 10:00:49AM -0300, Renato Botelho wrote:+1 for keeping this behavior on default config-1 for this. Things should be as default-as-possible, so that the behaviour of /bin/sh as root on FreeBSD is unsuprising to someone used to /bin/sh on other systems or users, because they won't be used to the magic config. I have no problem with a section of root's .profile having the approprate magic commented out so that folk who want this can easily have it, of course.
OK this bit confuses me. If you logon as root. Then simply exec vipw(8) and change the default shell to (t)csh. The .cshrc template will sucked out of /etc/ into /root/ where you'll live happily ever after. No (un)commenting involved. :-) --Chris
Cheers, Mike
0xBDE49540.asc
Description: application/pgp-keys