@apfusertoo:
@rjcrowder:
@apfusertoo:
Third, I am used to the root shell in FreeBSD being csh, and would like to use that - is it safe for me to simply use vipw and change the root shell to /bin/csh ?
I just changed the shell that gets executed for option 8 on the menu. Changed to (had to install first) Bash and it works fine…
Ack … ok, this does work - it appears NOT to work, since .tcshrc will get executed no matter what, as long as it is there.
So, if you want to change frmo tcsh to csh, you need to alter rc.initial and you need to remove your existing /root/.tcshrc file before your actual .cshrc file will get sourced...
Thanks :)
Ugh. So that worked just fine … until I rebooted. Now /etc/passwd file is back to /bin/sh for root, and the .tcshrc file was recreated for me. The changes to rc.initial stuck, but I still don't get a csh shell because .tcshrc is recreated...
How can I keep pfsense from recreating it ? Other than maybe creating an empty file and chflagging it schg ??