summaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2000-11-30 21:43:37 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2000-11-30 21:43:37 +0000
commit5fed4e9f8caf6fdc3bb3f07839c55a25bd307bbc (patch)
tree49c2de84a0145e01477ea821449f9a6cdd73f0f4 /release
parente754e5f36195e02ade9ed545e0318a749172e634 (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/picobsd/floppy.tree/etc/login.conf6
-rw-r--r--release/picobsd/floppy.tree/etc/rc.conf23
-rw-r--r--release/picobsd/floppy.tree/etc/sshd_config2
3 files changed, 25 insertions, 6 deletions
diff --git a/release/picobsd/floppy.tree/etc/login.conf b/release/picobsd/floppy.tree/etc/login.conf
index c04ea6a95769..4337b1fb7481 100644
--- a/release/picobsd/floppy.tree/etc/login.conf
+++ b/release/picobsd/floppy.tree/etc/login.conf
@@ -28,7 +28,7 @@ default:\
:memorylocked-cur=10M:\
:memoryuse-cur=30M:\
:filesize=infinity:\
- :coredumpsize=infinity:\
+ :coredumpsize=0:\
:maxproc-cur=64:\
:openfiles-cur=64:\
:priority=0:\
@@ -50,7 +50,7 @@ standard:\
:memorylocked=4M:\
:memoryuse=8M:\
:filesize=8M:\
- :coredumpsize=8M:\
+ :coredumpsize=0:\
:openfiles=24:\
:maxproc=32:\
:priority=0:\
@@ -83,7 +83,7 @@ root:\
:memorylocked=infinity:\
:memoryuse=infinity:\
:filesize=infinity:\
- :coredumpsize=infinity:\
+ :coredumpsize=0:\
:openfiles=infinity:\
:maxproc=infinity:\
:memoryuse-cur=32M:\
diff --git a/release/picobsd/floppy.tree/etc/rc.conf b/release/picobsd/floppy.tree/etc/rc.conf
index 3756207066d2..12744fffaaff 100644
--- a/release/picobsd/floppy.tree/etc/rc.conf
+++ b/release/picobsd/floppy.tree/etc/rc.conf
@@ -8,8 +8,10 @@
# Remaining parameters are set using a switch.
rc_conf_set_defaults() {
+syslogd_enable="NO"
+pccard_enable="NO"
swapfile="NO" # Set to name of swapfile if aux swapfile desired.
-firewall="NO" # firewall type (see /etc/rc.firewall) or NO
+firewall_enable="NO" # firewall type (see /etc/rc.firewall) or NO
tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO).
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
@@ -27,6 +29,18 @@ arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL.
mask="0xffffff00"
}
+# the following lets the user specify a name and ip for his system
+read_address() {
+ echo "Please enter a hostname and IP address for your system $main_ether"
+ read hostname the_ip
+ if [ "X$hostname" != "X" ] ; then
+ echo "# $main_ether $hostname" >> /etc/hosts
+ echo "$the_ip $hostname" >> /etc/hosts
+ else
+ hostname=default
+ fi
+}
+
rc_conf_set_defaults
hostname=""
@@ -40,7 +54,12 @@ while read a b c ; do
fi
done < /etc/hosts
if [ "X$hostname" = "X" -o "X$hostname" = "X." ] ; then
- hostname=default
+ if [ "X$main_ether" = "X" ] ; then
+ echo "No ethernets found, using localhost"
+ hostname=localhost
+ else
+ read_address
+ fi
fi
eval ifconfig_${main_if}=\" \$hostname netmask \$mask\"
diff --git a/release/picobsd/floppy.tree/etc/sshd_config b/release/picobsd/floppy.tree/etc/sshd_config
index bfc5f4c7d82d..5e9688791d42 100644
--- a/release/picobsd/floppy.tree/etc/sshd_config
+++ b/release/picobsd/floppy.tree/etc/sshd_config
@@ -9,7 +9,7 @@ PermitRootLogin yes
IgnoreRhosts no
StrictModes yes
QuietMode no
-X11Forwarding yes
+X11Forwarding no
X11DisplayOffset 10
FascistLogging no
PrintMotd yes