summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-13 00:24:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-13 00:24:26 +0000
commit013c1fb0bf939cd9666e3d0ab2dd2bbe380cb60a (patch)
treec6c6b201c418fa8c7408c89f80a90202c8a07f9c /etc
parent3f458b418d4164b28e2414bab8b99900675fbb85 (diff)
downloadpfsense-013c1fb0bf939cd9666e3d0ab2dd2bbe380cb60a.zip
pfsense-013c1fb0bf939cd9666e3d0ab2dd2bbe380cb60a.tar.gz
* Use /bin/sh for root login
* Use /bin/csh for option 8 shell to avoid respawning the /etc/rc.inintial script * Allow scp to firewall now correctly
Diffstat (limited to 'etc')
-rw-r--r--etc/master.passwd2
-rwxr-xr-xetc/rc.initial2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/master.passwd b/etc/master.passwd
index 429293b..c41032a 100644
--- a/etc/master.passwd
+++ b/etc/master.passwd
@@ -1,6 +1,6 @@
# $FreeBSD: src/etc/master.passwd,v 1.39 2004/08/01 21:33:47 markm Exp $
#
-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
diff --git a/etc/rc.initial b/etc/rc.initial
index cb55d7e..714958b 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -80,7 +80,7 @@ case ${opmode} in
;;
8)
set prompt = "\n`/bin/hostname -s`# "
- su -f root
+ /bin/csh
;;
9)
/usr/local/sbin/pftop
OpenPOWER on IntegriCloud