tcsh for interactive sessions?

Status
Not open for further replies.

Stilez

Guru
Joined
Apr 8, 2016
Messages
529
  • Will it break anything internally if I change my shell from csh to tcsh (chsh -s /bin/tcsh root)?
  • If it might, is it safe to edit my .cshrc and, at the point it detects an interactive session, add -exec to switch shells for interactive sessions only? Possibly wrapped in a test for existence so root doesn't get locked out if the shell choices or paths change in future ;-)
  • Is there a cleaner way to do it, that is safer and/or more futureproof than these?
What's the best way for me to do it?
Thanks
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Create a normal user account with the ability to run sudo. Then you can use whatever shell you like.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
No need to change. On FreeBSD and FreeNAS, csh already is tcsh.
 
Status
Not open for further replies.
Top