aboutsummaryrefslogtreecommitdiff
path: root/etc/master.passwd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-10-19 06:46:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-10-20 07:34:05 +0000
commitd410b585b6f00a26c2de7724d6576a3ea7d548b7 (patch)
treecaa69cf6c229e93127ed7df91709158475d255c2 /etc/master.passwd
parentef0d94a3d34c880bd9f86cd842ee01b6075bc1d8 (diff)
downloadsrc-d410b585b6f00a26c2de7724d6576a3ea7d548b7.tar.gz
src-d410b585b6f00a26c2de7724d6576a3ea7d548b7.zip
sh(1): make it the default shell for the root user
In the recent history sh(1) has gain the missing features for it to become a usable interractive shell: - command completion - persistent history support - improvements on the default bindings in emacs mode - improvements in the vi mode (repect $EDITOR) - print a newline when exiting via ^D - default prompt and improvements on how PS1 can be configured - and more. This changes also simplifies making tiny freebsd images with only sh(1) as a shell
Diffstat (limited to 'etc/master.passwd')
-rw-r--r--etc/master.passwd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/master.passwd b/etc/master.passwd
index a1be886f1e8d..b61c13fdd9fe 100644
--- a/etc/master.passwd
+++ b/etc/master.passwd
@@ -1,6 +1,6 @@
# $FreeBSD$
#
-root::0:0::0:0:Charlie &:/root:/bin/csh
+root::0:0::0:0:Charlie &:/root:/bin/sh
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5::0:0:System &:/:/usr/sbin/nologin