diff -urN 2.2.8-RELEASE/etc/aliases 3.1-RELEASE/etc/aliases --- 2.2.8-RELEASE/etc/aliases Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/aliases Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: aliases,v 1.3.2.2 1997/08/21 12:07:55 wosch Exp $ +# $Id: aliases,v 1.8.2.1 1999/02/09 15:07:12 des Exp $ # @(#)aliases 5.3 (Berkeley) 5/24/90 # # Aliases in this file will NOT be expanded in the header from @@ -12,6 +12,11 @@ # See also RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES # AND FUNCTIONS', May 1997 +# Pretty much everything else in this file points to "root", so +# you would do well in either reading roots mailbox or forwarding +# roots email from here. + +# root: me@my.domain # Basic system aliases -- these MUST be present MAILER-DAEMON: postmaster @@ -25,6 +30,7 @@ news: root nobody: root operator: root +pop: root system: root toor: root usenet: news @@ -32,7 +38,6 @@ xten: root # Well-known aliases -- these should be filled in! -# root: # manager: # dumper: diff -urN 2.2.8-RELEASE/etc/amd.map 3.1-RELEASE/etc/amd.map --- 2.2.8-RELEASE/etc/amd.map Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/amd.map Mon Feb 15 19:45:33 1999 @@ -1,2 +1,2 @@ -/defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} -* opts:=rw,grpid,resvport,nfsv2,nosuid,nodev +/defaults type:=host;fs:=${autodir}/${rhost}/host;rhost:=${key} +* opts:=rw,grpid,resvport,vers=2,proto=udp,nosuid,nodev diff -urN 2.2.8-RELEASE/etc/auth.conf 3.1-RELEASE/etc/auth.conf --- 2.2.8-RELEASE/etc/auth.conf Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/auth.conf Mon Feb 15 19:45:33 1999 @@ -0,0 +1,10 @@ +# +# $Id: auth.conf,v 1.1 1998/10/08 06:12:04 markm Exp $ +# +# This file contains information on what types of authentication to use. +# It is just the beginnings of a greater scheme. + +# auth_default = des +# auth_list = passwd kerberos + +auth_list = passwd diff -urN 2.2.8-RELEASE/etc/crontab 3.1-RELEASE/etc/crontab --- 2.2.8-RELEASE/etc/crontab Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/crontab Mon Feb 15 19:45:33 1999 @@ -1,7 +1,6 @@ # /etc/crontab - root's crontab for FreeBSD # -# $Id: crontab,v 1.13 1996/01/06 22:21:37 ache Exp $ -# From: Id: crontab,v 1.6 1993/05/31 02:03:57 cgd Exp +# $Id: crontab,v 1.18 1998/03/30 09:17:25 ache Exp $ # SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin @@ -12,14 +11,14 @@ */5 * * * * root /usr/libexec/atrun # # rotate log files every hour, if necessary -0 * * * * root /usr/sbin/newsyslog +0 * * * * root newsyslog # # do daily/weekly/monthly maintenance -0 2 * * * root /etc/daily 2>&1 | sendmail root -30 3 * * 6 root /etc/weekly 2>&1 | sendmail root -30 5 1 * * root /etc/monthly 2>&1 | sendmail root +0 2 * * * root periodic daily 2>&1 | sendmail root +30 3 * * 6 root periodic weekly 2>&1 | sendmail root +30 5 1 * * root periodic monthly 2>&1 | sendmail root # # time zone change adjustment for wall cmos clock, # does nothing, if you have UTC cmos clock. # See adjkerntz(8) for details. -1,31 0-4 * * * root /sbin/adjkerntz -a +1,31 0-5 * * * root adjkerntz -a diff -urN 2.2.8-RELEASE/etc/csh.cshrc 3.1-RELEASE/etc/csh.cshrc --- 2.2.8-RELEASE/etc/csh.cshrc Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/csh.cshrc Mon Feb 15 19:45:33 1999 @@ -1,3 +1,3 @@ -# $Id: csh.cshrc,v 1.1.1.1.10.1 1998/09/03 22:14:37 brian Exp $ +# $Id: csh.cshrc,v 1.2 1998/09/02 01:34:55 brian Exp $ # # System-wide .cshrc file for csh(1). diff -urN 2.2.8-RELEASE/etc/csh.login 3.1-RELEASE/etc/csh.login --- 2.2.8-RELEASE/etc/csh.login Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/csh.login Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: csh.login,v 1.16.2.2 1998/09/03 22:14:37 brian Exp $ +# $Id: csh.login,v 1.18 1998/09/02 01:34:55 brian Exp $ # # System-wide .login file for csh(1). # Uncomment this to give you the default 4.2 behavior, where disk diff -urN 2.2.8-RELEASE/etc/csh.logout 3.1-RELEASE/etc/csh.logout --- 2.2.8-RELEASE/etc/csh.logout Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/csh.logout Mon Feb 15 19:45:33 1999 @@ -1,3 +1,3 @@ -# $Id: csh.logout,v 1.1.1.1.10.1 1998/09/03 22:14:37 brian Exp $ +# $Id: csh.logout,v 1.2 1998/09/02 01:34:55 brian Exp $ # # System-wide .logout file for csh(1). diff -urN 2.2.8-RELEASE/etc/daily 3.1-RELEASE/etc/daily --- 2.2.8-RELEASE/etc/daily Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/daily Thu Jan 1 09:00:00 1970 @@ -1,174 +0,0 @@ -#!/bin/sh - -# -# $Id: daily,v 1.21.2.4 1998/09/13 23:10:08 brian Exp $ -# @(#)daily 5.12 (Berkeley) 5/24/91 -# -PATH=/bin:/usr/bin:/sbin:/usr/sbin -host=`hostname -s` -echo "Subject: $host daily run output" -bak=/var/backups - -echo "" -echo "Removing scratch and junk files:" -if [ -d /var/preserve ]; then - cd /var/preserve && { - find . ! -name . -mtime +7 -exec rm -f -- {} \; ; } -fi - -if [ -d /var/rwho ] ; then - cd /var/rwho && { - find . ! -name . -mtime +7 -exec rm -f -- {} \; ; } -fi - -cd /tmp - -# This is a security hole, never use 'find' on a public directory -# with -exec rm -f as root. This can be exploited to delete any file -# on the system. -# -#find / \( ! -fstype local -o -fstype rdonly \) -a -prune -o \ -# \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name '*.core' \ -# -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \ -# -a -atime +3 -exec rm -f -- {} \; -# -# -# The same security hole. Purge the temp directories from unused stuff. -# Note that we must not accidentally clean the X11 lock files. -# -# Use at your own risk, but for a long-living system, this might come -# more useful than the boot-time cleaning of /tmp. If /var/tmp and -# /tmp are symlinked together, only one of the below will actually -# run. -# -# if [ -d /tmp ]; then -# cd /tmp && { -# find . -type f -atime +3 -ctime +3 ! -name '.X*-lock' -exec rm -f -- {} \; -# find -d . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \ -# >/dev/null 2>&1; } -# fi -# -# if [ -d /var/tmp ]; then -# cd /var/tmp && { -# find . ! -name . -atime +7 -ctime +3 -exec rm -f -- {} \; -# find -d . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \ -# >/dev/null 2>&1; } -# fi -# -# - -# remove system messages older than 21 days -msgs -c - -if [ -f /etc/news.expire ]; then - /etc/news.expire -fi - -if [ -f /var/account/acct ] ; then - echo "" - echo "Gathering accounting statistics:" - cd /var/account - if [ -f acct.2 ] ; then mv -f acct.2 acct.3 ; fi - if [ -f acct.1 ] ; then mv -f acct.1 acct.2 ; fi - if [ -f acct.0 ] ; then mv -f acct.0 acct.1 ; fi - cp -pf acct acct.0 - sa -s > /dev/null -fi - -echo "" -echo "Backup passwd and group files:" -if [ ! -f $bak/master.passwd.bak ] ; then - echo "no $bak/master.passwd.bak" - cp -p /etc/master.passwd $bak/master.passwd.bak -fi -if cmp -s $bak/master.passwd.bak /etc/master.passwd; then :; else - echo "$host passwd diffs:" - diff $bak/master.passwd.bak /etc/master.passwd |\ - sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' - mv $bak/master.passwd.bak $bak/master.passwd.bak2 - cp -p /etc/master.passwd $bak/master.passwd.bak -fi -if [ ! -f $bak/group.bak ] ; then - echo "no $bak/group.bak" - cp -p /etc/group $bak/group.bak -fi -if cmp -s $bak/group.bak /etc/group; then :; else - echo "$host group diffs:" - diff $bak/group.bak /etc/group - mv $bak/group.bak $bak/group.bak2 - cp -p /etc/group $bak/group.bak -fi -if [ ! -f $bak/aliases.bak ] ; then - echo "no $bak/aliases.bak" - cp -p /etc/aliases $bak/aliases.bak -fi -if cmp -s $bak/aliases.bak /etc/aliases; then :; else - echo "$host aliases diffs:" - diff $bak/aliases.bak /etc/aliases - mv $bak/aliases.bak $bak/aliases.bak2 - cp -p /etc/aliases $bak/aliases.bak -fi -if [ -f /etc/Distfile ]; then - if cmp -s $bak/Distfile.bak /etc/Distfile; then :; else - mv $bak/Distfile.bak $bak/Distfile.bak2 - cp /etc/Distfile $bak/Distfile.bak - fi -fi - - -# `calendar -a' needs to die. Why? Because it's a bad idea, particular -# with networked home directories, but also in general. If you want the -# output of `calendar' mailed to you, set up a cron job to do it, -# or run it from your ~/.profile or ~/.login. -# -# echo "" -# echo "Running calendar:" -# calendar -a - - -if [ -d /var/spool/uucp -a -f /etc/uuclean.daily ]; then - echo "" - echo "Cleaning up UUCP:" - echo /etc/uuclean.daily | su daemon -fi - -echo "" -echo "" -echo "Checking subsystem status:" -echo "" -echo "disks:" -df -k -t local -echo "" -dump W -echo "" - - -echo "" -echo "mail:" -mailq - -if [ -d /var/spool/uucp ]; then - echo "" - echo "uucp:" - uustat -a -fi - -echo "" -echo "network:" -netstat -i -echo "" -if [ -d /var/rwho ] ; then - ruptime -fi - -echo "" -if [ -f /etc/Distfile ]; then - echo "Running rdist:" - rdist -f /etc/Distfile -fi - -if [ -f /etc/daily.local ]; then - echo "Running daily.local:" - sh /etc/daily.local -fi - -sh /etc/security 2>&1 | sendmail root diff -urN 2.2.8-RELEASE/etc/defaults/rc.conf 3.1-RELEASE/etc/defaults/rc.conf --- 2.2.8-RELEASE/etc/defaults/rc.conf Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/defaults/rc.conf Mon Feb 15 19:45:33 1999 @@ -0,0 +1,214 @@ +#!/bin/sh +# + +# This is rc.conf - a file full of useful variables that you can set +# to change the default startup behavior of your system. You should +# not edit this file! Put any overrides into one of the ${rc_conf_files} +# instead and you will be able to update these defaults later without +# spamming your local configuration information. +# +# All arguments must be in double or single quotes. +# +# $Id: rc.conf,v 1.1 1999/02/09 22:15:18 jkh Exp $ + +############################################################## +### Important initial Boot-time options ##################### +############################################################## + +swapfile="NO" # Set to name of swapfile if aux swapfile desired. +apm_enable="NO" # Set to YES if you want APM enabled. +pccard_enable="NO" # Set to YES if you want to configure PCCARD devices. +pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address. +pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). +local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. +local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic" # periodic script dirs +rc_conf_files="/etc/rc.conf /etc/rc.conf.local" + +############################################################## +### Network configuration sub-section ###################### +############################################################## + +### Basic network options: ### +hostname="myname.my.domain" # Set this! +nisdomainname="NO" # Set to NIS domain if using NIS (or NO). +firewall_enable="NO" # Set to YES to enable firewall functionality +firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall) +firewall_quiet="NO" # Set to YES to suppress rule display +natd_enable="NO" # Enable natd (if firewall_enable == YES). +natd_interface="fxp0" # Public interface to use with natd. +natd_flags="" # Additional flags for natd. +tcp_extensions="NO" # Disallow RFC1323 extensions (or YES). +network_interfaces="lo0" # List of network interfaces (lo0 is loopback). +ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. +#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. +# +# If you have any sppp(4) interfaces above, you might also want to set +# the following parameters. Refer to spppcontrol(8) for their meaning. +sppp_interfaces="" # List of sppp interfaces. +#sppp_interfaces="isp0" # example: sppp over ISDN +#spppconfig_isp0="authproto=chap myauthname=foo myauthsecret='top secret' hisauthname=some-gw hisauthsecret='another secret'" + +### Network daemon (miscellaneous) & NFS options: ### +syslogd_enable="YES" # Run syslog daemon (or NO). +syslogd_flags="" # Flags to syslogd (if enabled). +inetd_enable="YES" # Run the network daemon dispatcher (or NO). +inetd_flags="" # Optional flags to inetd. +# +# named. It may be possible to run named in a sandbox, man security for +# details. +# +named_enable="NO" # Run named, the DNS server (or NO). +named_program="named" # path to named, if you want a different one. +named_flags="" # Flags for named +#named_flags="-u bind -g bind" # Flags for named + +kerberos_server_enable="NO" # Run a kerberos master server (or NO). +kadmind_server_enable="NO" # Run kadmind (or NO) -- do not run on + # a slave kerberos server +kerberos_stash="" # Is the kerberos master key stashed? +rwhod_enable="NO" # Run the rwho daemon (or NO). +rwhod_flags="" # Flags for rwhod +amd_enable="NO" # Run amd service with $amd_flags (or NO). +amd_flags="-a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map" +amd_map_program="NO" # Can be set to "ypcat -k amd.master" +nfs_client_enable="NO" # This host is an NFS client (or NO). +nfs_client_flags="-n 4" # Flags to nfsiod (if enabled). +nfs_access_cache="2" # Client cache timeout in seconds +nfs_server_enable="NO" # This host is an NFS server (or NO). +nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled). +mountd_flags="-r" # Flags to mountd (if NFS server enabled). +nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO). +rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server. +rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO). +portmap_enable="YES" # Run the portmapper service (or NO). +portmap_flags="" # Flags to portmap (if enabled). +rpc_ypupdated_enable="NO" # Run if NIS master and SecureRPC (or NO). +keyserv_enable="NO" # Run the SecureRPC keyserver (or NO). +keyserv_flags="" # Flags to keyserv (if enabled). +rarpd_enable="NO" # Run rarpd (or NO). +rarpd_flags="" # Flags to rarpd. +xtend_enable="NO" # Run the X-10 power controller daemon. +xtend_flags="" # Flags to xtend (if enabled). + +### Network Time Services options: ### +timed_enable="NO" # Run the time daemon (or NO). +timed_flags="" # Flags to timed (if enabled). +ntpdate_enable="NO" # Run the ntpdate to sync time (or NO). +ntpdate_program="ntpdate" # path to ntpdate, if you want a different one. +ntpdate_flags="" # Flags to ntpdate (if enabled). +xntpd_enable="NO" # Run xntpd Network Time Protocol (or NO). +xntpd_program="xntpd" # path to xntpd, if you want a different one. +xntpd_flags="-p /var/run/xntpd.pid" # Flags to xntpd (if enabled). + +# Network Information Services (NIS) options: ### +nis_client_enable="NO" # We're an NIS client (or NO). +nis_client_flags="" # Flags to ypbind (if enabled). +nis_ypset_enable="NO" # Run ypset at boot time (or NO). +nis_ypset_flags="" # Flags to ypset (if enabled). +nis_server_enable="NO" # We're an NIS server (or NO). +nis_server_flags="" # Flags to ypserv (if enabled). +nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO). +nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled). +nis_yppasswdd_enable="NO" # Run rpc.yppasswdd at boot time (or NO). +nis_yppasswdd_flags="" # Flags to rpc.yppasswdd (if enabled). + +### Network routing options: ### +defaultrouter="NO" # Set to default gateway (or NO). +static_routes="" # Set to static route list (or leave empty). +gateway_enable="NO" # Set to YES if this host will be a gateway. +router_enable="NO" # Set to YES to enable a routing daemon. +router="routed" # Name of routing daemon to use if enabled. +router_flags="-q" # Flags for routing daemon. +mrouted_enable="NO" # Do multicast routing (see /etc/mrouted.conf). +mrouted_flags="" # Flags for multicast routing daemon. +ipxgateway_enable="NO" # Set to YES to enable IPX routing. +ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon. +ipxrouted_flags="" # Flags for IPX routing daemon. +arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL. +forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES") +accept_sourceroute="NO" # accept source routed packets to us + +### ATM interface options: ### +atm_enable="NO" # Configure ATM interfaces (or NO). +#atm_netif_hea0="atm 1" # Network interfaces for physical interface. +#atm_sigmgr_hea0="uni31" # Signalling manager for physical interface. +#atm_prefix_hea0="ILMI" # NSAP prefix (UNI interfaces only) (or ILMI). +#atm_macaddr_hea0="NO" # Override physical MAC address (or NO). +#atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local). +#atm_scsparp_atm0="NO" # Run SCSP/ATMARP on network interface (or NO). +atm_pvcs="" # Set to PVC list (or leave empty). +atm_arps="" # Set to permanent ARP list (or leave empty). + +### ISDN interface options: ### +isdn_enable="NO" # Enable the ISDN subsystem (or NO). +isdn_fsdev="/dev/ttyv4" # Output device for fullscreen mode (or NO for daemon mode). +isdn_flags="-dn -d0x1f9" # Flags for isdnd +isdn_trace="NO" # Enable the ISDN trace subsystem (or NO). +isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace + +### Miscellaneous network options: ### +icmp_bmcastecho="NO" # respond to broadcast ping packets + + +############################################################## +### System console options ################################# +############################################################## + +keymap="NO" # keymap in /usr/share/syscons/keymaps/* (or NO). +keyrate="NO" # keyboard rate to: slow, normal, fast (or NO). +keybell="NO" # bell to duration.pitch or normal or visual (or NO). +keychange="NO" # function keys default values (or NO). +cursor="NO" # cursor type {normal|blink|destructive} (or NO). +scrnmap="NO" # screen map in /usr/share/syscons/scrnmaps/* (or NO). +font8x16="NO" # font 8x16 from /usr/share/syscons/fonts/* (or NO). +font8x14="NO" # font 8x14 from /usr/share/syscons/fonts/* (or NO). +font8x8="NO" # font 8x8 from /usr/share/syscons/fonts/* (or NO). +blanktime="300" # blank time (in seconds) or "NO" to turn it off. +saver="NO" # screen saver: Uses /modules/${saver}_saver.ko +moused_enable="NO" # Run the mouse daemon. +moused_type="auto" # See man page for rc.conf(5) for available settings. +moused_port="/dev/cuaa0" # Set to your mouse port. +moused_flags="" # Any additional flags to moused. +allscreens_flags="" # Set this vidcontrol mode for all virtual screens + + +############################################################## +### Miscellaneous administrative options ################### +############################################################## + +cron_enable="YES" # Run the periodic job daemon. +lpd_enable="NO" # Run the line printer daemon. +lpd_flags="" # Flags to lpd (if enabled). +usbd_enable="NO" # Run the usbd daemon. +usbd_flags="" # Flags to usbd (if enabled). +sendmail_enable="YES" # Run the sendmail daemon (or NO). +sendmail_flags="-bd -q30m" # -bd is pretty mandatory. +dumpdev="NO" # Device name to crashdump to (if enabled). +check_quotas="NO" # Check quotas (or NO). +accounting_enable="NO" # Turn on process accounting (or NO). +ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO). +linux_enable="NO" # Linux emulation loaded at startup (or NO). +svr4_enable="NO" # SysVR4 emulation loaded at startup (or NO). +rand_irqs="NO" # Stir the entropy pool (like "5 11" or NO). +clear_tmp_enable="NO" # Clear /tmp at startup. +ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" + # shared library search paths +ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout" + # a.out shared library search paths +kern_securelevel_enable="NO" # kernel security level (see init(8)), +kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure +update_motd="YES" # update version info in /etc/motd (or NO) +vinum_drives="" # put in names of disks containing vinum drives + +############################################################## +### Allow local configuration override at the very end here ## +############################################################## +# +# + +for i in ${rc_conf_files}; do + if [ -f $i ]; then + . $i + fi +done + diff -urN 2.2.8-RELEASE/etc/disktab 3.1-RELEASE/etc/disktab --- 2.2.8-RELEASE/etc/disktab Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/disktab Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: disktab,v 1.9.2.6 1998/09/03 22:14:38 brian Exp $ +# $Id: disktab,v 1.18 1999/01/12 00:25:49 jkh Exp $ # # Disk geometry and partition layout tables. # Key: @@ -205,6 +205,11 @@ :ns#2880:nc#1:\ :pa#2880:oa#0:ba#4096:fa#512:\ :pc#2880:oc#0:bc#4096:fc#512: + +minimum2:ty=mfs:se#512:nt#1:rm#300:\ + :ns#5760:nc#1:\ + :pa#5760:oa#0:ba#4096:fa#512:\ + :pc#5760:oc#0:bc#4096:fc#512: zip100|zip 100:\ :ty=removable:se#512:nc#96:nt#64:ns#32:\ diff -urN 2.2.8-RELEASE/etc/dm.conf 3.1-RELEASE/etc/dm.conf --- 2.2.8-RELEASE/etc/dm.conf Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/dm.conf Mon Feb 15 19:45:33 1999 @@ -1,6 +1,6 @@ # # Game Control File -# $Id: dm.conf,v 1.1.1.1.10.1 1998/09/03 22:14:37 brian Exp $ +# $Id: dm.conf,v 1.2 1998/09/02 01:34:55 brian Exp $ # @(#)dm.conf 5.5 (Berkeley) 4/12/89 # diff -urN 2.2.8-RELEASE/etc/fbtab 3.1-RELEASE/etc/fbtab --- 2.2.8-RELEASE/etc/fbtab Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/fbtab Mon Feb 15 19:45:33 1999 @@ -0,0 +1,2 @@ +#/dev/ttyv0 0600 /dev/console +#/dev/ttyv0 0600 /dev/pcaudio:/dev/pcaudioctl diff -urN 2.2.8-RELEASE/etc/ftpusers 3.1-RELEASE/etc/ftpusers --- 2.2.8-RELEASE/etc/ftpusers Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/ftpusers Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: ftpusers,v 1.3.2.1 1998/09/03 22:14:37 brian Exp $ +# $Id: ftpusers,v 1.4 1998/09/02 01:34:55 brian Exp $ # # list of users disallowed any ftp access. # read by ftpd(8). diff -urN 2.2.8-RELEASE/etc/gettytab 3.1-RELEASE/etc/gettytab --- 2.2.8-RELEASE/etc/gettytab Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/gettytab Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: gettytab,v 1.12.2.4 1998/09/03 22:14:37 brian Exp $ +# $Id: gettytab,v 1.16 1998/09/02 01:34:55 brian Exp $ # from: @(#)gettytab 5.14 (Berkeley) 3/27/91 # # Most of the table entries here are just copies of the old getty table, @@ -38,7 +38,7 @@ # np:ap: same as np except istrip. # default:\ - :cb:ce:ck:lc:fd#1000:im=\r\nFreeBSD (%h) (%t)\r\n\r\n:sp#1200: + :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: # # Fixed speed entries @@ -76,6 +76,8 @@ :np:sp#57600: std.115200|115200-baud:\ :np:sp#115200: +std.230400|230400-baud:\ + :np:sp#230400: # # Entry specifying explicit device settings. See termios(4) and diff -urN 2.2.8-RELEASE/etc/gnats/freefall 3.1-RELEASE/etc/gnats/freefall --- 2.2.8-RELEASE/etc/gnats/freefall Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/gnats/freefall Mon Feb 15 19:45:34 1999 @@ -7,3 +7,4 @@ misc ports sparc +alpha diff -urN 2.2.8-RELEASE/etc/group 3.1-RELEASE/etc/group --- 2.2.8-RELEASE/etc/group Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/group Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: group,v 1.13.2.4 1998/09/13 23:10:08 brian Exp $ +# $Id: group,v 1.18 1998/12/01 21:19:49 dillon Exp $ # wheel:*:0:root daemon:*:1:daemon @@ -13,6 +13,7 @@ games:*:13: staff:*:20:root guest:*:31:root +bind:*:53: uucp:*:66: xten:*:67:xten dialer:*:68: diff -urN 2.2.8-RELEASE/etc/host.conf 3.1-RELEASE/etc/host.conf --- 2.2.8-RELEASE/etc/host.conf Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/host.conf Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: host.conf,v 1.2.10.1 1998/11/23 10:24:02 jkh Exp $ +# $Id: host.conf,v 1.5 1998/11/16 02:02:30 jkh Exp $ # First try the /etc/hosts file hosts # Now try the nameserver next. diff -urN 2.2.8-RELEASE/etc/hosts 3.1-RELEASE/etc/hosts --- 2.2.8-RELEASE/etc/hosts Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/hosts Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: hosts,v 1.6.2.1 1998/07/19 06:53:17 jkh Exp $ +# $Id: hosts,v 1.9 1998/04/16 14:37:19 joerg Exp $ # # Host Database # This file should contain the addresses and aliases diff -urN 2.2.8-RELEASE/etc/hosts.equiv 3.1-RELEASE/etc/hosts.equiv --- 2.2.8-RELEASE/etc/hosts.equiv Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/hosts.equiv Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: hosts.equiv,v 1.2.6.1 1998/09/03 22:14:37 brian Exp $ +# $Id: hosts.equiv,v 1.3 1998/09/02 01:34:56 brian Exp $ # #localhost #my_very_good_friend.domain diff -urN 2.2.8-RELEASE/etc/hosts.lpd 3.1-RELEASE/etc/hosts.lpd --- 2.2.8-RELEASE/etc/hosts.lpd Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/hosts.lpd Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: hosts.lpd,v 1.1.1.1.10.2 1998/09/03 22:14:37 brian Exp $ +# $Id: hosts.lpd,v 1.3 1998/09/02 01:34:56 brian Exp $ # # See lpd(8) #machine.domain diff -urN 2.2.8-RELEASE/etc/inetd.conf 3.1-RELEASE/etc/inetd.conf --- 2.2.8-RELEASE/etc/inetd.conf Mon Nov 30 14:15:13 1998 +++ 3.1-RELEASE/etc/inetd.conf Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: inetd.conf,v 1.23.2.6 1998/09/03 22:14:37 brian Exp $ +# $Id: inetd.conf,v 1.33 1998/12/01 22:01:59 dillon Exp $ # # Internet server configuration database # @@ -8,12 +8,14 @@ telnet stream tcp nowait root /usr/libexec/telnetd telnetd shell stream tcp nowait root /usr/libexec/rshd rshd login stream tcp nowait root /usr/libexec/rlogind rlogind -finger stream tcp nowait nobody /usr/libexec/fingerd fingerd -s +finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s #exec stream tcp nowait root /usr/libexec/rexecd rexecd #uucpd stream tcp nowait root /usr/libexec/uucpd uucpd #nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd -comsat dgram udp wait root /usr/libexec/comsat comsat -ntalk dgram udp wait root /usr/libexec/ntalkd ntalkd +# run comsat as root to be able to print partial mailbox contents w/ biff, +# or use the safer tty:tty to just print that new mail has been received. +comsat dgram udp wait tty:tty /usr/libexec/comsat comsat +ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd #tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot #bootps dgram udp wait root /usr/libexec/bootpd bootpd # @@ -37,12 +39,12 @@ #klogin stream tcp nowait root /usr/libexec/rlogind rlogind -k #eklogin stream tcp nowait root /usr/libexec/rlogind rlogind -k -x #kshell stream tcp nowait root /usr/libexec/rshd rshd -k -#rkinit stream tcp nowait root /usr/libexec/rkinitd rkinitd +#kip stream tcp nowait root /usr/libexec/kipd kipd # -# Services run ONLY on the Kerberos server +# CVS servers - for master CVS repositories only! # -#krbupdate stream tcp nowait root /usr/libexec/registerd registerd -#kpasswd stream tcp nowait root /usr/libexec/kpasswdd kpasswdd +#cvspserver stream tcp nowait root /usr/bin/cvs cvs pserver +#cvs stream tcp nowait root /usr/bin/cvs cvs kserver # # RPC based services (you MUST have portmapper running to use these) # @@ -61,9 +63,13 @@ # #imap4 stream tcp nowait root /usr/local/libexec/imapd imapd # +# Return error for all "ident" requests +# +#ident stream tcp nowait root internal +# # example entry for the optional ident server # -#ident stream tcp wait root /usr/local/sbin/identd identd -w -t120 +#ident stream tcp wait kmem:kmem /usr/local/sbin/identd identd -w -t120 # # example entry for the optional qmail MTA # diff -urN 2.2.8-RELEASE/etc/isdn/answer 3.1-RELEASE/etc/isdn/answer --- 2.2.8-RELEASE/etc/isdn/answer Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/answer Mon Feb 15 19:45:34 1999 @@ -0,0 +1,103 @@ +#!/bin/sh +#--------------------------------------------------------------------------- +# +# answer script for i4b isdnd +# --------------------------- +# +# $Id: answer,v 1.1 1999/01/10 14:30:45 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:05:20 1998] +# +#--------------------------------------------------------------------------- +VARDIR=/var/isdn +LIBDIR=/usr/local/lib/isdn +LOGFILE=/tmp/answer.log +NCALLFILE=$VARDIR/ncall +DATE=`date +%d%H` +DF=0 +dF=0 +sF=0 + +set -- `getopt D:d:s: $*` + +if test $? != 0 +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +for i +do + case "$i" + in + -D) + DEVICE=$2 + DF=1 + shift + shift + ;; + -d) + DEST=$2 + dF=1 + shift + shift + ;; + -s) + SRC=$2 + sF=1 + shift + shift + ;; + --) + shift + break + ;; + esac +done + +echo "" >>$LOGFILE + +if [ $DF -eq 0 -o $dF -eq 0 -o $sF -eq 0 ] +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +echo "answer: device $DEVICE destination $DEST source $SRC " >>$LOGFILE + +if [ -f $NCALLFILE ] +then + NCALL=`cat $NCALLFILE` +else + NCALL=0 +fi + +NCALL=`printf "%.4d" $NCALL` + +echo Date: `date` >> $VARDIR/I.$NCALL.$DATE + +if [ "$SRC" != "" ] +then + echo "From: $SRC" >> $VARDIR/I.$NCALL.$DATE +fi + +if [ "$DEST" != "" ] +then + echo "To: $DEST" >> $VARDIR/I.$NCALL.$DATE +fi + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k # >/dev/null 2>&1 +fi + +if [ -f $LIBDIR/msg.g711a ] +then + dd of=$DEVICE if=$LIBDIR/msg.g711a bs=2k # >/dev/null 2>&1 + if [ -f $LIBDIR/beep.g711a ] + then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k # >/dev/null 2>&1 + fi +fi + +echo `expr $NCALL + 1` >$NCALLFILE diff -urN 2.2.8-RELEASE/etc/isdn/isdnd.rates.D 3.1-RELEASE/etc/isdn/isdnd.rates.D --- 2.2.8-RELEASE/etc/isdn/isdnd.rates.D Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/isdnd.rates.D Mon Feb 15 19:45:34 1999 @@ -0,0 +1,63 @@ +#--------------------------------------------------------------------------- +# +# i4b - Deutsche Telekom charging rates config file +# ------------------------------------------------- +# +# $Id: isdnd.rates.D,v 1.1 1999/01/10 14:30:46 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:05:48 1998] +# +# -hm updated to reflect last Telekom changes as of 1.7.97 +# -hm updated to reflect last Telekom changes as of 1.3.98 +# +#--------------------------------------------------------------------------- +# +# reference: http://www.telekom.de/aktuell/tarife98 +# +#--------------------------------------------------------------------------- +# +# Syntax: +# ------- +# rate-code: ra0 = CityCall, ra1 = RegioCall, ra2 = GermanCall +# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc. +# Rate: start_hour.minutes-end_hour.minutes:period in seconds +# +#------------------------------------------------------------------------------ +# +#=================== CityCall ========================================================================= +# +#rate-code Day rate1 rate2 rate3 rate4 rate5 +#--------- --- --------------- --------------- --------------- --------------- ---------------- +ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240 +ra0 1 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 +ra0 2 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 +ra0 3 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 +ra0 4 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 +ra0 5 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 +ra0 6 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240 +# +#=================== RegioCall ====================================================================================================== +# +#rate-code Day rate1 rate2 rate3 rate4 rate5 rate6 rate7 +#--------- --- --------------- --------------- --------------- --------------- --------------- --------------- -------------- +ra1 0 00.00-05.00:60 05.00-21.00:45 21.00-24.00:60 +ra1 1 00.00-02.00:60 02.00-05.00:120 05.00-09.00:45 09.00-12.00:26 12.00-18.00:30 18.00-21.00:45 21.00-24.00:60 +ra1 2 00.00-02.00:60 02.00-05.00:120 05.00-09.00:45 09.00-12.00:26 12.00-18.00:30 18.00-21.00:45 21.00-24.00:60 +ra1 3 00.00-02.00:60 02.00-05.00:120 05.00-09.00:45 09.00-12.00:26 12.00-18.00:30 18.00-21.00:45 21.00-24.00:60 +ra1 4 00.00-02.00:60 02.00-05.00:120 05.00-09.00:45 09.00-12.00:26 12.00-18.00:30 18.00-21.00:45 21.00-24.00:60 +ra1 5 00.00-02.00:60 02.00-05.00:120 05.00-09.00:45 09.00-12.00:26 12.00-18.00:30 18.00-21.00:45 21.00-24.00:60 +ra1 6 00.00-05.00:60 05.00-21.00:45 21.00-24.00:60 +# +#================== GermanCall ====================================================================================================== +# +#rate-code Day rate1 rate2 rate3 rate4 rate5 rate 6 rate7 +#--------- --- --------------- --------------- -------------- --------------- -------------- --------------- ---------------- +ra2 0 00.00-05.00:36 05.00-21.00:30 21.00-24.00:36 +ra2 1 00.00-02.00:36 02.00-05.00:120 05.00-09.00:22 09.00-12.00:13 12.00-18.00:14 18.00-21.00:22 21.00-24.00:36 +ra2 2 00.00-02.00:36 02.00-05.00:120 05.00-09.00:22 09.00-12.00:13 12.00-18.00:14 18.00-21.00:22 21.00-24.00:36 +ra2 3 00.00-02.00:36 02.00-05.00:120 05.00-09.00:22 09.00-12.00:13 12.00-18.00:14 18.00-21.00:22 21.00-24.00:36 +ra2 4 00.00-02.00:36 02.00-05.00:120 05.00-09.00:22 09.00-12.00:13 12.00-18.00:14 18.00-21.00:22 21.00-24.00:36 +ra2 5 00.00-02.00:36 02.00-05.00:120 05.00-09.00:22 09.00-12.00:13 12.00-18.00:14 18.00-21.00:22 21.00-24.00:36 +ra2 6 00.00-05.00:36 05.00-21.00:30 21.00-24.00:36 +# +#================== EOF ============================================================================================================ diff -urN 2.2.8-RELEASE/etc/isdn/isdnd.rates.F 3.1-RELEASE/etc/isdn/isdnd.rates.F --- 2.2.8-RELEASE/etc/isdn/isdnd.rates.F Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/isdnd.rates.F Mon Feb 15 19:45:34 1999 @@ -0,0 +1,152 @@ +#--------------------------------------------------------------------------- +# +# i4b - Tarifs France Telecom +# --------------------------- +# +# $Id: isdnd.rates.F,v 1.1 1999/01/10 14:30:46 hm Exp $ +# +# last edit-date: [Thu Mar 19 20:05:18 1998] +# +# -hm got from Aurelien Bargy +# +#--------------------------------------------------------------------------- +# +# a jour au 1.10.97 +# Aurelien Bargy - 18.03.97 +# +# I wrote a rates file for France. It is rather approximative +# because some time ago France Telecom decided to abandon the charging +# units system. The problem is, on ISDN lines charging units are still +# used for the aocd system, even as it gives a completely false price +# for a communication, so "abandoning" the msg_charging_unit system for +# French users of i4b is not a good idea :)) +# +#--------------------------------------------------------------------------- +# +# Syntax: +# ------- +# rate-code: ra0 = local ; ra1 = zone 1 ; ra2 = zone 2... +# plus quelques tarifs internationaux +# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc. +# Rate: start_hour.minutes-end_hour.minutes:period in seconds +# +#------------------------------------------------------------------------ +# +#========================== Communications locales ====================== +#rate-code Day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra0 0 00.00-24.00:317 +ra0 1 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 +ra0 2 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 +ra0 3 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 +ra0 4 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 +ra0 5 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 +ra0 6 00.00-08.00:317 08.00-12.00:158 12.00-24.00:317 +# +# +# +#================== Zone 1 : < 25 km ================================== +# +#rate-code Day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra1 0 00.00-24.00:222 +ra1 1 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 +ra1 2 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 +ra1 3 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 +ra1 4 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 +ra1 5 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 +ra1 6 00.00-08.00:222 08.00-12.00:111 12.00-24.00:222 +# +# +# +#================== Zone 2 : 25-30 km ================================= +# +#rate-code Day rate1 rate2 rate3 +#--------- --- --------------- --------------- -------------- +ra2 0 00.00-24.00:148 +ra2 1 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 +ra2 2 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 +ra2 3 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 +ra2 4 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 +ra2 5 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 +ra2 6 00.00-08.00:148 08.00-12.00:74 12.00-24.00:148 +# +#=================== Zone 3 : 30-52 km ================================ +# +#rate-code day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra3 0 00.00-24.00:94 +ra3 1 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 +ra3 2 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 +ra3 3 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 +ra3 4 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 +ra3 5 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 +ra3 6 00.00-08.00:94 08.00-12.00:47 12.00-24.00:94 +# +# +#=================== Zone 4 : > 52 km ================================= +# +#rate-code day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra4 0 00.00-24.00:78 +ra4 1 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 +ra4 2 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 +ra4 3 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 +ra4 4 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 +ra4 5 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 +ra4 6 00.00-08.00:78 08.00-12.00:39 12.00-24.00:78 +# +# +#=================== INTERNATIONAL : Allemagne ======================== +# (pour appeler Hellmuth) +# +#rate-code day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra5 0 00.00-24.00:27 +ra5 1 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 +ra5 2 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 +ra5 3 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 +ra5 4 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 +ra5 5 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 +ra5 6 00.00-08.00:27 08.00-12.00:21 12.00-24.00:27 +# +# +#=================== INTERNATIONAL : Pays-Bas ========================== +# +#rate-code day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra6 0 00.00-24.00:25 +ra6 1 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 +ra6 2 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 +ra6 3 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 +ra6 4 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 +ra6 5 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 +ra6 6 00.00-08.00:25 08.00-12.00:20 12.00-24.00:25 +# +# +#=================== INTERNATIONAL : Portugal =========================== +# +#rate-code day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra7 0 00.00-24.00:22 +ra7 1 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 +ra7 2 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 +ra7 3 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 +ra7 4 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 +ra7 5 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 +ra7 6 00.00-08.00:22 08.00-12.00:18 12.00-24.00:22 +# +# +#=================== INTERNATIONAL : USA/Canada ======================== +# +#rate-code day rate1 rate2 rate3 +#--------- --- --------------- --------------- --------------- +ra8 0 00.00-24.00:25 +ra8 1 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 +ra8 2 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 +ra8 3 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 +ra8 4 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 +ra8 5 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 +ra8 6 00.00-24.00:25 +# +#================== EOF ============================================== diff -urN 2.2.8-RELEASE/etc/isdn/isdnd.rc.sample 3.1-RELEASE/etc/isdn/isdnd.rc.sample --- 2.2.8-RELEASE/etc/isdn/isdnd.rc.sample Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/isdnd.rc.sample Mon Feb 15 19:45:34 1999 @@ -0,0 +1,257 @@ +#------------------------------------------------------------------------------ +# +# example of a configuration file for the isdn daemon +# --------------------------------------------------- +# +# $Id: isdnd.rc.sample,v 1.1 1999/01/19 15:33:19 hm Exp $ +# +# last edit-date: [Tue Jan 19 16:30:12 1999] +# +# NOTICE: +# ======= +# This configuration file is an EXAMPLE only and MUST be edited +# carefully to get the desired results! +# +# Please read the "isdnd.rc" manual page (execute "man isdnd.rc") +# for reference ! +# +#------------------------------------------------------------------------------ + +#============================================================================== +# SYSTEM section: isdnd global configuration parameters +#============================================================================== +system + +# accounting +# ---------- + +acctall = on # generate info for everything +acctfile = /var/log/isdnd.acct # name & location of accounting file +useacctfile = yes # generate accouting info to file + +# monitor +# ------- + +monitor-allowed = no # global switch: monitor on/off +monitor-port = 451 # default monitor TCP port + +# Monitor rights are granted due to the most specific host/net spec, i.e. in +# the example below host 192.168.1.2 will have the rights specified on that +# line, even so it belongs to net 192.168.1.0/24 as well. +# +# A monitor specification may either be: +# +# - the name of a local (UNIX-domain) socket; this MUST start with a "/" +monitor = "/var/run/isdn-monitor" +monitor-access = fullcmd +monitor-access = channelstate, logevents +monitor-access = callin, callout +# +# - a dotted-quad host spec +monitor = "192.168.1.2" +monitor-access = restrictedcmd, channelstate, callin, callout +# +# - a dotted-quad net spec with "/len" (CIDR-style) netmask spec +monitor = "192.168.1.0/24" +monitor-access = restrictedcmd, channelstate, callin, callout +# +# - a resolveable host name +monitor = "rumolt" +monitor-access = restrictedcmd, channelstate, callin, callout +# +# - a resolveable net name with "/len" netmask (s.a.) appended +monitor = "up-vision-net/24" +monitor-access = restrictedcmd, channelstate, callin, callout + +# ratesfile +# --------- + +ratesfile = /etc/isdn/isdnd.rates # name & location of rates file + +# regular expression pattern matching +# ----------------------------------- + +#regexpr = "connected.*XXX" # look for matches in log messages +#regprog = connectXXX # execute program when match is found + +# realtime priority section +# ------------------------- + +rtprio = 25 # modify isdnd's process priority + +#============================================================================== +# entry section: IP over ISDN example - i call back the remote end +#============================================================================== +entry + +name = I4BIP # name for reference. This name will + # be used in the logfile to identfy + # this entry. + + # the network or telephone device + # the data traffic should be routed to: +usrdevicename = ipr # ipr, isp, tel, rbch +usrdeviceunit = 0 # unit number + + # the ISDN controller number to be + # used for this entry: +isdncontroller = 0 # contoller to use or -1 to use any +isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any + + # incoming only, outgoing only or both: +direction = inout # in, out, inout + + # numbers used to verify a DIAL IN: +local-phone-incoming = 321 # this is my number +remote-phone-incoming = 0123456789 # this one can call in + + # numbers used at DIAL OUT time: +local-phone-dialout = 321 # this is my number +remote-phone-dialout = 00123456789 # i call this remote number + + # in case i have several remote + # telephone numbers specified, this + # is used to specify which one is + # used next on dial fail or retry: +remdial-handling = first # first, last or next + + # what happenes if someone dials in: +dialin-reaction = callback # accept, reject, ignore, answer, callback + + # normal dialout or do i call back: +dialout-type = normal # normal / calledback + +callbackwait = 1 # no of secs to wait before calling back + + # type of protocol on the B-channel: + # hdlc must be specified for IP (the + # ipr and isp drivers), raw must be + # specified for telephone answering +b1protocol = hdlc # hdlc, raw + + # shorthold mode and idle time + # configuration: +ratetype = 0 # ratesfile entry to use +unitlength = 90 # unitlength to assume +unitlengthsrc = rate # none, rate, cmdl, conf, aocd +idletime-incoming = 120 # incoming call idle timeout +idletime-outgoing = 60 # outgoing call idle timeout +earlyhangup = 5 # time to hangup before an expected + # next charging unit will occur + + # retry and recovery parameters +dialretries = 3 # # of dial retries +dialrandincr = off # random dial increment time +recoverytime = 5 # time to wait between 2 dial tries +usedown = off # set i/f down +downtries = 5 # retry cycles before set down +downtime = 30 # time to be in down before going up + +#connectprog = "ip-up" # run /etc/isdn/ip-up when an interface + # has established its network connection. + # example parameters are: + # /etc/isdn/ip-up -d isp0 -f up -a 192.110.12.14 +#disconnectprog = "ip-down" # like connectprog, but run after the connection + # is closed (ISDN layer down). The actual + # interface address might not be known + # any more. example parameters are: + # /etc/isdn/ip-up -d isp0 -f down -a 0.0.0.0 + +#============================================================================== +# entry section: IP over ISDN example - i am called back by the remote end +#============================================================================== +entry + +name = I4BIP1 # name for reference + +usrdevicename = ipr # ipr, tel, rbch +usrdeviceunit = 1 # unit number + +isdncontroller = 0 # contoller to use or -1 to use any +isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any + + # numbers used to DIAL OUT +remote-phone-dialout = 00401234567 # remote number to dial +local-phone-dialout = 38 # our number to tell remote + + # numbers used to verify at DIAL IN +local-phone-incoming = 38 # we take calls for this local number +remote-phone-incoming = 00401234567 # we take calls from this remote machine + +b1protocol = hdlc # hdlc, raw + +ratetype = 0 # city +unitlength = 90 # default unit length +earlyhangup = 5 # safety zone +unitlengthsrc = aocd # none, rate, cmdl, conf, aocd + +dialin-reaction = accept # accept, reject, ignore, anwer, callback + +dialout-type = calledback # normal or calledback + +dialretries = 3 +recoverytime = 3 +calledbackwait = 20 +dialrandincr = off + +usedown = off +downtries = 2 +downtime = 30 + +idletime-incoming = 300 +idletime-outgoing = 30 + +#============================================================================== +# entry section: answering machine example +#============================================================================== +entry + +name = I4BTEL # name for reference +usrdevicename = tel # ipr, tel, rbch +usrdeviceunit = 0 # unit number + +isdncontroller = 0 # contoller to use or -1 to use any +isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any + + # numbers used to verify at DIAL IN +local-phone-incoming = 456 # this is my number +remote-phone-incoming = * # anyone can call in + +dialin-reaction = answer # accept, reject, ignore, answer + +answerprog = answer # program to run + +b1protocol = raw # hdlc, raw + +idletime-incoming = 5 # 5 seconds idle timeout + +#======================================================================= +# entry section: PPP example +#====================================================================== +entry +name = I4BPPP +usrdevicename = isp +usrdeviceunit = 0 +isdncontroller = 0 +isdnchannel = -1 +local-phone-incoming = 1234 +remote-phone-incoming = 5678 +local-phone-dialout = 1234 +remote-phone-dialout = 5678 +remdial-handling = first +dialin-reaction = accept +dialout-type = normal +b1protocol = hdlc +idletime-incoming = 240 +idletime-outgoing = 30 +ratetype = 0 +unitlength = 90 +unitlengthsrc = rate +dialretries = 3 +dialrandincr = on +recoverytime = 25 +usedown = off +downtries = 2 +downtime = 30 + +# EOF ######################################################################### diff -urN 2.2.8-RELEASE/etc/isdn/isdntel.alias.sample 3.1-RELEASE/etc/isdn/isdntel.alias.sample --- 2.2.8-RELEASE/etc/isdn/isdntel.alias.sample Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/isdntel.alias.sample Mon Feb 15 19:45:34 1999 @@ -0,0 +1,21 @@ +#--------------------------------------------------------------------------- +# +# alias file for the isdntel(1) application +# ----------------------------------------- +# +# $Id: isdntel.alias.sample,v 1.1 1999/01/19 15:33:23 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:06:03 1998] +# +# -hm cleanup for release +# +# +# the format is simple: the number beginning in column one followed +# by one or more spaces or tabs. The rest of the line is taken as +# and alias string for the number. Comment lines start with a "#". +# +#--------------------------------------------------------------------------- +123 alias for 123 +456 alias for 456 +789 alias for 789 + diff -urN 2.2.8-RELEASE/etc/isdn/isdntel.sh 3.1-RELEASE/etc/isdn/isdntel.sh --- 2.2.8-RELEASE/etc/isdn/isdntel.sh Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/isdntel.sh Mon Feb 15 19:45:34 1999 @@ -0,0 +1,105 @@ +#!/bin/sh +#--------------------------------------------------------------------------- +# +# isdn telephone answering +# ------------------------- +# +# $Id: isdntel.sh,v 1.1 1999/01/10 14:30:49 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:05:26 1998] +# +# -hm answering script +# -hm curses interface +# -hm update for release +# +#--------------------------------------------------------------------------- +LIBDIR=/usr/local/lib/isdn +VARDIR=/var/isdn +DEVICE=/dev/i4btel0 + +# sounds +MESSAGE=$LIBDIR/msg.g711a +BEEP=$LIBDIR/beep.g711a + +# dd options +SKIP=25 + +# max message size +MAXMSIZ=100 + +# src and dst telephone numbers +src= +dst= + +# current date +DATE=`date` + +# check if directory exists +if [ ! -d $VARDIR ] +then + mkdir $VARDIR +fi + +# get options +set -- `/usr/bin/getopt D:d:s: $*` + +if [ $? != 0 ] +then + echo "usage2: play -D device -d -s " + exit 1 +fi + +# process options +for i +do + case $i in + -D) + DEVICE=$2; shift; shift; + ;; + -d) + dst=$2; shift; shift; + ;; + -s) + src=$2; shift; shift; + ;; + --) + shift; break; + ;; + esac +done + +# this is a __MUST__ in order to use the fullscreen inteface !!! + +FILEDATE=`date \+%y%m%d%H%M%S` + +# echo message to phone +if [ -f $MESSAGE ] +then + /bin/dd of=$DEVICE if=$MESSAGE bs=2k >/dev/null 2>&1 +fi + +# echo beep to phone +if [ -f $BEEP ] +then + /bin/dd of=$DEVICE if=$BEEP bs=2k >/dev/null 2>&1 +fi + +# start time +START=`date \+%s` + +# get message from caller +/bin/dd if=$DEVICE of=$VARDIR/$FILEDATE-$dst-$src skip=$SKIP bs=2k count=$MAXMSIZ >/dev/null 2>&1 + +# end time +END=`date \+%s` + +# duration +TIME=`expr $END - $START` + +# save recorded message +if [ -f $VARDIR/$FILEDATE-$dst-$src ] +then + mv $VARDIR/$FILEDATE-$dst-$src $VARDIR/$FILEDATE-$dst-$src-$TIME +fi + +exit 0 diff -urN 2.2.8-RELEASE/etc/isdn/record 3.1-RELEASE/etc/isdn/record --- 2.2.8-RELEASE/etc/isdn/record Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/record Mon Feb 15 19:45:34 1999 @@ -0,0 +1,106 @@ +#!/bin/sh +#--------------------------------------------------------------------------- +# +# answer and record message script for i4b isdnd +# ---------------------------------------------- +# +# $Id: record,v 1.1 1999/01/10 14:30:50 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:05:31 1998] +# +#--------------------------------------------------------------------------- +VARDIR=/var/isdn +LIBDIR=/usr/local/lib/isdn +LOGFILE=/tmp/answer.log +NCALLFILE=$VARDIR/ncall +DATE=`date +%d%H` +DF=0 +dF=0 +sF=0 + +set -- `getopt D:d:s: $*` + +if test $? != 0 +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +for i +do + case "$i" + in + -D) + DEVICE=$2 + DF=1 + shift + shift + ;; + -d) + DEST=$2 + dF=1 + shift + shift + ;; + -s) + SRC=$2 + sF=1 + shift + shift + ;; + --) + shift + break + ;; + esac +done + +echo "" >>$LOGFILE + +if [ $DF -eq 0 -o $dF -eq 0 -o $sF -eq 0 ] +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +echo "answer: device $DEVICE destination $DEST source $SRC " >>$LOGFILE + +if [ -f $NCALLFILE ] +then + NCALL=`cat $NCALLFILE` +else + NCALL=0 +fi + +NCALL=`printf "%.4d" $NCALL` + +echo Date: `date` >> $VARDIR/I.$NCALL.$DATE + +if [ "$SRC" != "" ] +then + echo "From: $SRC" >> $VARDIR/I.$NCALL.$DATE +fi + +if [ "$DEST" != "" ] +then + echo "To: $DEST" >> $VARDIR/I.$NCALL.$DATE +fi + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k >/dev/null 2>&1 +fi + +if [ -f $LIBDIR/msg.g711a ] +then + dd of=$DEVICE if=$LIBDIR/msg.g711a bs=2k >/dev/null 2>&1 +fi + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k >/dev/null 2>&1 +fi + +dd if=$DEVICE of=$VARDIR/R.$NCALL.$DATE bs=2k >/dev/null 2>&1 + +echo `expr $NCALL + 1` >$NCALLFILE diff -urN 2.2.8-RELEASE/etc/isdn/tell 3.1-RELEASE/etc/isdn/tell --- 2.2.8-RELEASE/etc/isdn/tell Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/tell Mon Feb 15 19:45:34 1999 @@ -0,0 +1,92 @@ +#!/bin/sh +#--------------------------------------------------------------------------- +# +# tell called and calling numbers answer script for i4b isdnd +# ----------------------------------------------------------- +# +# $Id: tell,v 1.1 1999/01/10 14:30:50 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:05:36 1998] +# +#--------------------------------------------------------------------------- +VARDIR=/var/isdn +LIBDIR=/usr/local/lib/isdn +LOGFILE=/tmp/answer.log +NCALLFILE=$VARDIR/ncall +DATE=`date +%d%H` +DF=0 +dF=0 +sF=0 + +set -- `getopt D:d:s: $*` + +if test $? != 0 +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +for i +do + case "$i" + in + -D) + DEVICE=$2 + DF=1 + shift + shift + ;; + -d) + DEST=$2 + dF=1 + shift + shift + ;; + -s) + SRC=$2 + sF=1 + shift + shift + ;; + --) + shift + break + ;; + esac +done + +echo "" >>$LOGFILE + +if [ $DF -eq 0 -o $dF -eq 0 -o $sF -eq 0 ] +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +echo "answer: device $DEVICE destination $DEST source $SRC " >>$LOGFILE + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k >/dev/null 2>&1 +fi + +# tell the caller the number he is calling from + +POS=1 +LENGTH=`expr $SRC : '.*'` + +while : +do + DIGIT=`echo $SRC | cut -c $POS` + /bin/dd of=$DEVICE if=$LIBDIR/$DIGIT.g711a bs=2k >/dev/null 2>&1 + POS=`expr $POS + 1` + if [ $POS -gt $LENGTH ] + then + break + fi +done + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k >/dev/null 2>&1 +fi diff -urN 2.2.8-RELEASE/etc/isdn/tell-record 3.1-RELEASE/etc/isdn/tell-record --- 2.2.8-RELEASE/etc/isdn/tell-record Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/isdn/tell-record Mon Feb 15 19:45:34 1999 @@ -0,0 +1,94 @@ +#!/bin/sh +#--------------------------------------------------------------------------- +# +# tell called and calling numbers answer script for i4b isdnd +# ----------------------------------------------------------- +# +# $Id: tell-record,v 1.1 1999/01/10 14:30:51 hm Exp $ +# +# last edit-date: [Fri Dec 18 18:05:41 1998] +# +#--------------------------------------------------------------------------- +VARDIR=/var/isdn +LIBDIR=/usr/local/lib/isdn +LOGFILE=/tmp/answer.log +NCALLFILE=$VARDIR/ncall +DATE=`date +%d%H` +DF=0 +dF=0 +sF=0 + +set -- `getopt D:d:s: $*` + +if test $? != 0 +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +for i +do + case "$i" + in + -D) + DEVICE=$2 + DF=1 + shift + shift + ;; + -d) + DEST=$2 + dF=1 + shift + shift + ;; + -s) + SRC=$2 + sF=1 + shift + shift + ;; + --) + shift + break + ;; + esac +done + +echo "" >>$LOGFILE + +if [ $DF -eq 0 -o $dF -eq 0 -o $sF -eq 0 ] +then + echo 'Usage: answer -D device -d destination -s source' + exit 1 +fi + +echo "answer: device $DEVICE destination $DEST source $SRC " >>$LOGFILE + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k >/dev/null 2>&1 +fi + +# tell the caller the number he is calling from + +POS=1 +LENGTH=`expr $SRC : '.*'` + +while : +do + DIGIT=`echo $SRC | cut -c $POS` + /bin/dd of=$DEVICE if=$LIBDIR/$DIGIT.g711a bs=2k >/dev/null 2>&1 + POS=`expr $POS + 1` + if [ $POS -gt $LENGTH ] + then + break + fi +done + +if [ -f $LIBDIR/beep.g711a ] +then + dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k >/dev/null 2>&1 +fi + +dd if=$DEVICE of=$VARDIR/recorded.msg bs=2k diff -urN 2.2.8-RELEASE/etc/locate.rc 3.1-RELEASE/etc/locate.rc --- 2.2.8-RELEASE/etc/locate.rc Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/locate.rc Mon Feb 15 19:45:33 1999 @@ -1,13 +1,13 @@ # # /etc/locate.rc - command script for updatedb(8) # -# $Id: locate.rc,v 1.2.2.2 1998/07/17 04:19:10 jkh Exp $ +# $Id: locate.rc,v 1.7 1998/11/29 00:57:03 wosch Exp $ # # All commented values are the defaults # # temp directory -#TMPDIR="/var/tmp" +#TMPDIR="/tmp" # the actual database #FCODES="/var/db/locate.database" diff -urN 2.2.8-RELEASE/etc/login.access 3.1-RELEASE/etc/login.access --- 2.2.8-RELEASE/etc/login.access Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/login.access Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: login.access,v 1.1.8.1 1998/09/03 22:14:37 brian Exp $ +# $Id: login.access,v 1.2 1998/09/02 01:34:56 brian Exp $ # # Login access control table. # diff -urN 2.2.8-RELEASE/etc/login.conf 3.1-RELEASE/etc/login.conf --- 2.2.8-RELEASE/etc/login.conf Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/login.conf Mon Feb 15 19:45:33 1999 @@ -9,244 +9,60 @@ # This file controls resource limits, accounting limits and # default user environment settings. # -# $Id: login.conf,v 1.9.2.7 1998/03/09 03:03:23 steve Exp $ +# $Id: login.conf,v 1.26.2.1 1999/01/26 07:29:43 dg Exp $ # +# Default settings effectively disable resource limits, see the +# examples below for a starting point to enable them. -# 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 +# defaults # These settings are used by login(1) by default for classless users # Note that entries like "cputime" set both "cputime-cur" and "cputime-max" default:\ - :cputime=infinity:\ - :datasize-cur=22M:\ - :stacksize-cur=8M:\ - :memorylocked-cur=10M:\ - :memoryuse-cur=30M:\ - :filesize=infinity:\ - :coredumpsize=infinity:\ - :maxproc-cur=64:\ - :openfiles-cur=64:\ - :priority=0:\ - :requirehome@:\ - :umask=022:\ - :tc=auth-defaults: - - -# -# standard - standard user defaults -# -standard:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ - :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\ + :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ :path=~/bin /bin /usr/bin /usr/local/bin:\ - :manpath=/usr/share/man /usr/local/man:\ - :nologin=/etc/nologin:\ - :cputime=1h30m:\ - :datasize=8M:\ - :stacksize=2M:\ - :memorylocked=4M:\ - :memoryuse=8M:\ - :filesize=8M:\ - :coredumpsize=8M:\ - :openfiles=24:\ - :maxproc=32:\ + :nologin=/var/run/nologin:\ + :cputime=unlimited:\ + :datasize=unlimited:\ + :stacksize=unlimited:\ + :memorylocked=unlimited:\ + :memoryuse=unlimited:\ + :filesize=unlimited:\ + :coredumpsize=unlimited:\ + :openfiles=unlimited:\ + :maxproc=unlimited:\ :priority=0:\ - :requirehome:\ - :passwordperiod=90d:\ - :umask=002:\ :ignoretime@:\ - :tc=default: + :umask=022: # -# users of X (needs more resources!) +# A collection of common class names - forward them all to 'default' +# (login would normally do this anyway, but having a class name +# here suppresses the diagnostic) # +standard:\ + :tc=default: xuser:\ - :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\ - :cputime=4h:\ - :datasize=12M:\ - :stacksize=4M:\ - :filesize=8M:\ - :memoryuse=16M:\ - :openfiles=32:\ - :maxproc=48:\ - :tc=standard: - - -# -# Staff users - few restrictions and allow login anytime -# + :tc=default: staff:\ - :ignorenologin:\ - :ignoretime:\ - :requirehome@:\ - :accounted@:\ - :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ - :umask=022:\ - :tc=standard: - - -# -# 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=infinity:\ - :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 -# + :tc=default: 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: - - -# -# Settings used by news subsystem -# news:\ - :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ - :cputime=infinity:\ - :filesize=128M:\ - :datasize-cur=64M:\ - :stacksize-cur=32M:\ - :coredumpsize-cur=0:\ - :maxmemorysize-cur=128M:\ - :memorylocked=32M:\ - :maxproc=128:\ - :openfiles=256:\ :tc=default: - +dialer:\ + :tc=default: # -# The dialer class should be used for a dialup PPP/SLIP accounts -# Welcome messages/news suppressed +# Root can always login # -dialer:\ - :hushlogin:\ - :requirehome@:\ - :cputime=unlimited:\ - :filesize=2M:\ - :datasize=2M:\ - :stacksize=4M:\ - :coredumpsize=0:\ - :memoryuse=4M:\ - :memorylocked=1M:\ - :maxproc=16:\ - :openfiles=32:\ - :tc=standard: - - -# -# Site full-time 24/7 PPP/SLIP connections -# - no time accounting, restricted to access via dialin lines -# -site:\ - :ignoretime:\ - :passwordperiod@:\ - :refreshtime@:\ - :refreshperiod@:\ - :sessionlimit@:\ - :autodelete@:\ - :expireperiod@:\ - :graceexpire@:\ - :gracetime@:\ - :warnexpire@:\ - :warnpassword@:\ - :idletime@:\ - :sessiontime@:\ - :daytime@:\ - :weektime@:\ - :monthtime@:\ - :warntime@:\ - :accounted@:\ - :tc=dialer:\ - :tc=staff: - - -# -# Example standard accounting entries for subscriber levels -# - -subscriber|Subscribers:\ - :accounted:\ - :refreshtime=180d:\ - :refreshperiod@:\ - :sessionlimit@:\ - :autodelete=30d:\ - :expireperiod=180d:\ - :graceexpire=7d:\ - :gracetime=10m:\ - :warnexpire=7d:\ - :warnpassword=7d:\ - :idletime=30m:\ - :sessiontime=4h:\ - :daytime=6h:\ - :weektime=40h:\ - :monthtime=120h:\ - :warntime=4h:\ - :tc=standard: - - -# -# Subscriber accounts. These accounts have their login times -# accounted and have access limits applied. -# -subppp|PPP Subscriber Accounts:\ - :tc=dialer:\ - :tc=subscriber: - - -subslip|SLIP Subscriber Accounts:\ - :tc=dialer:\ - :tc=subscriber: - - -subshell:Shell Subscriber Accounts:\ - :tc=subscriber: - +root:\ + :ignorenologin:\ + :tc=default: # # Russian Users Accounts. Setup proper environment variables. @@ -255,3 +71,257 @@ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R:\ :tc=default: + + +###################################################################### +###################################################################### +## +## Example entries +## +###################################################################### +###################################################################### + +## Authentication methods +## Note that these are disabled by default, and libutil must +## be rebuilt with LOGIN_CAP_AUTH defined to use them. +# +#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 +## These settings are used by login(1) by default for classless users +## Note that entries like "cputime" set both "cputime-cur" and "cputime-max" +# +#default:\ +# :cputime=infinity:\ +# :datasize-cur=22M:\ +# :stacksize-cur=8M:\ +# :memorylocked-cur=10M:\ +# :memoryuse-cur=30M:\ +# :filesize=infinity:\ +# :coredumpsize=infinity:\ +# :maxproc-cur=64:\ +# :openfiles-cur=64:\ +# :priority=0:\ +# :requirehome@:\ +# :umask=022:\ +# :tc=auth-defaults: +# +# +## +## standard - standard user defaults +## +#standard:\ +# :copyright=/etc/COPYRIGHT:\ +# :welcome=/etc/motd:\ +# :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ +# :path=~/bin /bin /usr/bin /usr/local/bin:\ +# :manpath=/usr/share/man /usr/local/man:\ +# :nologin=/var/run/nologin:\ +# :cputime=1h30m:\ +# :datasize=8M:\ +# :stacksize=2M:\ +# :memorylocked=4M:\ +# :memoryuse=8M:\ +# :filesize=8M:\ +# :coredumpsize=8M:\ +# :openfiles=24:\ +# :maxproc=32:\ +# :priority=0:\ +# :requirehome:\ +# :passwordperiod=90d:\ +# :umask=002:\ +# :ignoretime@:\ +# :tc=default: +# +# +## +## users of X (needs more resources!) +## +#xuser:\ +# :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\ +# :cputime=4h:\ +# :datasize=12M:\ +# :stacksize=4M:\ +# :filesize=8M:\ +# :memoryuse=16M:\ +# :openfiles=32:\ +# :maxproc=48:\ +# :tc=standard: +# +# +## +## Staff users - few restrictions and allow login anytime +## +#staff:\ +# :ignorenologin:\ +# :ignoretime:\ +# :requirehome@:\ +# :accounted@:\ +# :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ +# :umask=022:\ +# :tc=standard: +# +# +## +## 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=infinity:\ +# :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: +# +# +## +## Settings used by news subsystem +## +#news:\ +# :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ +# :cputime=infinity:\ +# :filesize=128M:\ +# :datasize-cur=64M:\ +# :stacksize-cur=32M:\ +# :coredumpsize-cur=0:\ +# :maxmemorysize-cur=128M:\ +# :memorylocked=32M:\ +# :maxproc=128:\ +# :openfiles=256:\ +# :tc=default: +# +# +## +## The dialer class should be used for a dialup PPP/SLIP accounts +## Welcome messages/news suppressed +## +#dialer:\ +# :hushlogin:\ +# :requirehome@:\ +# :cputime=unlimited:\ +# :filesize=2M:\ +# :datasize=2M:\ +# :stacksize=4M:\ +# :coredumpsize=0:\ +# :memoryuse=4M:\ +# :memorylocked=1M:\ +# :maxproc=16:\ +# :openfiles=32:\ +# :tc=standard: +# +# +## +## Site full-time 24/7 PPP/SLIP connections +## - no time accounting, restricted to access via dialin lines +## +#site:\ +# :ignoretime:\ +# :passwordperiod@:\ +# :refreshtime@:\ +# :refreshperiod@:\ +# :sessionlimit@:\ +# :autodelete@:\ +# :expireperiod@:\ +# :graceexpire@:\ +# :gracetime@:\ +# :warnexpire@:\ +# :warnpassword@:\ +# :idletime@:\ +# :sessiontime@:\ +# :daytime@:\ +# :weektime@:\ +# :monthtime@:\ +# :warntime@:\ +# :accounted@:\ +# :tc=dialer:\ +# :tc=staff: +# +# +## +## Example standard accounting entries for subscriber levels +## +# +#subscriber|Subscribers:\ +# :accounted:\ +# :refreshtime=180d:\ +# :refreshperiod@:\ +# :sessionlimit@:\ +# :autodelete=30d:\ +# :expireperiod=180d:\ +# :graceexpire=7d:\ +# :gracetime=10m:\ +# :warnexpire=7d:\ +# :warnpassword=7d:\ +# :idletime=30m:\ +# :sessiontime=4h:\ +# :daytime=6h:\ +# :weektime=40h:\ +# :monthtime=120h:\ +# :warntime=4h:\ +# :tc=standard: +# +# +## +## Subscriber accounts. These accounts have their login times +## accounted and have access limits applied. +## +#subppp|PPP Subscriber Accounts:\ +# :tc=dialer:\ +# :tc=subscriber: +# +# +#subslip|SLIP Subscriber Accounts:\ +# :tc=dialer:\ +# :tc=subscriber: +# +# +#subshell:Shell Subscriber Accounts:\ +# :tc=subscriber: +# +# +## +## Russian Users Accounts. Setup proper environment variables. +## +#russian:Russian Users Accounts:\ +# :charset=KOI8-R:\ +# :lang=ru_RU.KOI8-R:\ +# :tc=default: diff -urN 2.2.8-RELEASE/etc/mail/Makefile 3.1-RELEASE/etc/mail/Makefile --- 2.2.8-RELEASE/etc/mail/Makefile Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/mail/Makefile Mon Feb 15 19:45:43 1999 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.1.2.6 1998/09/13 23:10:08 brian Exp $ +# $Id: Makefile,v 1.5 1998/09/13 23:14:20 brian Exp $ default: .if exists(/etc/mail/ips.txt) diff -urN 2.2.8-RELEASE/etc/mail/README 3.1-RELEASE/etc/mail/README --- 2.2.8-RELEASE/etc/mail/README Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/mail/README Mon Feb 15 19:45:43 1999 @@ -1,6 +1,6 @@ -# $Id: README,v 1.1.2.2 1998/09/03 22:14:38 brian Exp $ +# $Id: README,v 1.5 1998/09/02 01:34:57 brian Exp $ - Filtering out SPAM from your site + Filtering out SPAM from your site Introduction: The FreeBSD Project filters spam, unsolicited commerical @@ -14,6 +14,14 @@ from any machine that matches a entry in either database, or users in the fakenames database. + WARNING: We do not maintain the database source files. + Read domain.txt and ips.txt. + (Make will fetch them for you) + Domains that you want to allow, should be added + to the file /etc/mail/allowed_domains.txt. + IP addresses that you want to allow, should be added + to the file /etc/mail/allowed_ips.txt. + Filtering at your site: To filter spam at your site you need to: 1. modify your /etc/sendmail.cf, @@ -28,14 +36,21 @@ declarations to your /etc/sendmail.cf. 2. Fetching the database source files: + The database source files are available from Gulf Coast Internet via anonymous FTP. The Makefile in /etc/mail will retreive the source files for you: as root, type "cd /etc/mail; make" at the command line. The previous version of the database source -files is moved to .0. Local additions should be kept in -separate files. We use spamsites.local and denyip.local. You may -want to diff the new versions of the files against the previous -versions to see what has changed. +files is moved to .0. + + Local additions should be kept in separate files. We use +spamsites.local and denyip.local. You may want to diff the new +versions of the files against the previous versions to see what +has changed. + + Local deletions should be kept in separate files. We use +allowed_domain.txt and allowed_ips.txt. (This feature was added +after netcom.com was added to the spam block list.) 3. Make the databases: As root, type "cd /etc/mail; make install" will build the diff -urN 2.2.8-RELEASE/etc/mail/sendmail.cf.additions 3.1-RELEASE/etc/mail/sendmail.cf.additions --- 2.2.8-RELEASE/etc/mail/sendmail.cf.additions Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/mail/sendmail.cf.additions Mon Feb 15 19:45:43 1999 @@ -1,4 +1,4 @@ -# $Id: sendmail.cf.additions,v 1.1.2.7 1998/09/03 22:14:38 brian Exp $ +# $Id: sendmail.cf.additions,v 1.10 1998/09/02 01:34:57 brian Exp $ # # list of hosts and domains for whom we relay mail. # all .forward hosts, domains must be listed in this file. diff -urN 2.2.8-RELEASE/etc/make.conf 3.1-RELEASE/etc/make.conf --- 2.2.8-RELEASE/etc/make.conf Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/make.conf Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: make.conf,v 1.37.2.17 1998/08/25 10:53:43 jkoshy Exp $ +# $Id: make.conf,v 1.73.2.1 1999/02/03 22:26:35 asami Exp $ # # This file, if present, will be read by make (see /usr/share/mk/sys.mk). # It allows you to override macro definitions to make without changing @@ -13,16 +13,21 @@ # #CFLAGS= -O -pipe # -# Another useful entry is # +# Avoid compiling profiled libraries #NOPROFILE= true -# Avoid compiling profiled libraries +# +# Compare before install +#INSTALL=install -C # # To avoid building the default system perl #NOPERL= true # To avoid building the suid perl #NOSUIDPERL= true # +# To avoid building sendmail +#NO_SENDMAIL= true +# # To have 'obj' symlinks created in your source directory # (they aren't needed/necessary) #OBJLINK= yes @@ -36,11 +41,6 @@ # #WANT_CSRG_LIBM= yes # -# To compile and install the reentrant-safe/thread-safe versions of the -# standard library. This library is useful to the mysql port and other -# software that wants to use pthreads. -#WANT_LIBC_R= yes -# # If you do not want unformatted manual pages to be compressed # when they are installed: # @@ -100,6 +100,7 @@ # If you have Motif on your system, uncomment this. # #HAVE_MOTIF= yes +#MOTIF_STATIC= yes # # If the default location of the Motif library (specified below) is NOT # appropriate for you, uncomment this and change it to the correct value. @@ -108,11 +109,6 @@ #MOTIFLIB= -L${X11BASE}/lib -lXm # # -# If you are running behind a firewall, uncomment the following to leave a -# hint for various make-spawned utilities that they should use passive FTP. -# -#FTP_PASSIVE_MODE= YES -# # If you're resident in the USA, this will help various ports to determine # whether or not they should attempt to comply with the various U.S. # export regulations on certain types of software which do not apply to @@ -120,44 +116,10 @@ # #USA_RESIDENT= YES # +# Next one will help ports developers to debug # -# Port mirror sites... +#FORCE_PKG_REGISTER= YES # -# If you have a ports distribution in one or more FTP sites closeby -# (such as a mirror on your own lan) you can list them here. Sites listed here -# will be checked after checking your cd rom but before any other -# FTP site. -# -#LOCAL_SITE_LIST?= ftp://ftp.my.domain.au/ \ -# ftp://ftp.my.friends.domain.au/ -# -# Uncomment your nearest location for preferred official mirrors. These will be -# checked after any local sites (set above) but before the default master sites. -# -#LOCALE?= Argentina -#LOCALE?= Australia -#LOCALE?= Brazil -#LOCALE?= Canada -#LOCALE?= Czech Republic -#LOCALE?= Estonia -#LOCALE?= Finland -#LOCALE?= France -#LOCALE?= Germany -#LOCALE?= Holland -#LOCALE?= Hong Kong -#LOCALE?= Iceland -#LOCALE?= Ireland -#LOCALE?= Israel -#LOCALE?= Japan -#LOCALE?= Korea -#LOCALE?= Poland -#LOCALE?= Portugal -#LOCALE?= Russia -#LOCALE?= South Africa -#LOCALE?= Sweden -#LOCALE?= Taiwan -#LOCALE?= UK -#LOCALE?= USA # # Port master sites. # @@ -166,12 +128,8 @@ # uncomment this and change it to a location nearest you. (Don't # remove the "/${DIST_SUBDIR}/" part.) # -# This site will be checked as a last resort unless MASTER_SITE_OVERRIDE -# is set (see below) in which case it is checked immediately after your -# local and "locale" sites. -# #MASTER_SITE_BACKUP?= \ -# ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ +# ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ # # If you want your port fetches to check the above site first (before # the MASTER_SITES specified in the port Makefiles), uncomment the @@ -194,6 +152,9 @@ #MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/ #MASTER_SITE_TEX_CTAN= ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ #MASTER_SITE_SUNSITE= ftp://sunsite.unc.edu/pub/Linux/%SUBDIR%/ +#MASTER_SITE_KDE= ftp://ftp.kde.org/pub/kde/%SUBDIR%/ +#MASTER_SITE_COMP_SOURCES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ +#MASTER_SITE_GNOME= ftp://ftp.gnome.org/pub/GNOME/sources/%SUBDIR%/ # # # Kerberos IV @@ -220,7 +181,6 @@ #SUPFILE= /usr/share/examples/cvsup/standard-supfile #SUPFILE1= /usr/share/examples/cvsup/secure-supfile #SUPFILE2= /usr/share/examples/cvsup/ports-supfile - # # top(1) uses a hash table for the user names. The size of this hash # can be tuned to match the number of local users. The table size should diff -urN 2.2.8-RELEASE/etc/manpath.config 3.1-RELEASE/etc/manpath.config --- 2.2.8-RELEASE/etc/manpath.config Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/manpath.config Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: manpath.config,v 1.4.2.2 1998/09/13 23:11:13 brian Exp $ +# $Id: manpath.config,v 1.8.2.1 1999/02/05 10:43:24 markm Exp $ # # This file is read by manpath to configure the mandatory manpath, to # map each path element to a manpath element and to determine where the @@ -15,8 +15,9 @@ # every automatically generated MANPATH includes these fields # MANDATORY_MANPATH /usr/share/man +MANDATORY_MANPATH /usr/share/perl/man MANDATORY_MANPATH /usr/local/man -#MANDATORY_MANPATH /usr/X386/man +MANDATORY_MANPATH /usr/local/lib/perl5/5.00502/man MANDATORY_MANPATH /usr/X11R6/man # # set up PATH to MANPATH mapping @@ -24,5 +25,4 @@ MANPATH_MAP /bin /usr/share/man MANPATH_MAP /usr/bin /usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man -#MANPATH_MAP /usr/X386/bin /usr/X386/man MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man diff -urN 2.2.8-RELEASE/etc/manpath.config.sample 3.1-RELEASE/etc/manpath.config.sample --- 2.2.8-RELEASE/etc/manpath.config.sample Mon Nov 30 14:10:19 1998 +++ 3.1-RELEASE/etc/manpath.config.sample Mon Feb 15 19:42:39 1999 @@ -1,4 +1,4 @@ -# $Id: manpath.config,v 1.4.2.2 1998/09/13 23:11:13 brian Exp $ +# $Id: manpath.config,v 1.8.2.1 1999/02/05 10:43:24 markm Exp $ # # This file is read by manpath to configure the mandatory manpath, to # map each path element to a manpath element and to determine where the @@ -15,8 +15,9 @@ # every automatically generated MANPATH includes these fields # MANDATORY_MANPATH /usr/share/man +MANDATORY_MANPATH /usr/share/perl/man MANDATORY_MANPATH /usr/local/man -#MANDATORY_MANPATH /usr/X386/man +MANDATORY_MANPATH /usr/local/lib/perl5/5.00502/man MANDATORY_MANPATH /usr/X11R6/man # # set up PATH to MANPATH mapping @@ -24,5 +25,4 @@ MANPATH_MAP /bin /usr/share/man MANPATH_MAP /usr/bin /usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man -#MANPATH_MAP /usr/X386/bin /usr/X386/man MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man diff -urN 2.2.8-RELEASE/etc/master.passwd 3.1-RELEASE/etc/master.passwd --- 2.2.8-RELEASE/etc/master.passwd Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/master.passwd Mon Feb 15 19:45:33 1999 @@ -1,11 +1,14 @@ root::0:0::0:0:Charlie &:/root:/bin/csh toor:*:0:0::0:0:Bourne-again Superuser:/root: daemon:*:1:1::0:0:Owner of many system processes:/root:/sbin/nologin -operator:*:2:5::0:0:System &:/usr/guest/operator:/bin/csh +operator:*:2:5::0:0:System &:/:/sbin/nologin bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/sbin/nologin +tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin +kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin games:*:7:13::0:0:Games pseudo-user:/usr/games:/sbin/nologin news:*:8:8::0:0:News Subsystem:/:/sbin/nologin man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/sbin/nologin +bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico xten:*:67:67::0:0:X-10 daemon:/usr/local/xten:/sbin/nologin pop:*:68:6::0:0:Post Office Owner:/nonexistent:/sbin/nologin diff -urN 2.2.8-RELEASE/etc/modems 3.1-RELEASE/etc/modems --- 2.2.8-RELEASE/etc/modems Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/modems Mon Feb 15 19:45:33 1999 @@ -1,5 +1,5 @@ # -# $Id: modems,v 1.2.6.1 1998/09/03 22:14:37 brian Exp $ +# $Id: modems,v 1.3 1998/09/02 01:34:56 brian Exp $ # @(#)modems 3/24/95 # # modems -- modem configuration data base file diff -urN 2.2.8-RELEASE/etc/monthly 3.1-RELEASE/etc/monthly --- 2.2.8-RELEASE/etc/monthly Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/monthly Thu Jan 1 09:00:00 1970 @@ -1,34 +0,0 @@ -#!/bin/sh - -# -# $Id: monthly,v 1.6.2.2 1998/09/13 23:10:08 brian Exp $ -# @(#)monthly 5.5 (Berkeley) 6/17/91 -# - -PATH=/bin:/usr/bin:/sbin:/usr/sbin -host=`hostname -s` -echo "Subject: $host monthly run output" - -W=/var/log/wtmp -if [ -f $W ] ; then - # Work out what month it was yesterday - M=`date -v-1m +%h` - - mv -f $W $W.$M - touch $W - - if [ -x /usr/sbin/ac ] ; then - echo "" - echo "Doing login accounting:" - - ac -p -w $W.$M | sort -nr +1 - fi - - rm -f $W.$M.gz - gzip $W.$M -fi - -if [ -f /etc/monthly.local ]; then - echo "" - echo "Running monthly.local:" - sh /etc/monthly.local -fi diff -urN 2.2.8-RELEASE/etc/motd 3.1-RELEASE/etc/motd --- 2.2.8-RELEASE/etc/motd Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/motd Mon Feb 15 19:45:33 1999 @@ -1,21 +1,10 @@ FreeBSD ?.?.? (UNKNOWN) -Welcome to FreeBSD! You will find security advisories and updated -information on this releases posted at http://www.FreeBSD.ORG/releases/ +Welcome to FreeBSD! -Before asking for technical assistance: - 1. Consult the ERRATA section for your release at the location above. +If the doc distribution has been loaded on this machine, the FreeBSD +Handbook will be in file:/usr/share/doc/handbook and the FAQ in +file:/usr/share/doc/FAQ - 2. Search the Handbook, FAQ, and mail archives at - http://www.FreeBSD.ORG/search.html. If the doc distribution is - installed on this machine, you will also find the FAQ and Handbook - in /usr/share/doc/. - - 3. If you still have a question or problem, collect the output of - `uname -a' and include error messages from whatever part of the - system you are having problems with and email your question to - questions@FreeBSD.ORG. - -You may also use `/stand/sysinstall' to re-enter the installation and -configuration utility. Edit /etc/motd to change this login announcement. +Type /stand/sysinstall to re-enter the installation and configuration utility. diff -urN 2.2.8-RELEASE/etc/mtree/BSD.include.dist 3.1-RELEASE/etc/mtree/BSD.include.dist --- 2.2.8-RELEASE/etc/mtree/BSD.include.dist Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/mtree/BSD.include.dist Mon Feb 15 19:45:43 1999 @@ -1,10 +1,14 @@ -# $Id: BSD.include.dist,v 1.7.2.4 1998/02/27 21:01:42 jkh Exp $ +# $Id: BSD.include.dist,v 1.24 1998/12/13 04:38:28 dillon Exp $ # -/set type=dir uname=bin gname=bin mode=0755 +/set type=dir uname=root gname=wheel mode=0755 . arpa .. + cam + scsi + .. + .. g++ std .. @@ -21,6 +25,8 @@ .. netatalk .. + netatm + .. netinet .. netipx @@ -35,6 +41,8 @@ .. pccard .. + posix4 + .. protocols .. readline @@ -43,14 +51,14 @@ .. rpcsvc .. + security + .. ss .. sys .. ufs ffs - .. - lfs .. mfs .. diff -urN 2.2.8-RELEASE/etc/mtree/BSD.local.dist 3.1-RELEASE/etc/mtree/BSD.local.dist --- 2.2.8-RELEASE/etc/mtree/BSD.local.dist Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/mtree/BSD.local.dist Mon Feb 15 19:45:43 1999 @@ -1,4 +1,4 @@ -# $Id: BSD.local.dist,v 1.17.2.13 1998/11/20 00:05:19 julian Exp $ +# $Id: BSD.local.dist,v 1.44 1998/12/18 08:06:34 asami Exp $ # /set type=dir uname=root gname=wheel mode=0755 @@ -14,55 +14,59 @@ info .. lib + perl5 + .. .. libexec .. man - cat1 uname=man +/set type=dir uname=man gname=wheel mode=0755 + cat1 .. - cat2 uname=man + cat2 .. - cat3 uname=man + cat3 .. - cat4 uname=man + cat4 .. - cat5 uname=man + cat5 .. - cat6 uname=man + cat6 .. - cat7 uname=man + cat7 .. - cat8 uname=man + cat8 .. - cat9 uname=man + cat9 .. - catl uname=man + catl .. - catn uname=man + catn .. - de_DE.ISO_8859-1 - cat1 uname=man + de_DE.ISO_8859-1 uname=root + cat1 .. - cat2 uname=man + cat2 .. - cat3 uname=man + cat3 .. - cat4 uname=man + cat4 .. - cat5 uname=man + cat5 .. - cat6 uname=man + cat6 .. - cat7 uname=man + cat7 .. - cat8 uname=man + cat8 .. - cat9 uname=man + cat9 .. - catl uname=man + catl .. - catn uname=man + catn .. +/set type=dir uname=root gname=wheel mode=0755 man1 .. man2 @@ -87,28 +91,30 @@ .. .. ja - cat1 uname=man +/set type=dir uname=man gname=wheel mode=0755 + cat1 .. - cat2 uname=man + cat2 .. - cat3 uname=man + cat3 .. - cat4 uname=man + cat4 .. - cat5 uname=man + cat5 .. - cat6 uname=man + cat6 .. - cat7 uname=man + cat7 .. - cat8 uname=man + cat8 .. - cat9 uname=man + cat9 .. - catl uname=man + catl .. - catn uname=man + catn .. +/set type=dir uname=root gname=wheel mode=0755 man1 .. man2 @@ -162,6 +168,10 @@ .. doc .. + emacs + site-lisp + .. + .. examples .. misc @@ -219,6 +229,8 @@ .. lt_LN.ISO_8859-2 .. + lt_LN.DIS_8859-15 + .. nl_BE.ISO_8859-1 .. nl_NL.ISO_8859-1 @@ -236,6 +248,10 @@ sl_SI.ISO_8859-2 .. sv_SE.ISO_8859-1 + .. + zh_CN.EUC + .. + zh_TW.BIG5 .. .. skel diff -urN 2.2.8-RELEASE/etc/mtree/BSD.root.dist 3.1-RELEASE/etc/mtree/BSD.root.dist --- 2.2.8-RELEASE/etc/mtree/BSD.root.dist Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/mtree/BSD.root.dist Mon Feb 15 19:45:43 1999 @@ -1,19 +1,33 @@ -# $Id: BSD.root.dist,v 1.20.6.2 1998/02/27 21:03:13 jkh Exp $ +# $Id: BSD.root.dist,v 1.37.2.1 1999/02/09 22:35:34 jkh Exp $ # /set type=dir uname=root gname=wheel mode=0755 . - bin uname=bin gname=bin + bin .. -/set type=dir uname=bin gname=bin mode=0555 - dev uname=root gname=wheel mode=0755 + boot + .. +/set type=dir uname=root gname=wheel mode=0555 + dev mode=0755 fd .. .. /set type=dir uname=root gname=wheel mode=0755 etc + defaults + .. + periodic + daily + .. + weekly + .. + monthly + .. + .. gnats .. + isdn mode=0700 + .. kerberosIV .. mail @@ -21,6 +35,10 @@ mtree .. namedb +# leave commented out until buildworld/installworld can +# handle new user ids +# s uname=bind gname=bind mode=0750 +# .. .. ppp .. @@ -29,17 +47,19 @@ uucp uname=uucp gname=uucp mode=0770 .. .. - lkm uname=bin gname=bin + lkm .. mnt .. + modules + .. proc mode=0555 .. root .. - sbin uname=bin gname=bin + sbin .. - tmp uname=bin gname=bin mode=01777 + tmp mode=01777 .. usr .. diff -urN 2.2.8-RELEASE/etc/mtree/BSD.usr.dist 3.1-RELEASE/etc/mtree/BSD.usr.dist --- 2.2.8-RELEASE/etc/mtree/BSD.usr.dist Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/mtree/BSD.usr.dist Mon Feb 15 19:45:43 1999 @@ -1,33 +1,145 @@ -# $Id: BSD.usr.dist,v 1.74.2.26 1998/11/20 00:05:19 julian Exp $ +# $Id: BSD.usr.dist,v 1.146.2.1 1999/02/02 06:05:13 jhay Exp $ # -/set type=dir uname=bin gname=bin mode=0755 -. uname=root gname=wheel +/set type=dir uname=root gname=wheel mode=0755 +. bin .. -/set type=dir uname=games gname=bin mode=0700 - games uname=bin mode=0755 - hide gname=games uname=root mode=0550 + games + hide gname=games mode=0550 .. .. -/set type=dir uname=bin gname=bin mode=0755 include .. lib + aout + .. compat + aout + .. .. .. libdata + doscmd + .. gcc .. + ldscripts + .. lint .. msdosfs .. stallion .. + perl + 5.00502 + B + .. + CGI + .. + CPAN + .. + Class + .. + Data + .. + Devel + .. + ExtUtils + .. + File + Spec + .. + .. + Getopt + .. + I18N + .. + IPC + .. + Math + .. + Net + .. + Pod + .. + Search + .. + Sys + .. + Term + .. + Test + .. + Text + .. + Tie + .. + Time + .. + User + .. + auto + Getopt + Long + .. + .. + .. + mach + B + .. + CORE + .. + IO + .. + auto + B + .. + DB_File + .. + Data + Dumper + .. + .. + DynaLoader + .. + Fcntl + .. + IO + .. + IPC + SysV + .. + .. + NDBM_File + .. + Opcode + .. + POSIX + .. + SDBM_File + .. + Socket + .. + attrs + .. + re + .. + sdbm + .. + .. + .. + pod + .. + .. + .. .. libexec + aout + .. + elf + .. lpr ru .. @@ -37,11 +149,11 @@ uucp .. .. - local uname=root gname=wheel + local .. mdec .. - obj + obj nochange .. sbin .. @@ -103,6 +215,10 @@ 28.cvs .. .. + ru + FAQ + .. + .. smm 01.setup .. @@ -177,10 +293,20 @@ 31.trek .. .. + zh + FAQ + .. + .. .. examples FreeBSD_version .. + atapi + .. + atm + .. + bootforth + .. cvs contrib .. @@ -199,6 +325,22 @@ .. ibcs2 .. + isdn + .. + kld + cdev + module + .. + test + .. + .. + syscall + module + .. + test + .. + .. + .. libvgl .. lkm @@ -221,10 +363,16 @@ .. perfmon .. + portal + .. + ppi + .. printing .. slattach .. + scsi_target + .. sliplogin .. startslip @@ -240,8 +388,7 @@ worm .. .. -/set type=dir uname=games gname=bin mode=0755 - games uname=bin + games atc .. fortune @@ -251,7 +398,6 @@ quiz.db .. .. -/set type=dir uname=bin gname=bin mode=0755 groff_font devX100 .. @@ -264,8 +410,6 @@ devascii .. devdvi - generate - .. .. devkoi8-r .. @@ -274,8 +418,6 @@ devlj4 .. devps - generate - .. .. .. info @@ -287,42 +429,76 @@ locale da_DK.ISO_8859-1 .. + da_DK.DIS_8859-15 + .. de_AT.ISO_8859-1 .. + de_AT.DIS_8859-15 + .. de_CH.ISO_8859-1 .. + de_CH.DIS_8859-15 + .. de_DE.ISO_8859-1 .. + de_DE.DIS_8859-15 + .. en_AU.ISO_8859-1 .. + en_AU.DIS_8859-15 + .. en_CA.ISO_8859-1 .. + en_CA.DIS_8859-15 + .. en_GB.ISO_8859-1 .. + en_GB.DIS_8859-15 + .. en_US.ISO_8859-1 .. + en_US.DIS_8859-15 + .. es_ES.ISO_8859-1 .. + es_ES.DIS_8859-15 + .. fi_FI.ISO_8859-1 .. + fi_FI.DIS_8859-15 + .. fr_BE.ISO_8859-1 .. + fr_BE.DIS_8859-15 + .. fr_CA.ISO_8859-1 .. + fr_CA.DIS_8859-15 + .. fr_CH.ISO_8859-1 .. + fr_CH.DIS_8859-15 + .. fr_FR.ISO_8859-1 .. + fr_FR.DIS_8859-15 + .. hr_HR.ISO_8859-2 .. hu_HU.ISO_8859-2 .. is_IS.ISO_8859-1 .. + is_IS.DIS_8859-15 + .. it_CH.ISO_8859-1 .. + it_CH.DIS_8859-15 + .. it_IT.ISO_8859-1 .. + it_IT.DIS_8859-15 + .. ja_JP.EUC .. ja_JP.SJIS @@ -335,16 +511,26 @@ .. lt_LN.ISO_8859-2 .. + lt_LN.DIS_8859-15 + .. nl_BE.ISO_8859-1 .. + nl_BE.DIS_8859-15 + .. nl_NL.ISO_8859-1 .. + nl_NL.DIS_8859-15 + .. no_NO.ISO_8859-1 .. + no_NO.DIS_8859-15 + .. pl_PL.ISO_8859-2 .. pt_PT.ISO_8859-1 .. + pt_PT.DIS_8859-15 + .. ru_SU.CP866 .. ru_SU.KOI8-R @@ -353,11 +539,19 @@ .. sv_SE.ISO_8859-1 .. + sv_SE.DIS_8859-15 + .. + zh_CN.EUC + .. + zh_TW.BIG5 + .. .. -/set type=dir uname=man gname=bin mode=0755 - man uname=bin + man +/set type=dir uname=man gname=wheel mode=0755 cat1 .. + cat1aout + .. cat2 .. cat3 @@ -382,7 +576,7 @@ .. catn .. - ja uname=bin + ja uname=root cat1 .. cat2 @@ -403,34 +597,36 @@ .. catn .. - man1 uname=bin +/set type=dir uname=root gname=wheel mode=0755 + man1 .. - man2 uname=bin + man2 .. - man3 uname=bin + man3 .. - man4 uname=bin + man4 .. - man5 uname=bin + man5 .. - man6 uname=bin + man6 .. - man7 uname=bin + man7 .. - man8 uname=bin + man8 .. - man9 uname=bin + man9 .. - mann uname=bin + mann .. .. - man1 uname=bin + man1 + .. + man1aout .. - man2 uname=bin + man2 .. - man3 uname=bin + man3 .. -/set type=dir uname=bin gname=bin mode=0755 man4 i386 .. @@ -517,6 +713,8 @@ .. lt_LN.ISO_8859-2 .. + lt_LN.DIS_8859-15 + .. nl_BE.ISO_8859-1 .. nl_NL.ISO_8859-1 @@ -535,6 +733,8 @@ .. sv_SE.ISO_8859-1 .. + zh_CN.EUC + .. .. pcvt Doc @@ -542,10 +742,14 @@ Etc .. .. - perl - sys - .. - .. + perl + man + cat3 uname=man + .. + man3 + .. + .. + .. skel .. syscons @@ -572,8 +776,7 @@ tcl .. .. -/set type=dir uname=bin gname=bin mode=0555 - zoneinfo mode=0755 + zoneinfo Africa .. America @@ -602,6 +805,6 @@ .. .. .. - src mode=0755 + src mode=0755 nochange .. .. diff -urN 2.2.8-RELEASE/etc/mtree/BSD.var.dist 3.1-RELEASE/etc/mtree/BSD.var.dist --- 2.2.8-RELEASE/etc/mtree/BSD.var.dist Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/mtree/BSD.var.dist Mon Feb 15 19:45:43 1999 @@ -1,8 +1,8 @@ -# $Id: BSD.var.dist,v 1.26.2.6 1998/03/07 22:58:01 jkh Exp $ +# $Id: BSD.var.dist,v 1.38 1998/12/16 05:50:25 peter Exp $ # -/set type=dir uname=bin gname=bin mode=0755 -. uname=root gname=wheel +/set type=dir uname=root gname=wheel mode=0755 +. account .. /set type=dir uname=daemon gname=wheel mode=0755 @@ -21,9 +21,9 @@ tabs .. .. - db uname=bin gname=bin mode=0755 + db mode=0755 .. -/set type=dir uname=root gname=bin mode=0755 +/set type=dir uname=root gname=wheel mode=0755 games gname=games mode=0775 hackdir gname=games mode=0770 save gname=games mode=0770 @@ -34,30 +34,31 @@ phantasia gname=games mode=0775 .. .. - log uname=bin +/set type=dir uname=root gname=wheel mode=0755 + log .. - mail uname=bin gname=mail mode=0775 + mail gname=mail mode=0775 .. msgs uname=daemon .. - preserve uname=bin + preserve .. - run uname=root + run .. - rwho uname=bin gname=daemon mode=0775 +/set type=dir uname=root gname=daemon mode=0755 + rwho gname=daemon mode=0775 .. -/set type=dir uname=uucp gname=daemon mode=0755 - spool uname=bin gname=bin - lock gname=dialer mode=0775 + spool gname=wheel + lock uname=uucp gname=dialer mode=0775 .. - lpd uname=bin + lpd .. - mqueue uname=root + mqueue .. - opielocks uname=root mode=0700 + opielocks mode=0700 .. - output uname=bin - lpd uname=root gname=daemon + output + lpd .. .. /set type=dir uname=uucp gname=uucp mode=0775 @@ -76,11 +77,12 @@ uucppublic mode=0777 .. .. -/set type=dir uname=bin gname=bin mode=01777 +/set type=dir uname=root gname=wheel mode=01777 tmp vi.recover .. .. - yp mode=0755 +/set type=dir uname=root gname=wheel mode=0755 + yp .. .. diff -urN 2.2.8-RELEASE/etc/mtree/BSD.x11.dist 3.1-RELEASE/etc/mtree/BSD.x11.dist --- 2.2.8-RELEASE/etc/mtree/BSD.x11.dist Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/mtree/BSD.x11.dist Mon Feb 15 19:45:43 1999 @@ -1,4 +1,4 @@ -# $Id: BSD.x11.dist,v 1.1.2.3 1998/03/20 16:54:34 itojun Exp $ +# $Id: BSD.x11.dist,v 1.4 1998/09/19 18:50:27 obrien Exp $ # /set type=dir uname=root gname=wheel mode=0755 @@ -186,51 +186,53 @@ libexec .. man - cat1 uname=man +/set type=dir uname=man gname=wheel mode=0755 + cat1 .. - cat2 uname=man + cat2 .. - cat3 uname=man + cat3 .. - cat4 uname=man + cat4 .. - cat5 uname=man + cat5 .. - cat6 uname=man + cat6 .. - cat7 uname=man + cat7 .. - cat8 uname=man + cat8 .. - cat9 uname=man + cat9 .. - catl uname=man + catl .. - catn uname=man + catn .. - ja - cat1 uname=man + ja uname=root + cat1 .. - cat2 uname=man + cat2 .. - cat3 uname=man + cat3 .. - cat4 uname=man + cat4 .. - cat5 uname=man + cat5 .. - cat6 uname=man + cat6 .. - cat7 uname=man + cat7 .. - cat8 uname=man + cat8 .. - cat9 uname=man + cat9 .. - catl uname=man + catl .. - catn uname=man + catn .. +/set type=dir uname=root gname=wheel mode=0755 man1 .. man2 diff -urN 2.2.8-RELEASE/etc/namedb/PROTO.localhost.rev 3.1-RELEASE/etc/namedb/PROTO.localhost.rev --- 2.2.8-RELEASE/etc/namedb/PROTO.localhost.rev Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/namedb/PROTO.localhost.rev Mon Feb 15 19:45:43 1999 @@ -1,5 +1,5 @@ ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 -; $Id: PROTO.localhost.rev,v 1.1.6.1 1998/02/27 21:32:55 jkh Exp $ +; $Id: PROTO.localhost.rev,v 1.4 1997/05/01 21:02:37 ache Exp $ ; ; This file is automatically edited by the `make-localhost' script in ; the /etc/namedb directory. diff -urN 2.2.8-RELEASE/etc/namedb/make-localhost 3.1-RELEASE/etc/namedb/make-localhost --- 2.2.8-RELEASE/etc/namedb/make-localhost Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/namedb/make-localhost Mon Feb 15 19:45:43 1999 @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: make-localhost,v 1.1.6.2 1998/09/13 23:10:08 brian Exp $ +# $Id: make-localhost,v 1.3 1998/09/13 23:05:46 brian Exp $ # # make-localhost - edit the appropriate local information into # /etc/namedb/localhost.rev diff -urN 2.2.8-RELEASE/etc/namedb/named.boot 3.1-RELEASE/etc/namedb/named.boot --- 2.2.8-RELEASE/etc/namedb/named.boot Mon Nov 30 14:15:28 1998 +++ 3.1-RELEASE/etc/namedb/named.boot Thu Jan 1 09:00:00 1970 @@ -1,62 +0,0 @@ -; $Id: named.boot,v 1.3.6.2 1997/12/23 21:05:55 jkh Exp $ -; From: @(#)named.boot 5.1 (Berkeley) 6/30/90 - -; Refer to the named(8) man page for details. If you are ever going -; to setup a primary server, make sure you've understood the hairy -; details of how DNS is working. Even with simple mistakes, you can -; break connectivity for affected parties, or cause huge amount of -; useless Internet traffic. -; -; Setting up secondaries is way easier and the rough picture for this -; is explained below. -; -; If you enable a local name server, don't forget to enter 127.0.0.1 -; into your /etc/resolv.conf so this server will be queried first. -; Also, make sure to enable it in /etc/rc.conf. - -; example sortlist config: -; sortlist 127.0.0.0 - -directory /etc/namedb - -; type domain source host/file backup file - -cache . named.root -primary 0.0.127.IN-ADDR.ARPA localhost.rev - -; NB: Do not use the IP addresses below, they are faked, and only -; serve demonstration/documentation purposes! -; -; Example secondary config entries. It can be convenient to become -; a secondary at least for the zone where your own domain is in. Ask -; your network administrator for the IP address of the responsible -; primary. -; -; Never forget to include the reverse lookup (IN-ADDR.ARPA) zone! -; (This is the first bytes of the respective IP address, in reverse -; order, with ".IN-ADDR.ARPA" appended.) -; -; Before starting to setup a primary zone, better make sure you fully -; understand how DNS and BIND works, however. There are sometimes -; unobvious pitfalls. Setting up a secondary is comparably simpler. -; -; NB: Don't blindly enable the examples below. :-) Use actual names -; and addresses instead. -; -;type zone name IP of primary backup file name -;================================================================== -;secondary domain.com 192.168.1.1 domain.com.bak -;secondary 0.168.192.in-addr.arpa 192.168.1.1 0.168.192.in-addr.arpa.bak -; -; -; If you've got a DNS server around at your upstream provider, enter -; its IP address here, and enable the line below. This will make you -; benefit from its cache, thus reduce overall DNS traffic in the Internet. -; -;forwarders 127.0.0.1 -; -; In addition to the "forwarders" clause, you can force your name -; server to never initiate queries of its own, but always ask its -; forwarders only, by enabling the following line: -; -;options forward-only diff -urN 2.2.8-RELEASE/etc/namedb/named.conf 3.1-RELEASE/etc/namedb/named.conf --- 2.2.8-RELEASE/etc/namedb/named.conf Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/namedb/named.conf Mon Feb 15 19:45:43 1999 @@ -0,0 +1,112 @@ +// $Id: named.conf,v 1.5 1998/12/23 06:06:13 dillon Exp $ +// +// Refer to the named(8) man page for details. If you are ever going +// to setup a primary server, make sure you've understood the hairy +// details of how DNS is working. Even with simple mistakes, you can +// break connectivity for affected parties, or cause huge amount of +// useless Internet traffic. + +options { + directory "/etc/namedb"; + +// In addition to the "forwarders" clause, you can force your name +// server to never initiate queries of its own, but always ask its +// forwarders only, by enabling the following line: +// +// forward only; + +// If you've got a DNS server around at your upstream provider, enter +// its IP address here, and enable the line below. This will make you +// benefit from its cache, thus reduce overall DNS traffic in the Internet. +/* + forwarders { + 127.0.0.1; + }; +*/ + /* + * If there is a firewall between you and nameservers you want + * to talk to, you might need to uncomment the query-source + * directive below. Previous versions of BIND always asked + * questions using port 53, but BIND 8.1 uses an unprivileged + * port by default. + */ + // query-source address * port 53; + + /* + * If running in a sandbox, you may have to specify a different + * location for the dumpfile. + */ + // dump-file "s/named_dump.db"; +}; + +// Note: the following will be supported in a future release. +/* +host { any; } { + topology { + 127.0.0.0/8; + }; +}; +*/ + +// Setting up secondaries is way easier and the rough picture for this +// is explained below. +// +// If you enable a local name server, don't forget to enter 127.0.0.1 +// into your /etc/resolv.conf so this server will be queried first. +// Also, make sure to enable it in /etc/rc.conf. + +zone "." { + type hint; + file "named.root"; +}; + +zone "0.0.127.IN-ADDR.ARPA" { + type master; + file "localhost.rev"; +}; + +// NB: Do not use the IP addresses below, they are faked, and only +// serve demonstration/documentation purposes! +// +// Example secondary config entries. It can be convenient to become +// a secondary at least for the zone where your own domain is in. Ask +// your network administrator for the IP address of the responsible +// primary. +// +// Never forget to include the reverse lookup (IN-ADDR.ARPA) zone! +// (This is the first bytes of the respective IP address, in reverse +// order, with ".IN-ADDR.ARPA" appended.) +// +// Before starting to setup a primary zone, better make sure you fully +// understand how DNS and BIND works, however. There are sometimes +// unobvious pitfalls. Setting up a secondary is comparably simpler. +// +// NB: Don't blindly enable the examples below. :-) Use actual names +// and addresses instead. +// +// NOTE!!! FreeBSD runs bind in a sandbox (see named_flags in rc.conf). +// The directory containing the secondary zones must be write accessible +// to bind. The following sequence is suggested: +// +// mkdir /etc/namedb/s +// chown bind.bind /etc/namedb/s +// chmod 750 /etc/namedb/s + +/* +zone "domain.com" { + type slave; + file "s/domain.com.bak"; + masters { + 192.168.1.1; + }; +}; + +zone "0.168.192.in-addr.arpa" { + type slave; + file "s/0.168.192.in-addr.arpa.bak"; + masters { + 192.168.1.1; + }; +}; +*/ + diff -urN 2.2.8-RELEASE/etc/netstart 3.1-RELEASE/etc/netstart --- 2.2.8-RELEASE/etc/netstart Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/netstart Mon Feb 15 19:45:33 1999 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.51.2.1 1997/07/05 19:36:53 pst Exp $ +# $Id: netstart,v 1.52.2.1 1999/02/10 18:08:38 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # This file is NOT called by any of the other scripts - it has been @@ -10,7 +10,9 @@ # # If there is a global system configuration file, suck it in. -if [ -f /etc/rc.conf ]; then +if [ -f /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf +elif [ -f /etc/rc.conf ]; then . /etc/rc.conf fi diff -urN 2.2.8-RELEASE/etc/networks 3.1-RELEASE/etc/networks --- 2.2.8-RELEASE/etc/networks Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/networks Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: networks,v 1.1.1.1.10.1 1998/09/03 22:14:37 brian Exp $ +# $Id: networks,v 1.2 1998/09/02 01:34:56 brian Exp $ # @(#)networks 5.1 (Berkeley) 6/30/90 # # Your Local Networks Database diff -urN 2.2.8-RELEASE/etc/newsyslog.conf 3.1-RELEASE/etc/newsyslog.conf --- 2.2.8-RELEASE/etc/newsyslog.conf Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/newsyslog.conf Mon Feb 15 19:45:33 1999 @@ -1,7 +1,7 @@ # configuration file for newsyslog -# $Id: newsyslog.conf,v 1.6.2.4 1998/04/14 23:08:29 jmb Exp $ +# $Id: newsyslog.conf,v 1.16 1998/06/09 18:26:16 ache Exp $ # -# logfilename owner.group mode count size time [ZB] [/pid_file] +# logfilename owner.group mode count size time [ZB] [/pid_file] [sig_num] /var/cron/log 600 3 100 * Z /var/log/amd.log 664 7 100 * Z /var/log/kerberos.log 664 7 100 * Z diff -urN 2.2.8-RELEASE/etc/objformat 3.1-RELEASE/etc/objformat --- 2.2.8-RELEASE/etc/objformat Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/objformat Mon Feb 15 19:45:52 1999 @@ -0,0 +1 @@ +OBJFORMAT=elf diff -urN 2.2.8-RELEASE/etc/pam.conf 3.1-RELEASE/etc/pam.conf --- 2.2.8-RELEASE/etc/pam.conf Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/pam.conf Mon Feb 15 19:45:33 1999 @@ -0,0 +1,23 @@ +# Configuration file for Pluggable Authentication Modules (PAM). +# +# This file controls the authentication methods that login and other +# utilities use. See pam(8) for a description of its format. +# +# Note: the final entry must say "required" -- otherwise, things don't +# work quite right. If you delete the final entry, be sure to change +# "sufficient" to "required" in the entry before it. +# +# $FreeBSD: src/etc/pam.conf,v 1.1 1998/11/20 23:20:01 jdp Exp $ + +# If the user can authenticate with S/Key, that's sufficient. +login auth sufficient pam_skey.so + +# Check skey.access to make sure it is OK to let the user type in +# a cleartext password. If not, then fail right here. +login auth requisite pam_cleartext_pass_ok.so + +# If you want KerberosIV authentication, uncomment the next line: +#login auth sufficient pam_kerberosIV.so try_first_pass + +# Traditional getpwnam() authentication. +login auth required pam_unix.so try_first_pass diff -urN 2.2.8-RELEASE/etc/passwd 3.1-RELEASE/etc/passwd --- 2.2.8-RELEASE/etc/passwd Mon Nov 30 14:15:15 1998 +++ 3.1-RELEASE/etc/passwd Mon Feb 15 19:45:34 1999 @@ -1,11 +1,14 @@ root:*:0:0:Charlie &:/root:/bin/csh toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/sbin/nologin -operator:*:2:5:System &:/usr/guest/operator:/bin/csh +operator:*:2:5:System &:/:/sbin/nologin bin:*:3:7:Binaries Commands and Source,,,:/:/sbin/nologin +tty:*:4:65533:Tty Sandbox:/:/sbin/nologin +kmem:*:5:65533:KMem Sandbox:/:/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/sbin/nologin news:*:8:8:News Subsystem:/:/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/sbin/nologin +bind:*:53:53:Bind Sandbox:/:/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico xten:*:67:67:X-10 daemon:/usr/local/xten:/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin diff -urN 2.2.8-RELEASE/etc/pccard.conf.sample 3.1-RELEASE/etc/pccard.conf.sample --- 2.2.8-RELEASE/etc/pccard.conf.sample Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/pccard.conf.sample Mon Feb 15 19:45:33 1999 @@ -8,7 +8,7 @@ # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # -# $Id: pccard.conf.sample,v 1.4.2.10 1998/10/22 08:36:31 jkh Exp $ +# $Id: pccard.conf.sample,v 1.24.2.1 1999/02/05 09:42:27 markm Exp $ # Generally available IO ports io 0x240-0x360 @@ -80,7 +80,7 @@ # Linksys Combo PCMCIA EthernetCard (model EC2T on box) card "Linksys" "Combo PCMCIA EthernetCard (EC" - config 0x1 "ed0" ? + config 0x1 "ed0" 10 insert echo Linksys Ethernet inserted insert /etc/pccard_ether ed0 remove echo Linksys Ethernet removed @@ -124,7 +124,7 @@ config 0x22 "ed0" 9 insert /etc/pccard_ether ed0 remove /sbin/ifconfig ed0 delete - + # Fujitsu MBH10303 Ethernet PCMCIA card "EAGLE Technology" "NE200 ETHERNET LAN MBH10303 " config 0x1 "fe0" ? @@ -137,7 +137,7 @@ ether 0xff0 insert /etc/pccard_ether ed0 remove /sbin/ifconfig ed0 delete - + # Telecom Device SuperSocket RE450T # Note: There are several revisions of the cardon the market. # Type A needs no "ether" line. @@ -340,6 +340,18 @@ insert echo NTT DoCoMo DATA/FAX Adapter inserted remove echo NTT DoCoMo DATA/FAX Adapter removed +# Random modem bundled with Dell systems +card "Psion Dacom" "Gold Card Global 56K+Fax" + config 0x23 "sio2" 10 + insert echo "Psion Dacom modem card inserted" + remove echo "Psion Dacom modem card removed" + +# Actiontec Datalink with v.90 upgrade +card "PCMCIA " "56K V.90 Fax Modem (LK) " + config 0x1f "sio2" 10 + insert echo "Actiontec Datalink modem card inserted" + remove echo "Actiontec Datalink modem card removed" + # Panasonic FM-RADIO card #card "Panasonic" "CF-JVR101" # config 0x22 "sio3" 16 @@ -388,6 +400,6 @@ # insert echo REX-5535 SCSI card inserted # remove echo REX-5535 SCSI card removed -# Libretto floppy drive. +# Libretto Floppy disk card "Y-E DATA" "External FDD" - config 0x4 "fdc0" 10 + config 0x4 "fdc0" 10 diff -urN 2.2.8-RELEASE/etc/pccard_ether 3.1-RELEASE/etc/pccard_ether --- 2.2.8-RELEASE/etc/pccard_ether Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/pccard_ether Mon Feb 15 19:45:33 1999 @@ -1,14 +1,16 @@ #!/bin/sh - # -# $Id: pccard_ether,v 1.2.4.5 1998/09/03 22:14:37 brian Exp $ +# $Id: pccard_ether,v 1.9.2.1 1999/02/10 18:08:38 jkh Exp $ # # pccard_ether interfacename [ifconfig option] # # example: pccard_ether ep0 -link0 # -# Suck in the /etc/rc.conf variables -if [ -f /etc/rc.conf ]; then +# Suck in the configuration variables +if [ -f /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf +elif [ -f /etc/rc.conf ]; then . /etc/rc.conf fi @@ -20,6 +22,12 @@ rm /var/run/dhclient.pid fi /usr/local/sbin/dhclient + elif [ -f /usr/local/sbin/dhcpc ] ; then + if [ -s /var/run/dhcpc.pid ] ; then + kill `cat /var/run/dhcpc.pid` + rm /var/run/dhcpc.pid + fi + /usr/local/sbin/dhcpc $* else echo "DHCP client software not available (isc-dhcp2)" fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/100.clean-disks 3.1-RELEASE/etc/periodic/daily/100.clean-disks --- 2.2.8-RELEASE/etc/periodic/daily/100.clean-disks Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/100.clean-disks Mon Feb 15 19:45:33 1999 @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $Id: 100.clean-disks,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $ +# +# This is a security hole, never use 'find' on a public directory +# with -exec rm -f as root. This can be exploited to delete any file +# on the system. +# + +exit 0 # do not run by default + +find / \( ! -fstype local -o -fstype rdonly \) -a -prune -o \ + \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name '*.core' \ + -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \ + -a -atime +3 -exec rm -f -- {} \; diff -urN 2.2.8-RELEASE/etc/periodic/daily/110.clean-tmps 3.1-RELEASE/etc/periodic/daily/110.clean-tmps --- 2.2.8-RELEASE/etc/periodic/daily/110.clean-tmps Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/110.clean-tmps Mon Feb 15 19:45:33 1999 @@ -0,0 +1,32 @@ +#!/bin/sh +# +# $Id: 110.clean-tmps,v 1.3 1997/09/11 15:21:30 ache Exp $ +# +# This is a security hole, never use 'find' on a public directory +# with -exec rm -f as root. This can be exploited to delete any file +# on the system. +# +# Use at your own risk, but for a long-living system, this might come +# more useful than the boot-time cleaning of /tmp. If /var/tmp and +# /tmp are symlinked together, only one of the below will actually +# run. +# + +exit 0 # do not run by default + +if [ -d /tmp ]; then + cd /tmp && { + find . -type f -atime +3 -ctime +3 ! -name '.X*-lock' \ + -exec rm -f -- {} \; + find -d . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \ + >/dev/null 2>&1 + } +fi + +if [ -d /var/tmp ]; then + cd /var/tmp && { + find . ! -name . -atime +7 -ctime +3 -exec rm -f -- {} \; + find -d . ! -name . ! -name vi.recover -type d -mtime +1 -exec rmdir -- {} \; \ + >/dev/null 2>&1 + } +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/120.clean-preserve 3.1-RELEASE/etc/periodic/daily/120.clean-preserve --- 2.2.8-RELEASE/etc/periodic/daily/120.clean-preserve Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/120.clean-preserve Mon Feb 15 19:45:33 1999 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $Id: 120.clean-preserve,v 1.2 1997/08/17 17:55:29 pst Exp $ +# + +if [ -d /var/preserve ]; then + echo "" + echo "Removing stale files from /var/preserve:" + + cd /var/preserve && find . ! -name . -mtime +7 -exec rm -f -- {} \; +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/130.clean-msgs 3.1-RELEASE/etc/periodic/daily/130.clean-msgs --- 2.2.8-RELEASE/etc/periodic/daily/130.clean-msgs Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/130.clean-msgs Mon Feb 15 19:45:33 1999 @@ -0,0 +1,12 @@ +#!/bin/sh +# +# $Id: 130.clean-msgs,v 1.2 1997/08/17 17:55:29 pst Exp $ +# +# remove system messages older than 21 days +# +if [ -d /var/msgs ] ; then + echo "" + echo "Cleaning out old system announcements:" + + msgs -c +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/140.clean-rwho 3.1-RELEASE/etc/periodic/daily/140.clean-rwho --- 2.2.8-RELEASE/etc/periodic/daily/140.clean-rwho Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/140.clean-rwho Mon Feb 15 19:45:33 1999 @@ -0,0 +1,12 @@ +#!/bin/sh +# +# $Id: 140.clean-rwho,v 1.2 1997/08/17 17:55:30 pst Exp $ +# + +if [ -d /var/rwho ] ; then + echo "" + echo "Removing stale files from /var/rwho:" + + cd /var/rwho && find . ! -name . -mtime +7 -exec rm -f -- {} \; +fi + diff -urN 2.2.8-RELEASE/etc/periodic/daily/200.backup-passwd 3.1-RELEASE/etc/periodic/daily/200.backup-passwd --- 2.2.8-RELEASE/etc/periodic/daily/200.backup-passwd Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/200.backup-passwd Mon Feb 15 19:45:33 1999 @@ -0,0 +1,41 @@ +#!/bin/sh +# +# $Id: 200.backup-passwd,v 1.2 1998/05/24 15:57:31 des Exp $ +# +bak=/var/backups + +if [ -f /etc/master.passwd -o -f /etc/group ] ; then + echo "" + echo "Backup passwd and group files:" + + if [ ! -f $bak/master.passwd.bak ] ; then + echo "no $bak/master.passwd.bak" + cp -p /etc/master.passwd $bak/master.passwd.bak + fi + + if cmp -s $bak/master.passwd.bak /etc/master.passwd; then :; else + echo "$host passwd diffs:" + diff $bak/master.passwd.bak /etc/master.passwd |\ + sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' + mv $bak/master.passwd.bak $bak/master.passwd.bak2 + cp -p /etc/master.passwd $bak/master.passwd.bak + fi + + if [ ! -f $bak/group.bak ] ; then + echo "no $bak/group.bak" + cp -p /etc/group $bak/group.bak + fi + + if cmp -s $bak/group.bak /etc/group; then :; else + echo "$host group diffs:" + diff $bak/group.bak /etc/group + mv $bak/group.bak $bak/group.bak2 + cp -p /etc/group $bak/group.bak + fi + + if [ -f /etc/group ] ; then + echo "" + echo "Verifying group file syntax:" + chkgrp /etc/group + fi +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/210.backup-aliases 3.1-RELEASE/etc/periodic/daily/210.backup-aliases --- 2.2.8-RELEASE/etc/periodic/daily/210.backup-aliases Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/210.backup-aliases Mon Feb 15 19:45:33 1999 @@ -0,0 +1,22 @@ +#!/bin/sh +# +# $Id: 210.backup-aliases,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $ +# +bak=/var/backups + +if [ -f /etc/aliases ] ; then + echo "" + echo "Backing up mail aliases:" + + if [ ! -f $bak/aliases.bak ] ; then + echo "no $bak/aliases.bak" + cp -p /etc/aliases $bak/aliases.bak + fi + + if cmp -s $bak/aliases.bak /etc/aliases; then :; else + echo "$host aliases diffs:" + diff $bak/aliases.bak /etc/aliases + mv $bak/aliases.bak $bak/aliases.bak2 + cp -p /etc/aliases $bak/aliases.bak + fi +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/220.backup-distfile 3.1-RELEASE/etc/periodic/daily/220.backup-distfile --- 2.2.8-RELEASE/etc/periodic/daily/220.backup-distfile Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/220.backup-distfile Mon Feb 15 19:45:33 1999 @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $Id: 220.backup-distfile,v 1.2 1997/08/17 17:55:30 pst Exp $ +# +bak=/var/backups + +if [ -f /etc/Distfile ]; then + echo "" + echo "Backing up /etc/Distfile:" + + if cmp -s $bak/Distfile.bak /etc/Distfile; then :; else + mv $bak/Distfile.bak $bak/Distfile.bak2 + cp /etc/Distfile $bak/Distfile.bak + fi +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/300.calendar 3.1-RELEASE/etc/periodic/daily/300.calendar --- 2.2.8-RELEASE/etc/periodic/daily/300.calendar Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/300.calendar Mon Feb 15 19:45:33 1999 @@ -0,0 +1,18 @@ +#!/bin/sh +# +# $Id: 300.calendar,v 1.2 1997/08/17 17:55:31 pst Exp $ +# +# `calendar -a' needs to die. Why? Because it's a bad idea, particular +# with networked home directories, but also in general. If you want the +# output of `calendar' mailed to you, set up a cron job to do it, +# or run it from your ~/.profile or ~/.login. +# + +exit 0 # do not run by default + +if [ -f /usr/bin/calendar ] ; then + echo "" + echo "Running calendar:" + + calendar -a +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/310.accounting 3.1-RELEASE/etc/periodic/daily/310.accounting --- 2.2.8-RELEASE/etc/periodic/daily/310.accounting Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/310.accounting Mon Feb 15 19:45:33 1999 @@ -0,0 +1,16 @@ +#!/bin/sh +# +# $Id: 310.accounting,v 1.2 1997/08/17 17:55:31 pst Exp $ +# + +if [ -f /var/account/acct ] ; then + echo "" + echo "Rotating accounting logs and gathering statistics:" + + cd /var/account + if [ -f acct.2 ] ; then mv -f acct.2 acct.3 ; fi + if [ -f acct.1 ] ; then mv -f acct.1 acct.2 ; fi + if [ -f acct.0 ] ; then mv -f acct.0 acct.1 ; fi + cp -pf acct acct.0 + sa -s > /dev/null +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/320.rdist 3.1-RELEASE/etc/periodic/daily/320.rdist --- 2.2.8-RELEASE/etc/periodic/daily/320.rdist Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/320.rdist Mon Feb 15 19:45:33 1999 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $Id: 320.rdist,v 1.2 1997/08/17 17:55:32 pst Exp $ +# + +if [ -f /etc/Distfile ]; then + echo "" + echo "Running rdist with /etc/Distfile:" + + rdist -f /etc/Distfile +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/330.news 3.1-RELEASE/etc/periodic/daily/330.news --- 2.2.8-RELEASE/etc/periodic/daily/330.news Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/330.news Mon Feb 15 19:45:33 1999 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $Id: 330.news,v 1.1.1.1 1997/08/16 17:04:01 pst Exp $ +# +# Expire news articles +# (This is present only for backwards compatibility, usually the news +# system handles this on its own). + +if [ -f /etc/news.expire ]; then + /etc/news.expire +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/340.uucp 3.1-RELEASE/etc/periodic/daily/340.uucp --- 2.2.8-RELEASE/etc/periodic/daily/340.uucp Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/340.uucp Mon Feb 15 19:45:33 1999 @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $Id: 340.uucp,v 1.3 1999/01/01 21:07:39 billf Exp $ +# +# Local cleanup of UUCP files. This is for backwards compatibility, +# /etc/uuclean.daily doesn't exist by default. +# +if [ -d /var/spool/uucp -a -f /etc/uuclean.daily ]; then + echo "" + echo "Cleaning up UUCP:" + + echo /etc/uuclean.daily | su -m uucp +fi + diff -urN 2.2.8-RELEASE/etc/periodic/daily/400.status-disks 3.1-RELEASE/etc/periodic/daily/400.status-disks --- 2.2.8-RELEASE/etc/periodic/daily/400.status-disks Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/400.status-disks Mon Feb 15 19:45:33 1999 @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $Id: 400.status-disks,v 1.1.1.1 1997/08/16 17:04:01 pst Exp $ +# + +echo "" +echo "Disk status:" + +df -k -t nonfs + +# display which filesystems need backing up + +echo "" +dump W diff -urN 2.2.8-RELEASE/etc/periodic/daily/410.status-uucp 3.1-RELEASE/etc/periodic/daily/410.status-uucp --- 2.2.8-RELEASE/etc/periodic/daily/410.status-uucp Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/410.status-uucp Mon Feb 15 19:45:33 1999 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $Id: 410.status-uucp,v 1.2 1997/08/17 17:55:33 pst Exp $ +# + +if [ -d /var/spool/uucp -a -x /usr/bin/uustat ]; then + echo "" + echo "UUCP status:" + + uustat -a +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/420.status-network 3.1-RELEASE/etc/periodic/daily/420.status-network --- 2.2.8-RELEASE/etc/periodic/daily/420.status-network Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/420.status-network Mon Feb 15 19:45:33 1999 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $Id: 420.status-network,v 1.2 1997/08/17 17:55:33 pst Exp $ +# + +if [ -x /usr/bin/netstat ] ; then + echo "" + echo "Network interface status:" + + netstat -i +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/430.status-rwho 3.1-RELEASE/etc/periodic/daily/430.status-rwho --- 2.2.8-RELEASE/etc/periodic/daily/430.status-rwho Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/430.status-rwho Mon Feb 15 19:45:33 1999 @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $Id: 430.status-rwho,v 1.2 1998/10/06 09:46:46 joerg Exp $ +# + +if [ -d /var/rwho -a -x /usr/bin/rwho -a $(ls -l /var/rwho | wc -l) -ne 0 ] +then + echo "" + echo "Local network system status:" + ruptime +else + echo "" + echo "Local system status:" + uptime +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/440.status-mailq 3.1-RELEASE/etc/periodic/daily/440.status-mailq --- 2.2.8-RELEASE/etc/periodic/daily/440.status-mailq Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/440.status-mailq Mon Feb 15 19:45:33 1999 @@ -0,0 +1,16 @@ +#!/bin/sh +# +# $Id: 440.status-mailq,v 1.3 1998/04/17 22:53:59 des Exp $ +# +if [ -x /usr/bin/mailq -a -d /var/spool/mqueue ] ; then + echo "" + echo "Mail in local queue:" + + mailq + + # If you run a busy mail server or mail relay, you may prefer + # a shorter and better formatted message. + # + # mailq | perl -ne 'print if /^\s+\S+@/' | + # sort | uniq -c | sort -nr | awk '$1 > 1 {print $1, $2}' +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/450.status-security 3.1-RELEASE/etc/periodic/daily/450.status-security --- 2.2.8-RELEASE/etc/p