summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-06-08 04:57:57 +0000
committerBill Marquette <billm@pfsense.org>2008-06-08 04:57:57 +0000
commitb942a5d599d80e64fc8f09c44b1789bc4ad88233 (patch)
treea0371b85b8ef6d202daab16028372d052751d02e /etc
parentb71501f65c149ada78890c9366c8e32308773335 (diff)
downloadpfsense-b942a5d599d80e64fc8f09c44b1789bc4ad88233.zip
pfsense-b942a5d599d80e64fc8f09c44b1789bc4ad88233.tar.gz
Fix default shells for root and admin users based on what the usermanager
in RELENG_1 appears to set it to Set default password to pfsense again in hopes that this is all that is stopping us from logging in as root after enabling ssh
Diffstat (limited to 'etc')
-rw-r--r--etc/master.passwd4
-rw-r--r--etc/passwd4
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/master.passwd b/etc/master.passwd
index a0d8fa3..22d5fb5 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:$1$p1ELiiB6$LSfyfqbVcUXu74W:0:0::0:0:Charlie &:/root:/etc/rc.initial
+root:$1$9ZCIHWSF$/6MpmsZXSQbkARathg3cX1:0:0::0:0:Charlie &:/root:/usr/bin
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
@@ -19,7 +19,7 @@ _pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/usr/sbin/nologin
www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
dhcpd:*:1002:1002::0:0:DHCP Daemon:/nonexistent:/sbin/nologin
-admin:$1$iUpbXUIV$7PberecIXo0.xSD8RoX/N.:0:0::0:0:Admin User:/root:/etc/rc.initial
+admin:$1$9ZCIHWSF$/6MpmsZXSQbkARathg3cX1:0:0::0:0:Admin User:/home/admin:/usr/lcaol/bin/scponly
_dhcp:*:65:65::0:0:dhcp programs:/var/empty:/usr/sbin/nologin
_isakmpd:*:68:68::0:0:isakmpd privsep:/var/empty:/sbin/nologin
uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
diff --git a/etc/passwd b/etc/passwd
index b3d6855..a4c0729 100644
--- a/etc/passwd
+++ b/etc/passwd
@@ -1,4 +1,4 @@
-root:*:0:0:Charlie &:/root:/etc/rc.initial
+root:*:0:0:Charlie &:/root:/bin/sh
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
@@ -20,6 +20,6 @@ www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
distcc:*:1001:1001:Distcc:/home/distcc:/sbin/nologin
dhcpd:*:1002:1002:DHCP Daemon:/nonexistent:/sbin/nologin
-admin:*:0:0:Admin User:/root:/etc/rc.initial
+admin:*:0:0:Admin User:/home/admin:/usr/local/bin/scponly
_ntp:*:123:123:NTP daemon:/var/empty:/sbin/nologin
_relayd:*:913:913:Relay Daemon:/var/empty:/usr/sbin/nologin
OpenPOWER on IntegriCloud