Ricardo Wurmus writes:

> mikadoZero <mikadoz...@yandex.com> writes:
>
>> I am trying to switch the root user from zsh to bash.
>>
>> The relevant part of my system configuration is:
>>
>>   (users (cons (user-account
>>        (name "guix")
>>        (group "users")
>>        (supplementary-groups '("wheel" "netdev" "audio"))
>>        (home-directory "/home/guix"))
>>             %base-user-accounts))
> ...
> I suppose you can just use chsh to change the root user’s default shell.

Thank you for the suggestion.

chsh did not work for me:
`chsh -s /run/current-system/profile/bin/bash` 
chsh: PAM: Authentication failure

This worked for me:

add to .bash_profile:
export VISUAL="emacs"

`vipw`

Change roots shell to:
/run/current-system/profile/bin/bash

Reply via email to