Void Linux discussion
 help / color / mirror / Atom feed
From: "Stefan Mühlinghaus" <"master..."@googlemail.com>
To: voidlinux <void...@googlegroups.com>
Subject: Re: how to enable .bash_history in Voidlinux
Date: Sun, 1 Nov 2015 14:39:20 -0800 (PST)	[thread overview]
Message-ID: <77fec9a9-6938-43cc-88fc-f726526cd7ed@googlegroups.com> (raw)
In-Reply-To: <65a79b3c-0168-404d-9b9f-73eca48ec4ad@googlegroups.com>


[-- Attachment #1.1: Type: text/plain, Size: 414 bytes --]

You can edit /etc/passwd and change roots default shell from /bin/sh to 
/bin/bash if you want to make the change permanent. For a one-time change 
you can always just switch the shell by running "exec bash".

I personally prefer the second option because that way shell scripts run as 
root will run under dash which is more restricted by simply having fewer 
features than bash and thus is somewhat more secure.

[-- Attachment #1.2: Type: text/html, Size: 464 bytes --]

  parent reply	other threads:[~2015-11-01 22:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-30 18:03 tuxracer
2015-10-30 18:11 ` tuxracer
2015-10-30 18:29 ` Duncaen
2015-11-01 14:34   ` tuxracer
2015-11-01 22:39 ` Stefan Mühlinghaus [this message]
2015-11-02 11:14   ` Christian Neukirchen

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=77fec9a9-6938-43cc-88fc-f726526cd7ed@googlegroups.com \
    --to="master..."@googlemail.com \
    --cc="void..."@googlegroups.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).