chsh

I know that chsh is used for changing your shell but I can't where this information is stored.

echo $SHELL shows bash so I know I have used the command, but I'd like to know where this is held.

Anyone know?
 
The user database, mate. Traditionally /etc/passwd but that file has long since been replaced with /etc/master.passwd.
I looked in /etc/passwd like ChatGPT suggested but there wasn't anything there, but using HI ;) it was where you suggested.

I changed it to zsh, but forget I hadn't yet installed it.

OOPS!!

Can't login.
 
When I was trying out chatgpt a while back, it insisted on using bash and I had to constantly correct it. It still hasn't learned the lesson that FreeBSD does not natively install bash. Is that the reason you are using bash?
 
When I was trying out chatgpt a while back, it insisted on using bash and I had to constantly correct it. It still hasn't learned the lesson that FreeBSD does not natively install bash. Is that the reason you are using bash?
I installed to be able to use mc. but have now replaced it zsh.
 
Back
Top