diff options
author | luigi <luigi@FreeBSD.org> | 2000-05-31 12:27:38 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2000-05-31 12:27:38 +0000 |
commit | 3b7e236de2f9883b0ae23d1825e6e352f9cd9e27 (patch) | |
tree | 2188064bc7a180b04c0c5d71b758692883936701 /release/picobsd | |
parent | d929968cbc697f3d7edb92bfadcd8133f6f3819c (diff) | |
download | FreeBSD-src-3b7e236de2f9883b0ae23d1825e6e352f9cd9e27.zip FreeBSD-src-3b7e236de2f9883b0ae23d1825e6e352f9cd9e27.tar.gz |
Move mfs-related files to a different subtree
Diffstat (limited to 'release/picobsd')
-rw-r--r-- | release/picobsd/mfs_tree/etc/login.conf | 62 | ||||
-rw-r--r-- | release/picobsd/mfs_tree/etc/rc | 29 |
2 files changed, 91 insertions, 0 deletions
diff --git a/release/picobsd/mfs_tree/etc/login.conf b/release/picobsd/mfs_tree/etc/login.conf new file mode 100644 index 0000000..60e50f4 --- /dev/null +++ b/release/picobsd/mfs_tree/etc/login.conf @@ -0,0 +1,62 @@ +# $FreeBSD$ + +# Authentication methods + +auth-defaults:\ + :auth=krb_skey_or_passwd,passwd,kerberos,skey: + +auth-root-defaults:\ + :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\ + :auth-rlogin=krb_or_skey,kerberos,skey: +auth-ftp-defaults:\ + :auth=skey_or_pwd,passwd,skey: +# Example defaults +default:\ + :cputime=infinity:\ + :datasize-cur=22M:\ + :stacksize-cur=8M:\ + :memorylocked-cur=10M:\ + :memoryuse-cur=30M:\ + :filesize=infinity:\ + :coredumpsize=0:\ + :maxproc-cur=64:\ + :openfiles-cur=64:\ + :priority=0:\ + :requirehome@:\ + :umask=022:\ + :tc=auth-defaults: + +# root - fallback for root logins +root:\ + :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ + :cputime=infinity:\ + :datasize=infinity:\ + :stacksize=infinity:\ + :memorylocked=infinity:\ + :memoryuse=infinity:\ + :filesize=infinity:\ + :coredumpsize=0:\ + :openfiles=infinity:\ + :maxproc=infinity:\ + :memoryuse-cur=32M:\ + :maxproc-cur=64:\ + :openfiles-cur=1024:\ + :priority=0:\ + :requirehome@:\ + :umask=022:\ + :tc=auth-root-defaults: +# Settings used by /etc/rc +daemon:\ + :coredumpsize@:\ + :coredumpsize-cur=0:\ + :datasize=infinity:\ + :datasize-cur@:\ + :maxproc=512:\ + :maxproc-cur@:\ + :memoryuse-cur=64M:\ + :memorylocked-cur=64M:\ + :openfiles=1024:\ + :openfiles-cur@:\ + :stacksize=16M:\ + :stacksize-cur@:\ + :tc=default: diff --git a/release/picobsd/mfs_tree/etc/rc b/release/picobsd/mfs_tree/etc/rc new file mode 100644 index 0000000..79fddf5 --- /dev/null +++ b/release/picobsd/mfs_tree/etc/rc @@ -0,0 +1,29 @@ +#!/bin/sh +# $FreeBSD$ +# WARNING !!! We remove this file during execution (see EOF). +# Awful things happen if its size is > 1024B + +stty status '^T' +trap : 2 +trap : 3 + +HOME=/; export HOME +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin +export PATH + +trap "echo 'Reboot interrupted'; exit 1" 3 + +### Special setup for one floppy PICOBSD ### +set `df /` ; dev="/dev/$8" +echo "Reading /etc from ${dev}..." +mount -o rdonly ${dev} /mnt +cd /mnt/etc ; cp -Rp . /etc/ +cp -Rp /mnt/root / +cd /etc +gzip -d *.gz +pwd_mkdb -p ./master.passwd +umount /mnt +echo "Ok. (Now you can remove ${dev} if you like)" +echo "" +. rc +exit 0 |