help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change shell for account


From: Michael Dahlberg
Subject: Change shell for account
Date: Fri, 13 Dec 2024 02:25:01 +0000

I'm hoping there's a simple fix for this ... or I'm just doing it wrong. When I 
setup an auxiliary account using system reconfigure, I forgot to set the shell 
to zsh. As expected it set the shell to bash. To fix the problem, I went back 
into my config.scm and added the line:

(
[file-append](https://guix.gnu.org/manual/devel/en/guix.html#index-file_002dappend)

zsh

"/bin/zsh"

)

Now, the shell is /bin/zsh (as determined by echo $SHELL​ and looking at 
/etc/passwd) but the login shell is still bash (as determined by echo $0​). The 
problem with this is that none of the zsh shell login scripts run. At this 
point it would be a bit "problematic" to delete the account and recreate it.

Why is the login shell still bash and more importantly, how do I change it to 
zsh?

Thanks,
Mike

reply via email to

[Prev in Thread] Current Thread [Next in Thread]