From 013c1fb0bf939cd9666e3d0ab2dd2bbe380cb60a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 13 Mar 2005 00:24:26 +0000 Subject: * 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 --- etc/master.passwd | 2 +- etc/rc.initial | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') 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 -- cgit v1.1