all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: mikadoZero <mikadozero@yandex.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: root zsh to bash
Date: Wed, 20 Mar 2019 20:47:15 -0400	[thread overview]
Message-ID: <cucmulpjbos.fsf@yandex.com> (raw)
In-Reply-To: <874l7x3gso.fsf@elephly.net>


Ricardo Wurmus writes:

> mikadoZero <mikadozero@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	other threads:[~2019-03-21  0:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-19 22:53 root zsh to bash mikadoZero
2019-03-20 11:51 ` Ricardo Wurmus
2019-03-21  0:47   ` mikadoZero [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cucmulpjbos.fsf@yandex.com \
    --to=mikadozero@yandex.com \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.