[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: root zsh to bash
From: |
mikadoZero |
Subject: |
Re: root zsh to bash |
Date: |
Wed, 20 Mar 2019 20:47:15 -0400 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ricardo Wurmus writes:
> mikadoZero <address@hidden> 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