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/periodic/daily/450.status-security Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/450.status-security Mon Feb 15 19:45:33 1999 @@ -0,0 +1,12 @@ +#!/bin/sh +# +# $Id: 450.status-security,v 1.2 1997/08/17 17:55:34 pst Exp $ +# + +if [ -f /etc/security -a -x /usr/sbin/sendmail ] ; then + echo "" + echo "Security check:" + echo " (output mailed separately)" + + sh /etc/security 2>&1 | sendmail root +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/460.status-mail-rejects 3.1-RELEASE/etc/periodic/daily/460.status-mail-rejects --- 2.2.8-RELEASE/etc/periodic/daily/460.status-mail-rejects Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/460.status-mail-rejects Mon Feb 15 19:45:33 1999 @@ -0,0 +1,15 @@ +#!/bin/sh +# +# $Id: 460.status-mail-rejects,v 1.7 1998/02/09 11:28:59 wosch Exp $ +# + +if [ -d /etc/mail -a -f /var/log/maillog ]; then + echo + echo Checking for rejected mail hosts: + + start=`date -v-1d '+%b %d' | sed 's/0\(.\)$/ \1/'` + zcat -fc /var/log/maillog.0* /var/log/maillog | grep reject= | + perl -ne "print \"\$2\n\" + if /^$start.*ruleset=check_\S+,\s+arg1=(<[^@]+@)?([^>,]+).*reject=/o;" | + sort | uniq -c | sort -nr +fi diff -urN 2.2.8-RELEASE/etc/periodic/daily/999.local 3.1-RELEASE/etc/periodic/daily/999.local --- 2.2.8-RELEASE/etc/periodic/daily/999.local Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/daily/999.local Mon Feb 15 19:45:33 1999 @@ -0,0 +1,13 @@ +#!/bin/sh +# +# $Id: 999.local,v 1.1.1.1 1997/08/16 17:04:01 pst Exp $ +# +# Run the old /etc/daily.local script. This is really for backwards +# compatibility more than anything else. +# +if [ -f /etc/daily.local ]; then + echo "" + echo "Running daily.local:" + + sh /etc/daily.local +fi diff -urN 2.2.8-RELEASE/etc/periodic/monthly/200.accounting 3.1-RELEASE/etc/periodic/monthly/200.accounting --- 2.2.8-RELEASE/etc/periodic/monthly/200.accounting Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/monthly/200.accounting Mon Feb 15 19:45:33 1999 @@ -0,0 +1,23 @@ +#!/bin/sh - +# +# $Id: 200.accounting,v 1.2 1998/02/09 11:36:43 danny Exp $ +# + +W=/var/log/wtmp +if [ -f $W ] ; then + # Work out last month's name + 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 diff -urN 2.2.8-RELEASE/etc/periodic/monthly/999.local 3.1-RELEASE/etc/periodic/monthly/999.local --- 2.2.8-RELEASE/etc/periodic/monthly/999.local Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/monthly/999.local Mon Feb 15 19:45:33 1999 @@ -0,0 +1,10 @@ +#!/bin/sh - +# +# $Id: 999.local,v 1.1.1.1 1997/08/16 17:04:01 pst Exp $ +# +if [ -f /etc/monthly.local ]; then + echo "" + echo "Running monthly.local:" + + sh /etc/monthly.local +fi diff -urN 2.2.8-RELEASE/etc/periodic/weekly/120.clean-kvmdb 3.1-RELEASE/etc/periodic/weekly/120.clean-kvmdb --- 2.2.8-RELEASE/etc/periodic/weekly/120.clean-kvmdb Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/120.clean-kvmdb Mon Feb 15 19:45:33 1999 @@ -0,0 +1,15 @@ +#!/bin/sh - +# +# $Id: 120.clean-kvmdb,v 1.2 1998/01/01 09:04:47 bde Exp $ +# + +if [ -d /var/db ] ; then + echo "" + echo "Cleaning up kernel database files:" + + kernel=`sysctl -n kern.bootfile` + kernel=kvm_`basename ${kernel}`.db + + find /var/db -name "kvm_*.db" -a ! -name ${kernel} -a \ + -atime +7 -exec rm -f -- {} \; +fi diff -urN 2.2.8-RELEASE/etc/periodic/weekly/300.uucp 3.1-RELEASE/etc/periodic/weekly/300.uucp --- 2.2.8-RELEASE/etc/periodic/weekly/300.uucp Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/300.uucp Mon Feb 15 19:45:33 1999 @@ -0,0 +1,13 @@ +#!/bin/sh - +# +# $Id: 300.uucp,v 1.2 1997/08/17 17:55:44 pst Exp $ +# +# This is really here for backwards compatibility, clean.weekly is not +# created by default anymore. + +if [ -d /var/spool/uucp -a -f /usr/libexec/uucp/clean.weekly ]; then + echo "" + echo "Cleaning up UUCP:" + + echo /usr/libexec/uucp/clean.weekly | su daemon +fi diff -urN 2.2.8-RELEASE/etc/periodic/weekly/310.locate 3.1-RELEASE/etc/periodic/weekly/310.locate --- 2.2.8-RELEASE/etc/periodic/weekly/310.locate Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/310.locate Mon Feb 15 19:45:33 1999 @@ -0,0 +1,16 @@ +#!/bin/sh - +# +# $Id: 310.locate,v 1.2 1997/11/01 15:00:40 wosch Exp $ +# +locdb=/var/db/locate.database + +if [ -x /usr/libexec/locate.updatedb -a -f $locdb ] ; then + + echo "" + echo "Rebuilding locate database:" + + touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb} + + echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody + chmod 444 ${locdb} +fi diff -urN 2.2.8-RELEASE/etc/periodic/weekly/320.whatis 3.1-RELEASE/etc/periodic/weekly/320.whatis --- 2.2.8-RELEASE/etc/periodic/weekly/320.whatis Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/320.whatis Mon Feb 15 19:45:33 1999 @@ -0,0 +1,19 @@ +#!/bin/sh - +# +# $Id: 320.whatis,v 1.2 1998/01/09 23:56:45 steve Exp $ +# + +if [ -x /usr/libexec/makewhatis.local -a -x /usr/bin/manpath ] ; then + + echo "" + echo "Rebuilding whatis database:" + + MANPATH=`/usr/bin/manpath -q` + if [ $? = 0 ]; then + if [ "x${MANPATH}" = "x" ]; then + echo "manpath failed to find any manpage directories" + else + /usr/libexec/makewhatis.local "${MANPATH}" + fi + fi +fi diff -urN 2.2.8-RELEASE/etc/periodic/weekly/330.catman 3.1-RELEASE/etc/periodic/weekly/330.catman --- 2.2.8-RELEASE/etc/periodic/weekly/330.catman Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/330.catman Mon Feb 15 19:45:33 1999 @@ -0,0 +1,13 @@ +#!/bin/sh - +# +# $Id: 330.catman,v 1.2 1997/08/17 17:55:45 pst Exp $ +# + +exit 0 # do not run by default + +if [ -x /usr/libexec/catman.local -a -d /usr/share/man/cat1 ] ; then + echo "" + echo "Reformatting manual pages:" + + echo /usr/libexec/catman.local "${MANPATH}" | su -fm man +fi diff -urN 2.2.8-RELEASE/etc/periodic/weekly/340.noid 3.1-RELEASE/etc/periodic/weekly/340.noid --- 2.2.8-RELEASE/etc/periodic/weekly/340.noid Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/340.noid Mon Feb 15 19:45:33 1999 @@ -0,0 +1,14 @@ +#!/bin/sh - +# +# $Id: 340.noid,v 1.1 1997/11/01 15:03:04 wosch Exp $ + +exit 0 # do not run by default + +echo "" +echo "Check for files belongs to an unknown user or unknown group:" + +# directories to be verified +: ${NOIDSEARCHPATHS="/"} + +find -H $NOIDSEARCHPATHS -fstype local \( -nogroup -or -nouser \) -print + diff -urN 2.2.8-RELEASE/etc/periodic/weekly/999.local 3.1-RELEASE/etc/periodic/weekly/999.local --- 2.2.8-RELEASE/etc/periodic/weekly/999.local Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/periodic/weekly/999.local Mon Feb 15 19:45:33 1999 @@ -0,0 +1,11 @@ +#!/bin/sh - +# +# $Id: 999.local,v 1.2 1997/08/17 17:55:45 pst Exp $ +# + +if [ -f /etc/weekly.local ]; then + echo "" + echo "Running weekly.local:" + + sh /etc/weekly.local +fi diff -urN 2.2.8-RELEASE/etc/phones 3.1-RELEASE/etc/phones --- 2.2.8-RELEASE/etc/phones Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/phones Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: phones,v 1.4.10.1 1998/02/27 20:49:11 jkh Exp $ +# $Id: phones,v 1.7 1997/10/13 03:17:08 hoek Exp $ # From: @(#)phones 5.2 (Berkeley) 6/30/90 # # phones -- remote host phone number data base diff -urN 2.2.8-RELEASE/etc/ppp/ppp.conf.sample 3.1-RELEASE/etc/ppp/ppp.conf.sample --- 2.2.8-RELEASE/etc/ppp/ppp.conf.sample Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/ppp/ppp.conf.sample Mon Feb 15 19:45:43 1999 @@ -4,7 +4,7 @@ # # Originally written by Toshiharu OHNO # -# $Id: ppp.conf.sample,v 1.5.2.16 1998/11/26 12:43:27 jkh Exp $ +# $Id: ppp.conf.sample,v 1.33 1998/10/03 13:12:14 brian Exp $ # ################################################################# diff -urN 2.2.8-RELEASE/etc/ppp/ppp.deny 3.1-RELEASE/etc/ppp/ppp.deny --- 2.2.8-RELEASE/etc/ppp/ppp.deny Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/ppp/ppp.deny Mon Feb 15 19:45:43 1999 @@ -1,4 +1,4 @@ -# $Id: ppp.deny,v 1.1.2.2 1998/11/26 12:43:27 jkh Exp $ +# $Id: ppp.deny,v 1.2 1998/09/02 01:34:57 brian Exp $ # # list of users disallowed any pppd access via 'system # password login'. diff -urN 2.2.8-RELEASE/etc/ppp/ppp.linkdown.sample 3.1-RELEASE/etc/ppp/ppp.linkdown.sample --- 2.2.8-RELEASE/etc/ppp/ppp.linkdown.sample Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/ppp/ppp.linkdown.sample Mon Feb 15 19:45:43 1999 @@ -12,7 +12,7 @@ # 3) If no label has been found, use MYADDR if it exists. # # -# $Id: ppp.linkdown.sample,v 1.1.2.2 1998/11/26 12:43:27 jkh Exp $ +# $Id: ppp.linkdown.sample,v 1.2 1998/11/05 23:14:19 brian Exp $ # ######################################################################### diff -urN 2.2.8-RELEASE/etc/ppp/ppp.linkup.sample 3.1-RELEASE/etc/ppp/ppp.linkup.sample --- 2.2.8-RELEASE/etc/ppp/ppp.linkup.sample Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/ppp/ppp.linkup.sample Mon Feb 15 19:45:43 1999 @@ -12,7 +12,7 @@ # 3) If no label has been found, use MYADDR if it exists. # # -# $Id: ppp.linkup.sample,v 1.3.2.6 1998/11/26 12:43:27 jkh Exp $ +# $Id: ppp.linkup.sample,v 1.14 1998/05/21 21:45:47 brian Exp $ # ######################################################################### diff -urN 2.2.8-RELEASE/etc/ppp/ppp.secret.sample 3.1-RELEASE/etc/ppp/ppp.secret.sample --- 2.2.8-RELEASE/etc/ppp/ppp.secret.sample Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/ppp/ppp.secret.sample Mon Feb 15 19:45:43 1999 @@ -27,7 +27,7 @@ # ``auth'' or ``cbcp'' callback is enabled (see ``set callback''). # A ``*'' specifies that the client must specify the number. # -# $Id: ppp.secret.sample,v 1.2.6.2 1998/11/26 12:43:27 jkh Exp $ +# $Id: ppp.secret.sample,v 1.8 1998/08/07 18:44:31 brian Exp $ # ################################################## diff -urN 2.2.8-RELEASE/etc/ppp/ppp.shells.sample 3.1-RELEASE/etc/ppp/ppp.shells.sample --- 2.2.8-RELEASE/etc/ppp/ppp.shells.sample Mon Nov 30 14:15:29 1998 +++ 3.1-RELEASE/etc/ppp/ppp.shells.sample Mon Feb 15 19:45:43 1999 @@ -1,4 +1,4 @@ -# $Id: ppp.shells.sample,v 1.1.2.2 1998/11/26 12:43:27 jkh Exp $ +# $Id: ppp.shells.sample,v 1.2 1998/09/02 01:34:57 brian Exp $ # # List of acceptable shells for pppd(8). # Pppd will not accept a system password login diff -urN 2.2.8-RELEASE/etc/printcap 3.1-RELEASE/etc/printcap --- 2.2.8-RELEASE/etc/printcap Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/printcap Mon Feb 15 19:45:33 1999 @@ -1,5 +1,5 @@ # @(#)printcap 5.3 (Berkeley) 6/30/90 -# $Id: printcap,v 1.5.2.1 1998/02/07 19:17:32 ache Exp $ +# $Id: printcap,v 1.9 1998/02/04 12:09:06 ache Exp $ # # This enables a simple local "raw" printer, hooked up to the first diff -urN 2.2.8-RELEASE/etc/profile 3.1-RELEASE/etc/profile --- 2.2.8-RELEASE/etc/profile Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/profile Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: profile,v 1.8.2.3 1998/09/03 22:14:37 brian Exp $ +# $Id: profile,v 1.11 1998/09/02 01:34:56 brian Exp $ # # System-wide .profile file for sh(1). # Uncomment this to give you the default 4.2 behavior, where disk diff -urN 2.2.8-RELEASE/etc/protocols 3.1-RELEASE/etc/protocols --- 2.2.8-RELEASE/etc/protocols Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/protocols Mon Feb 15 19:45:33 1999 @@ -1,7 +1,7 @@ # # Internet (IP) protocols # -# $Id: protocols,v 1.4.2.3 1998/02/13 20:25:42 julian Exp $ +# $Id: protocols,v 1.10 1998/02/13 20:21:04 julian Exp $ # from: @(#)protocols 5.1 (Berkeley) 4/17/89 # # See also http://www.iana.org/in-notes/iana/assignments/protocol-numbers Binary files 2.2.8-RELEASE/etc/pwd.db and 3.1-RELEASE/etc/pwd.db differ diff -urN 2.2.8-RELEASE/etc/rc 3.1-RELEASE/etc/rc --- 2.2.8-RELEASE/etc/rc Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc Mon Feb 15 19:45:33 1999 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.104.2.38 1998/11/03 16:35:46 cracauer Exp $ +# $Id: rc,v 1.169.2.5 1999/02/13 05:31:07 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -8,7 +8,7 @@ # and the console is the controlling terminal. # Note that almost all the user-configurable behavior is no longer in -# this file, but rather in /etc/rc.conf. Please check this file +# this file, but rather in /etc/defaults/rc.conf. Please check this file # first before contemplating any changes here. stty status '^T' @@ -22,14 +22,40 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin export PATH +# BOOTP diskless boot. We have to run the rc file early in order to +# handle read-only NFS mounts, where the various config files +# in /etc often don't apply. rc.diskless typically sets skip_diskconf=YES +# on return. +# +if [ -f /etc/rc.diskless ]; then + dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` + if [ ${dlv:=0} != 0 ]; then + . /etc/rc.diskless + fi +fi + +# If there is a global system configuration file, suck it in. +# +if [ -f /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf +elif [ -f /etc/rc.conf ]; then + . /etc/rc.conf +fi + # Configure ccd devices. -if [ -f /etc/ccd.conf ]; then +if [ "X$skip_diskconf" != "XYES" -a -f /etc/ccd.conf ]; then ccdconfig -C fi -swapon -a +if [ "X$skip_diskconf" != "XYES" -a -n "$vinum_drives" ]; then + vinum read $vinum_drives +fi + +if [ "X$skip_diskconf" != "XYES" ]; then + swapon -a +fi -if [ $1x = autobootx ]; then +if [ "X$skip_diskconf" != "XYES" -a $1x = autobootx ]; then echo Automatic reboot in progress... fsck -p case $? in @@ -66,33 +92,35 @@ trap "echo 'Reboot interrupted'; exit 1" 3 -# root must be read/write both for NFS diskless and for VFS LKMs before -# proceeding any further. -mount -u -o rw / -if [ $? != 0 ]; then - echo "Filesystem mount failed, startup aborted" - exit 1 -fi +# root normally must be read/write, but if this is a BOOTP NFS +# diskless boot it does not have to be. +# -umount -a >/dev/null 2>&1 - -mount -a -t nonfs -if [ $? != 0 ]; then - echo "Filesystem mount failed, startup aborted" - exit 1 -fi +if [ "X$skip_diskconf" != "XYES" ]; then + mount -u -o rw / -# If there is a global system configuration file, suck it in. -if [ -f /etc/rc.conf ]; then - . /etc/rc.conf + if [ $? != 0 ]; then + echo "Filesystem mount failed, startup aborted" + exit 1 + fi + + umount -a >/dev/null 2>&1 + + mount -a -t nonfs + if [ $? != 0 ]; then + echo "Filesystem mount failed, startup aborted" + exit 1 + fi fi -# If old file exists, whine until they fix it. -if [ -f /etc/sysconfig ]; then - echo "Warning: /etc/sysconfig has been replaced by /etc/rc.conf." - echo "You should switch to /etc/rc.conf ASAP to eliminate this warning." +# Run custom disk mounting function here +# + +if [ "X$diskless_mount_func" != "X" ]; then + $diskless_mount_func fi + adjkerntz -i clean_var() { @@ -137,14 +165,14 @@ network_pass1 fi +echo -n "Mounting NFS file systems" mount -a -t nfs +echo . # Whack the pty perms back into shape. chmod 666 /dev/tty[pqrsPQRS]* # clean up left-over files -rm -f /etc/nologin - clean_var # If it hasn't already been done rm /var/run/clean_var @@ -170,9 +198,8 @@ # after a system crash. rm -f /tmp/.X*-lock /tmp/.X11-unix/* -# snapshot any kernel -c changes back to disk -echo 'recording kernel -c changes' -dset -q +# snapshot any kernel -c changes back to disk here +# this has changed with ELF and /kernel.config. echo -n 'additional daemons:' # start system logging and name service (named needs to start before syslogd @@ -189,10 +216,6 @@ rm -f /var/run/log echo -n ' syslogd'; syslogd ${syslogd_flags} fi - -if [ "X${tickadj_enable}" = X"YES" ]; then - echo -n ' tickadj'; tickadj ${tickadj_flags--Aq} -fi echo '.' # enable dumpdev so that savecore can see it @@ -242,14 +265,32 @@ # Make shared lib searching a little faster. Leave /usr/lib first if you # add your own entries or you may come to grief. -_LDC=/usr/lib -for i in $ldconfig_paths; do - if test -d $i; then - _LDC="${_LDC} $i" +if [ -x /sbin/ldconfig ]; then + if [ X"`/usr/bin/objformat`" = X"elf" ]; then + _LDC=/usr/lib + for i in $ldconfig_paths; do + if test -d $i; then + _LDC="${_LDC} $i" + fi + done + echo 'setting ELF ldconfig path:' ${_LDC} + ldconfig -elf ${_LDC} + fi + + # Legacy aout support for i386 only + if [ X"`sysctl -n hw.machine`" = X"i386" ]; then + # Default the a.out ldconfig path. + : ${ldconfig_paths_aout=${ldconfig_paths}} + _LDC=/usr/lib/aout + for i in $ldconfig_paths_aout; do + if test -d $i; then + _LDC="${_LDC} $i" + fi + done + echo 'setting a.out ldconfig path:' ${_LDC} + ldconfig -aout ${_LDC} fi -done -echo 'setting ldconfig path:' ${_LDC} -ldconfig ${_LDC} +fi # Now start up miscellaneous daemons that don't belong anywhere else # @@ -270,6 +311,10 @@ echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} fi +if [ "X${usbd_enable}" = X"YES" ]; then + echo -n ' usbd'; /usr/sbin/usbd ${usbd_flags} +fi + echo '.' # configure implementation specific stuff @@ -318,6 +363,11 @@ fi fi +# make a bounds file for msgs(1) if there isn't one already +if [ ! -f /var/msgs/bounds ]; then + echo 0 > /var/msgs/bounds +fi + # for each valid dir in $local_startup, search for init scripts matching *.sh if [ "X${local_startup}" != X"NO" ]; then echo -n 'Local package initialization:' @@ -330,8 +380,46 @@ echo . fi -# Do traditional (but rather obsolete) rc.local file if it exists. -[ -f /etc/rc.local ] && sh /etc/rc.local +if [ "X${update_motd}" != X"NO" ]; then + T=/tmp/_motd + rm -f $T + uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T + awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >> $T + cp $T /etc/motd + chmod 644 /etc/motd + rm -f $T +fi + +# Run rc.devfs if present to customify devfs +[ -f /etc/rc.devfs ] && sh /etc/rc.devfs + +# Do traditional (but rather obsolete) rc.local file if it exists. If you +# use this file and want to make it programmatic, source /etc/defaults/rc.conf +# in /etc/rc.local and add your custom variables to /etc/rc.conf, as +# shown below. Please do not put local extensions into /etc/rc itself. +# Use /etc/rc.local +# +# ---- rc.local ---- +# if [ -f /etc/defaults/rc.conf ]; then +# . /etc/defaults/rc.conf +# fi +# +# ... additional startup conditionals ... +# ---- rc.local ---- +# +if [ -f /etc/rc.local ]; then + echo -n 'starting local daemons:' + sh /etc/rc.local + echo '.' +fi + +# Raise kernel security level. This should be done only after `fsck' has +# repaired local file systems if you want the securelevel to be greater than 1. +if [ "X${kern_securelevel_enable}" = X"YES" -a "${kern_securelevel}" -ge 0 ]; +then + echo 'Raising kernel security level' + sysctl -w kern.securelevel=${kern_securelevel} +fi date exit 0 diff -urN 2.2.8-RELEASE/etc/rc.atm 3.1-RELEASE/etc/rc.atm --- 2.2.8-RELEASE/etc/rc.atm Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/rc.atm Mon Feb 15 19:45:33 1999 @@ -0,0 +1,172 @@ +#!/bin/sh +# + +# ATM networking startup script +# +# $Id: rc.atm,v 1.2 1998/10/08 08:56:01 phk Exp $ + +# +# Initial interface configuration. +# N.B. /usr is not mounted. +# +atm_pass1() { + # Locate all probed ATM adapters + atmdev=`atm sh stat int | while read dev junk; do + case ${dev} in + hea[0-9]|hea[0-9][0-9]) + echo "${dev} " + ;; + hfa[0-9]|hfa[0-9][0-9]) + echo "${dev} " + ;; + *) + continue + ;; + esac + done` + + if [ -z "${atmdev}" ]; then + echo "No ATM adapters found." + return 0 + fi + + # Load microcode into FORE adapters (if needed) + if [ `expr "${atmdev}" : '.*hfa.*'` -ne 0 ]; then + fore_dnld -d /etc + fi + + # Configure physical interfaces + ilmid=0 + for phy in ${atmdev}; do + echo -n "Configuring ATM device ${phy}:" + + # Define network interfaces + eval netif_args=\$atm_netif_${phy} + if [ -n "${netif_args}" ]; then + atm set netif ${phy} ${netif_args} || continue + else + echo "missing network interface definition" + continue + fi + + # Override physical MAC address + eval macaddr_args=\$atm_macaddr_${phy} + if [ -n "${macaddr_args}" -a "${macaddr_args}" != "NO" ]; then + atm set mac ${phy} ${macaddr_args} || continue + fi + + # Configure signalling manager + eval sigmgr_args=\$atm_sigmgr_${phy} + if [ -n "${sigmgr_args}" ]; then + atm attach ${phy} ${sigmgr_args} || continue + else + echo "missing signalling manager definition" + continue + fi + + # Configure UNI NSAP prefix + eval prefix_args=\$atm_prefix_${phy} + if [ `expr "${sigmgr_args}" : '[uU][nN][iI].*'` -ne 0 ]; then + if [ -z "${prefix_args}" ]; then + echo "missing NSAP prefix for UNI interface" + continue + fi + if [ "${prefix_args}" = "ILMI" ]; then + ilmid=1 + else + atm set prefix ${phy} ${prefix_args} || continue + fi + fi + + atm_phy="${atm_phy} ${phy}" + echo "." + done + + echo -n "Starting initial ATM daemons:" + # Start ILMI daemon (if needed) + if [ ${ilmid} -eq 1 ]; then + echo -n " ilmid" + ilmid + fi + + echo "." + atm_pass1_done=YES +} + +# +# Finish up configuration. +# N.B. /usr is not mounted. +# +atm_pass2() { + echo -n "Configuring ATM network interfaces:" + + atm_scspd=0 + atm_atmarpd="" + + # Configure network interfaces + for phy in ${atm_phy}; do + eval netif_args=\$atm_netif_${phy} + set -- ${netif_args} + netname=$1 + netcnt=$2 + netindx=0 + while [ ${netindx} -lt ${netcnt} ]; do + + net="${netname}${netindx}" + netindx=`expr ${netindx} + 1` + echo -n " ${net}" + + # Configure atmarp server + eval atmarp_args=\$atm_arpserver_${net} + if [ -n "${atmarp_args}" ]; then + atm set arpserver ${net} ${atmarp_args} || continue + fi + eval scsparp_args=\$atm_scsparp_${net} + if [ "X${scsparp_args}" = X"YES" ]; then + if [ "${atmarp_args}" != "local" ]; then + echo "local arpserver required for SCSP" + continue + fi + atm_atmarpd="${atm_atmarpd} ${net}" + atm_scspd=1 + fi + done + done + echo "." + + # Define any PVCs. + if [ "X${atm_pvcs}" != "X" ]; then + for i in ${atm_pvcs}; do + eval pvc_args=\$atm_pvc_${i} + atm add pvc ${pvc_args} + done + fi + + # Define any permanent ARP entries. + if [ "X${atm_arps}" != "X" ]; then + for i in ${atm_arps}; do + eval arp_args=\$atm_arp_${i} + atm add arp ${arp_args} + done + fi + atm_pass2_done=YES +} + +# +# Start any necessary daemons. +# +atm_pass3() { + # Start SCSP daemon (if needed) + if [ ${atm_scspd} -eq 1 ]; then + echo -n " scspd" + scspd + fi + + # Start ATMARP daemon (if needed) + if [ -n "${atm_atmarpd}" ]; then + echo -n " atmarpd" + atmarpd ${atm_atmarpd} + fi + + atm_pass3_done=YES +} diff -urN 2.2.8-RELEASE/etc/rc.conf 3.1-RELEASE/etc/rc.conf --- 2.2.8-RELEASE/etc/rc.conf Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.conf Thu Jan 1 09:00:00 1970 @@ -1,158 +0,0 @@ -#!/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. -# -# All arguments must be in double or single quotes. -# -# $Id: rc.conf,v 1.1.2.48 1998/11/25 21:51:34 msmith 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. - - -############################################################## -### 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 -tcp_extensions="YES" # Allow RFC1323 & RFC1644 extensions (or NO). -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. - -### 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_enable="NO" # Run named, the DNS server (or NO). -named_program="/usr/sbin/named" # named program, in case we want bind8 instead. -named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled). -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). -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" -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="0" # Client cache timeout in seconds -nfs_server_enable="NO" # This host is an NFS server (or NO). -nfs_server_flags="-u -t 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). -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). -tickadj_enable="NO" # Run tickadj (or NO). -tickadj_flags="-Aq" # Flags to tickadj (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 -natd_enable="NO" # Enable natd if firewall_enable. -natd_interface="fxp0" # Public interface to use with natd if natd_enable. -natd_flags="" # Additional flags for natd. - - -############################################################## -### 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: blank/daemon/green/snake/star/NO. -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). -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). -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 - -############################################################## -### Allow local configuration override at the very end here ## -############################################################## -if [ -f /etc/rc.conf.local ]; then - . /etc/rc.conf.local -fi diff -urN 2.2.8-RELEASE/etc/rc.devfs 3.1-RELEASE/etc/rc.devfs --- 2.2.8-RELEASE/etc/rc.devfs Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/rc.devfs Mon Feb 15 19:45:33 1999 @@ -0,0 +1,13 @@ +# +# $Id: rc.devfs,v 1.3.2.1 1999/02/10 18:08:38 jkh Exp $ +# +# If there is a global system configuration file, suck it in. +if [ -f /etc/defaults/rc.conf ]; then + . /etc/defaults/rc.conf +elif [ -f /etc/rc.conf ]; then + . /etc/rc.conf +fi + +# Setup DEVFS, ie permisisons, links etc. + +ln -fs /dev/ttyv0 /dev/vga diff -urN 2.2.8-RELEASE/etc/rc.firewall 3.1-RELEASE/etc/rc.firewall --- 2.2.8-RELEASE/etc/rc.firewall Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.firewall Mon Feb 15 19:45:33 1999 @@ -1,8 +1,11 @@ ############ # Setup system for firewall service. -# $Id: rc.firewall,v 1.6.2.9 1998/06/27 21:23:19 steve Exp $ +# $Id: rc.firewall,v 1.19.2.1 1999/02/10 18:08:38 jkh Exp $ -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 @@ -58,9 +61,10 @@ $fwcmd -f flush ############ -# These rules are required for using natd. All packets are passed to natd before -# they encounter your remaining rules. The firewall rules will then be run again -# on each packet after translation by natd, minus any divert rules (see natd(8)). +# These rules are required for using natd. All packets are passed to +# natd before they encounter your remaining rules. The firewall rules +# will then be run again on each packet after translation by natd, +# minus any divert rules (see natd(8)). if [ "X${natd_enable}" = X"YES" -a "X${natd_interface}" != X"" ]; then $fwcmd add divert natd all from any to any via ${natd_interface} fi diff -urN 2.2.8-RELEASE/etc/rc.i386 3.1-RELEASE/etc/rc.i386 --- 2.2.8-RELEASE/etc/rc.i386 Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.i386 Mon Feb 15 19:45:33 1999 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.18.2.11 1998/10/22 08:36:32 jkh Exp $ +# $Id: rc.i386,v 1.37.2.1 1999/01/31 12:59:09 yokota Exp $ # Do i386 specific processing # @@ -94,8 +94,10 @@ # screen saver if [ "X${saver}" != X"NO" ] ; then echo -n ' screensaver' - modstat | grep _saver || \ - modload -u -o /tmp/saver_mod -q /lkm/${saver}_saver_mod.o + for i in `kldstat | awk '$5 ~ "^splash_.*$" { print $5 }'`; do + kldunload $i + done + kldstat -v | grep -q _saver || kldload ${saver}_saver fi # mouse daemon diff -urN 2.2.8-RELEASE/etc/rc.isdn 3.1-RELEASE/etc/rc.isdn --- 2.2.8-RELEASE/etc/rc.isdn Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/rc.isdn Mon Feb 15 19:45:33 1999 @@ -0,0 +1,44 @@ +#!/bin/sh +#--------------------------------------------------------------------------- +# +# /etc/rc.isdn - isdn4bsd startup script +# -------------------------------------- +# +# last edit-date: [Tue Jan 12 15:35:36 1999] +# +# $Id: rc.isdn,v 1.1 1999/01/13 08:20:55 hm Exp $ +# +#--------------------------------------------------------------------------- + +if [ "X${isdn_enable}" = X"YES" ] ; then + + # terminal type for fullscreen mode, default to syscons driver + isdn_ttype=cons25 + + # check for pcvt driver (VT100/VT220 emulator) + if [ -x /usr/sbin/ispcvt ] ; then + if /usr/sbin/ispcvt ; then + isdn_ttype=pcvt25 + fi + fi + + if [ "X${isdn_flags}" = X"NO" ] ; then + isdn_flags="" + fi + + # start the isdn daemon + if [ -x /usr/sbin/isdnd ] ; then + echo -n ' isdnd' + if [ "X${isdn_fsdev}" = X"NO" ] ; then + /usr/sbin/isdnd ${isdn_flags} + else + /usr/sbin/isdnd ${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype} + fi + fi + + # start isdntrace + if [ "X${isdn_trace}" = X"YES" -a -x /usr/sbin/isdntrace ] ; then + echo -n ' isdntrace' + nohup /usr/sbin/isdntrace ${isdn_traceflags} >/dev/null 2>&1 & + fi +fi diff -urN 2.2.8-RELEASE/etc/rc.local 3.1-RELEASE/etc/rc.local --- 2.2.8-RELEASE/etc/rc.local Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.local Thu Jan 1 09:00:00 1970 @@ -1,24 +0,0 @@ -# -# site-specific startup actions, daemons -# -# $Id: rc.local,v 1.21.2.2 1998/02/15 14:24:49 jkh Exp $ -# - -# If there is a global system configuration file, suck it in. -#if [ -f /etc/rc.conf ]; then -# . /etc/rc.conf -#fi - -T=/tmp/_motd -rm -f $T -uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T -awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >> $T -cp $T /etc/motd -chmod 644 /etc/motd -rm -f $T - -echo -n 'starting local daemons:' - -# put your local stuff here - -echo '.' diff -urN 2.2.8-RELEASE/etc/rc.network 3.1-RELEASE/etc/rc.network --- 2.2.8-RELEASE/etc/rc.network Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.network Mon Feb 15 19:45:33 1999 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.1.2.24 1998/11/28 22:04:20 jkh Exp $ +# $Id: rc.network,v 1.39 1999/01/13 17:32:37 joerg Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -25,6 +25,31 @@ fi echo '.' + # Initial ATM interface configuration + if [ "X${atm_enable}" = X"YES" -a -f /etc/rc.atm ]; then + . /etc/rc.atm + atm_pass1 + fi + + # ISDN subsystem startup + if [ "X${isdn_enable}" = X"YES" -a -f /etc/rc.isdn ]; then + . /etc/rc.isdn + fi + + # Special options for sppp(4) interfaces go here. These need + # to go _before_ the general ifconfig section, since in the case + # of hardwired (no link1 flag) but required authentication, you + # cannot pass auth parameters down to the already running interface. + for ifn in ${sppp_interfaces}; do + eval spppcontrol_args=\$spppconfig_${ifn} + if [ -n "${spppcontrol_args}" ] ; then + # The auth secrets might contain spaces; in order + # to retain the quotation, we need to eval them + # here. + eval spppcontrol ${ifn} ${spppcontrol_args} + fi + done + # Set up all the network interfaces, calling startup scripts if needed for ifn in ${network_interfaces}; do if [ -e /etc/start_if.${ifn} ]; then @@ -65,8 +90,7 @@ fi if [ $firewall_in_kernel = 0 -a "x$firewall_enable" = "xYES" ] ; then - modload /lkm/ipfw_mod.o - if [ $? = 0 ]; then + if kldload ipfw; then firewall_in_kernel=1 # module loaded successfully echo "Kernel firewall module loaded." else @@ -90,6 +114,11 @@ fi fi + # Additional ATM interface configuration + if [ -n "${atm_pass1_done}" ]; then + atm_pass2 + fi + # Configure routing if [ "x$defaultrouter" != "xNO" ] ; then @@ -109,7 +138,11 @@ if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then echo -n ' tcp extensions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 - sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + fi + + if [ X"$icmp_bmcastecho" = X"YES" ]; then + echo -n ' broadcast ping responses=YES' + sysctl -w net.inet.icmp.bmcastecho=1 >/dev/null 2>&1 fi if [ "X$gateway_enable" = X"YES" ]; then @@ -127,28 +160,34 @@ sysctl -w net.inet.ip.accept_sourceroute=1 >/dev/null 2>&1 fi - if [ "X$router_enable" = X"YES" ]; then - echo -n " ${router}"; ${router} ${router_flags} - fi - if [ "X$ipxgateway_enable" = X"YES" ]; then echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi + if [ "X$arpproxy_all" = X"YES" ]; then + echo -n ' enabling ARP_PROXY_ALL: ' + sysctl -w net.link.ether.inet.proxyall=1 2>&1 + fi + echo '.' + + echo -n 'routing daemons:' + if [ "X$router_enable" = X"YES" ]; then + echo -n " ${router}"; ${router} ${router_flags} + fi + if [ "X$ipxrouted_enable" = X"YES" ]; then - echo -n ' IPXrouted: ' + echo -n ' IPXrouted' IPXrouted ${ipxrouted_flags} > /dev/null 2>&1 fi - if [ "X$arpproxy_all" = X"YES" ]; then - echo -n ' enabling ARP_PROXY_ALL: ' - sysctl -w net.link.ether.inet.proxyall=1 2>&1 + if [ "X${mrouted_enable}" = X"YES" ]; then + echo -n ' mrouted'; mrouted ${mrouted_flags} fi + if [ "X$rarpd_enable" = X"YES" ]; then echo -n ' rarpd'; rarpd ${rarpd_flags} fi - echo '.' network_pass1_done=YES # Let future generations know we made it. } @@ -197,6 +236,20 @@ fi fi + # Start keyserv if we are running Secure RPC + if [ "X${keyserv_enable}" = X"YES" ]; then + echo -n ' keyserv'; keyserv ${keyserv_flags} + fi + # Start ypupdated if we are running Secure RPC and we are NIS master + if [ "X$rpc_ypupdated_enable" = X"YES" ]; then + echo -n ' rpc.ypupdated'; rpc.ypupdated + fi + + # Start ATM daemons + if [ -n "${atm_pass2_done}" ]; then + atm_pass3 + fi + echo '.' network_pass2_done=YES } @@ -211,7 +264,6 @@ fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd ${nfs_server_flags} @@ -233,11 +285,14 @@ if [ "X${amd_enable}" = X"YES" ]; then echo -n ' amd' + if [ "X${amd_map_program}" != X"NO" ]; then + amd_flags="${amd_flags} `eval ${amd_map_program}`" + fi amd -p ${amd_flags} > /var/run/amd.pid 2> /dev/null fi if [ "X${rwhod_enable}" = X"YES" ]; then - echo -n ' rwhod'; rwhod + echo -n ' rwhod'; rwhod ${rwhod_flags} fi # Kerberos runs ONLY on the Kerberos server machine @@ -256,15 +311,17 @@ unset stash_flag fi - # IP multicast routing daemon - if [ "X${mrouted_enable}" = X"YES" ]; then - echo -n ' mrouted'; mrouted ${mrouted_flags} - fi - # Network Address Translation daemon - if [ "X${natd_enable}" = X"YES" -a "X${natd_interface}" != X"" -a "X${firewall_enable}" = X"YES" ]; then - echo -n ' natd'; natd ${natd_flags} -n ${natd_interface} - fi + if [ "X${natd_enable}" = X"YES" -a X"${natd_interface}" != X"" \ + -a X"${firewall_enable}" = X"YES" ]; then + if echo ${natd_interface} | \ + grep -q -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'; then + natd_ifarg="-a ${natd_interface}" + else + natd_ifarg="-n ${natd_interface}" + fi + echo -n ' natd'; natd ${natd_flags} ${natd_ifarg} + fi echo '.' network_pass3_done=YES diff -urN 2.2.8-RELEASE/etc/rc.pccard 3.1-RELEASE/etc/rc.pccard --- 2.2.8-RELEASE/etc/rc.pccard Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.pccard Mon Feb 15 19:45:33 1999 @@ -3,10 +3,13 @@ # PC-card startup script # HOSOKAWA, Tatsumi # -# $Id: rc.pccard,v 1.1.4.3 1998/08/12 23:46:35 brian Exp $ +# $Id: rc.pccard,v 1.6.2.1 1999/02/05 09:42:27 markm Exp $ # if [ "X$pccard_enable" = X"YES" ] ; then + if kldload pcic; then + echo "Kernel pcic module loaded." + fi if [ "x$pccard_mem" != "xDEFAULT" ] ; then pccardc pccardmem $pccard_mem else diff -urN 2.2.8-RELEASE/etc/rc.serial 3.1-RELEASE/etc/rc.serial --- 2.2.8-RELEASE/etc/rc.serial Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rc.serial Mon Feb 15 19:45:33 1999 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc.serial,v 1.6.2.3 1998/03/13 22:01:26 danny Exp $ +# $Id: rc.serial,v 1.11 1998/03/13 22:03:03 danny Exp $ # Change some defaults for serial devices. # Standard defaults are: diff -urN 2.2.8-RELEASE/etc/rc.shutdown 3.1-RELEASE/etc/rc.shutdown --- 2.2.8-RELEASE/etc/rc.shutdown Thu Jan 1 09:00:00 1970 +++ 3.1-RELEASE/etc/rc.shutdown Mon Feb 15 19:45:33 1999 @@ -0,0 +1,26 @@ +#!/bin/sh +# $Id: rc.shutdown,v 1.1 1997/08/02 00:22:45 davidn Exp $ + +# site-specific closing actions for daemons run by init on shutdown +# or before going single-user from multi-user. +# Output and errors are directed to console by init, and the +# console is the controlling terminal. + +stty status '^T' + +# Set shell to ignore SIGINT (2), but not children; +# shell catches SIGQUIT (3) and returns to single user after fsck. +trap : 2 +trap : 3 # shouldn't be needed + +HOME=/; export HOME +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin +export PATH + +echo -n Shutting down daemon processes: + +# Insert shutdown procedures here + + +echo '.' +exit 0 diff -urN 2.2.8-RELEASE/etc/remote 3.1-RELEASE/etc/remote --- 2.2.8-RELEASE/etc/remote Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/remote Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: remote,v 1.6.6.3 1998/09/03 22:14:37 brian Exp $ +# $Id: remote,v 1.9 1998/09/02 01:34:56 brian Exp $ # # @(#)remote 5.2 (Berkeley) 6/30/90 # diff -urN 2.2.8-RELEASE/etc/rpc 3.1-RELEASE/etc/rpc --- 2.2.8-RELEASE/etc/rpc Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/rpc Mon Feb 15 19:45:33 1999 @@ -1,5 +1,5 @@ # -# $Id: rpc,v 1.3.2.3 1998/09/03 22:14:37 brian Exp $ +# $Id: rpc,v 1.6 1998/09/02 01:34:56 brian Exp $ # rpc 88/08/01 4.0 RPCSRC; from 1.12 88/02/07 SMI # portmapper 100000 portmap sunrpc diff -urN 2.2.8-RELEASE/etc/security 3.1-RELEASE/etc/security --- 2.2.8-RELEASE/etc/security Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/security Mon Feb 15 19:45:33 1999 @@ -1,7 +1,7 @@ #!/bin/sh - # # @(#)security 5.3 (Berkeley) 5/28/91 -# $Id: security,v 1.16.2.6 1998/07/08 22:44:08 alex Exp $ +# $Id: security,v 1.29 1999/01/10 11:18:59 danny Exp $ # PATH=/sbin:/bin:/usr/bin LC_ALL=C; export LC_ALL @@ -11,7 +11,7 @@ echo "" } -host=`hostname -s` +host=`hostname` echo "Subject: $host security check output" LOG=/var/log @@ -50,7 +50,11 @@ separator echo "checking for uids of 0:" -awk 'BEGIN {FS=":"} $3==0 {print $1,$3}' /etc/master.passwd +awk -F: '$3==0 {print $1,$3}' /etc/master.passwd + +separator +echo "checking for passwordless accounts:" +awk -F: '$2=="" {print $0}' /etc/master.passwd # show denied packets if ipfw -a l 2>/dev/null | egrep "deny|reset|unreach" > $TMP; then @@ -68,6 +72,18 @@ fi fi +# show ipfw rules which have reached the log limit +IPFW_LOG_LIMIT=`sysctl -n net.inet.ip.fw.verbose_limit 2> /dev/null` +if [ $? -eq 0 ] && [ $IPFW_LOG_LIMIT -ne 0 ]; then + ipfw -a l | grep " log " | perl -n -e \ + '/^\d+\s+(\d+)/; print if ($1 >= '$IPFW_LOG_LIMIT')' > $TMP + if [ -s $TMP ]; then + separator + echo "ipfw log limit reached:" + cat $TMP + fi +fi + # show kernel log messages if dmesg 2>/dev/null > $TMP; then if [ ! -f $LOG/dmesg.today ] ; then @@ -87,7 +103,7 @@ # show login failures separator echo "$host login failures:" -grep -i "login failures" $LOG/messages +grep -i "login failure" $LOG/messages # show tcp_wrapper warning messages separator diff -urN 2.2.8-RELEASE/etc/sendmail.cf 3.1-RELEASE/etc/sendmail.cf --- 2.2.8-RELEASE/etc/sendmail.cf Mon Nov 30 14:15:15 1998 +++ 3.1-RELEASE/etc/sendmail.cf Mon Feb 15 19:45:34 1999 @@ -1,35 +1,13 @@ # -# Copyright (c) 1983, 1995 Eric P. Allman +# Copyright (c) 1998 Sendmail, Inc. All rights reserved. +# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by the University of -# California, Berkeley and its contributors. -# 4. Neither the name of the University nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. +# By using this file, you agree to the terms and conditions set +# forth in the LICENSE file which can be found at the top level of +# the sendmail distribution. +# # ###################################################################### @@ -37,34 +15,48 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by root@time.cdrom.com on Mon Nov 30 04:52:54 GMT 1998 -##### in /usr/src/usr.sbin/sendmail/cf/cf -##### using ../ as configuration include directory +##### built by root@usw3.freebsd.org on Mon Feb 15 10:13:25 GMT 1999 +##### in /usr/src/etc/sendmail +##### using /usr/src/etc/sendmail/../../contrib/sendmail/cf/ as configuration include directory ##### ###################################################################### ###################################################################### -##### @(#)cfhead.m4 8.9 (Berkeley) 1/18/97 ##### -##### @(#)cf.m4 8.24 (Berkeley) 8/16/95 ##### -##### @(#)freebsd.mc $Revision: 1.1.4.4 $ ##### +##### @(#)cfhead.m4 8.23 (Berkeley) 10/6/1998 ##### +##### @(#)cf.m4 8.29 (Berkeley) 5/19/1998 ##### +##### @(#)freebsd.mc $Revision: 1.4 $ ##### + +##### @(#)bsd4.4.m4 8.10 (Berkeley) 10/6/1998 ##### + +##### @(#)generic.m4 8.9 (Berkeley) 5/19/1998 ##### + +##### @(#)redirect.m4 8.10 (Berkeley) 5/19/1998 ##### + +##### @(#)use_cw_file.m4 8.6 (Berkeley) 5/19/1998 ##### + -##### @(#)bsd4.4.m4 8.4 (Berkeley) 11/13/95 ##### +##### @(#)relay_based_on_MX.m4 8.7 (Berkeley) 5/19/1998 ##### -##### @(#)generic.m4 8.3 (Berkeley) 3/24/96 ##### +##### @(#)mailertable.m4 8.10 (Berkeley) 10/6/1998 ##### -##### @(#)redirect.m4 8.5 (Berkeley) 8/17/96 ##### +##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 ##### -##### @(#)use_cw_file.m4 8.1 (Berkeley) 6/7/93 ##### +##### @(#)blacklist_recipients.m4 8.9 (Berkeley) 5/19/1998 ##### +##### @(#)virtusertable.m4 8.8 (Berkeley) 10/6/1998 ##### -##### @(#)mailertable.m4 8.3 (Berkeley) 8/7/93 ##### +##### @(#)local_lmtp.m4 8.5 (Berkeley) 5/19/1998 ##### -##### @(#)proto.m4 8.151 (Berkeley) 7/31/97 ##### +##### @(#)proto.m4 8.237 (Berkeley) 12/17/1998 ##### -# level 7 config file format -V7/Berkeley +# level 8 config file format +V8/Berkeley + +# override file safeties - setting this option compromises system security +# need to set this now for the sake of class files +#O DontBlameSendmail=safe ################## # local info # @@ -72,7 +64,7 @@ Cwlocalhost # file containing names of hosts for which we receive email -Fw-o /etc/sendmail.cw +Fw-o /etc/mail/sendmail.cw # my official domain name # ... define this only if sendmail cannot automatically determine your domain @@ -81,20 +73,9 @@ CP. -# UUCP relay host -DYucbvax.Berkeley.EDU -CPUUCP - -# BITNET relay host -DBmailhost.Berkeley.EDU -CPBITNET - # "Smart" relay host (may be null) DS -# place to which unknown users should be forwarded -#Kuser user -m -a<> -#DLname_of_luser_relay # operators that cannot be in local usernames (i.e., network indicators) CO @ % ! @@ -106,16 +87,26 @@ C[[ # Mailer table (overriding domains) -Kmailertable hash -o /etc/mailertable +Kmailertable hash -o /etc/mail/mailertable + + -# Domain table (adding domains) -#Kdomaintable dbm /etc/domaintable -# Generics table (mapping outgoing addresses) -#Kgenerics dbm /etc/genericstable # Virtual user table (maps incoming users) -#Kvirtuser dbm /etc/virtusertable +Kvirtuser hash -o /etc/mail/virtusertable + +# Access list database (for spam stomping) +Kaccess hash -o /etc/mail/access' + +# MX map (to allow relaying to hosts that we MX for) +Kmxserved bestmx -z: -T + +# Resolve map (to check if a host exists in check_mail) +Kresolve host -a -T + +# Hosts that will permit relaying ($=R) +FR-o /etc/mail/relay-domains # who I send unqualified names to (null means deliver locally) DR @@ -142,7 +133,7 @@ CPREDIRECT # Configuration version number -DZ8.8.8 +DZ8.9.2 ############### @@ -214,7 +205,7 @@ O SendMimeErrors=True # Forward file search path -O ForwardPath=$z/.forward.$w:$z/.forward +O ForwardPath=$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward # open connection cache size O ConnectionCacheSize=2 @@ -300,7 +291,7 @@ #O TimeZoneSpec= # default UID (can be username or userid:groupid) -O DefaultUser=1:1 +#O DefaultUser=mailnull # list of locations of user database file (null means no lookup) #O UserDatabaseSpec=/etc/userdb @@ -354,7 +345,7 @@ #O DialDelay=10s # action to take if there are no recipients in the message -#O NoRecipientAction=add-to-undisclosed +O NoRecipientAction=add-to-undisclosed # chrooted environment for writing to files #O SafeFileEnvironment=/arch @@ -374,6 +365,15 @@ # UNIX initial From header format (old $l macro) O UnixFromLine=From $g $d +# From: lines that have embedded newlines are unwrapped onto one line +#O SingleLineFromHeader=False + +# Allow HELO SMTP command that does not include a host name +#O AllowBogusHELO=False + +# Characters to be quoted in a full name phrase (@,;:\()[] are automatic) +#O MustQuoteChars=. + # delimiter (operator) characters (old $o macro) O OperatorChars=.:%@!^/[]+ @@ -384,11 +384,24 @@ #O UnsafeGroupWrites # where do errors that occur when sending errors get sent? -#O DoubleBounceAddress +#O DoubleBounceAddress=postmaster # what user id do we assume for the majority of the processing? #O RunAsUser=sendmail +# maximum number of recipients per SMTP envelope +#O MaxRecipientsPerMessage=100 + +# shall we get local names from our installed interfaces? +#O DontProbeInterfaces + + + +# Maximum MIME header length to protect MUAs +O MaxMimeHeaderLength=256/128 + + + ########################### # Message precedences # ########################### @@ -514,12 +527,15 @@ R$* < @@ $=w > $* $: $1 < @ $j . > $3 self-literal R$* < @@ $+ > $* $@ $1 < @ $2 > $3 canon IP addr -# look up domains in the domain table -#R$* < @ $+ > $* $: $1 < @ $(domaintable $2 $) > $3 -# pass UUCP addresses straight through -R$* < @ $+ . UUCP > $* $@ $1 < @ $2 . UUCP . > $3 + + +# if really UUCP, handle it immediately + +# try UUCP traffic as a local address +R$* < @ $+ . UUCP > $* $: $1 < @ $[ $2 $] . UUCP . > $3 +R$* < @ $+ . . UUCP . > $* $@ $1 < @ $2 . > $3 # pass to name server to make hostname canonical R$* < @ $* $~P > $* $: $1 < @ $[ $2 $3 $] > $4 @@ -575,45 +591,62 @@ S0 R$* $: $>Parse0 $1 initial parsing +R<@> $#local $: <@> special case error msgs R$* $: $>98 $1 handle local hacks R$* $: $>Parse1 $1 final parsing +# +# Parse0 -- do initial syntax checking and eliminate local addresses. +# This should either return with the (possibly modified) input +# or return with a #error mailer. It should not return with a +# #mailer other than the #error mailer. +# + SParse0 -R<@> $#local $: <@> special case error msgs -R$* : $* ; <@> $#error $@ 5.1.3 $: "list:; syntax illegal for recipient addresses" -R<@ $+> $#error $@ 5.1.1 $: "user address required" +R<@> $@ <@> special case error msgs +R$* : $* ; <@> $#error $@ 5.1.3 $: "List:; syntax illegal for recipient addresses" +#R@ <@ $* > < @ $1 > catch "@@host" bogosity +R<@ $+> $#error $@ 5.1.3 $: "User address required" R$* $: <> $1 R<> $* < @ [ $+ ] > $* $1 < @ [ $2 ] > $3 -R<> $* <$* : $* > $* $#error $@ 5.1.1 $: "colon illegal in host name part" +R<> $* <$* : $* > $* $#error $@ 5.1.3 $: "Colon illegal in host name part" R<> $* $1 -R$* < @ . $* > $* $#error $@ 5.1.2 $: "invalid host name" -R$* < @ $* .. $* > $* $#error $@ 5.1.2 $: "invalid host name" - -# handle numeric address spec -R$* < @ [ $+ ] > $* $: $>98 $1 < @ [ $2 ] > $3 numeric internet spec -R$* < @ [ $+ ] > $* $#esmtp $@ [$2] $: $1 < @ [$2] > $3 still numeric: send +R$* < @ . $* > $* $#error $@ 5.1.2 $: "Invalid host name" +R$* < @ $* .. $* > $* $#error $@ 5.1.2 $: "Invalid host name" # now delete the local info -- note $=O to find characters that cause forwarding R$* < @ > $* $@ $>Parse0 $>3 $1 user@ => user R< @ $=w . > : $* $@ $>Parse0 $>3 $2 @here:... -> ... R$- < @ $=w . > $: $(dequote $1 $) < @ $2 . > dequote "foo"@here -R< @ $+ > $#error $@ 5.1.1 $: "user address required" +R< @ $+ > $#error $@ 5.1.3 $: "User address required" R$* $=O $* < @ $=w . > $@ $>Parse0 $>3 $1 $2 $3 ...@here -> ... +R$- $: $(dequote $1 $) < @ *LOCAL* > dequote "foo" +R< @ *LOCAL* > $#error $@ 5.1.3 $: "User address required" +R$* $=O $* < @ *LOCAL* > + $@ $>Parse0 $>3 $1 $2 $3 ...@*LOCAL* -> ... +R$* < @ *LOCAL* > $: $1 + +# +# Parse1 -- the bottom half of ruleset 0. +# SParse1 +# handle numeric address spec +R$* < @ [ $+ ] > $* $: $>98 $1 < @ [ $2 ] > $3 numeric internet spec +R$* < @ [ $+ ] > $* $#esmtp $@ [$2] $: $1 < @ [$2] > $3 still numeric: send + # handle virtual users -#R$+ < @ $=w . > $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . > -#R<@> $+ + $* < @ $* . > +R$+ < @ $=w . > $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . > +R<@> $+ + $* < @ $* . > $: < $(virtuser $1 + * @ $3 $@ $1 $: @ $) > $1 + $2 < @ $3 . > -#R<@> $+ + $* < @ $* . > +R<@> $+ + $* < @ $* . > $: < $(virtuser $1 @ $3 $@ $1 $: @ $) > $1 + $2 < @ $3 . > -#R<@> $+ < @ $+ . > $: < $(virtuser @ $2 $@ $1 $: @ $) > $1 < @ $2 . > -#R<@> $+ $: $1 -#R< error : $- $+ > $* $#error $@ $( dequote $1 $) $: $2 -#R< $+ > $+ < @ $+ > $: $>97 $1 +R<@> $+ < @ $+ . > $: < $(virtuser @ $2 $@ $1 $: @ $) > $1 < @ $2 . > +R<@> $+ $: $1 +R< error : $- $+ > $* $#error $@ $(dequote $1 $) $: $2 +R< $+ > $+ < @ $+ > $: $>97 $1 # short circuit local delivery so forwarded email works -#R$+ . USENET < @ $=w . > $#usenet $: $1 handle usenet specially R$=L < @ $=w . > $#local $: @ $1 special local names R$+ < @ $=w . > $#local $: $1 regular local name @@ -627,10 +660,7 @@ # resolve remotely connected UUCP links (if any) # resolve fake top level domains by forwarding to other hosts -R$*<@$+.BITNET.>$* $: $>95 < $B > $1 <@$2.BITNET.> $3 user@host.BITNET -# forward non-local UUCP traffic to our UUCP relay -R$*<@$*.UUCP.>$* $: $>95 < $Y > $1 <@$2.UUCP.> $3 uucp mail # pass names that still have a host to a smarthost (if defined) @@ -639,10 +669,6 @@ # deal with other remote names R$* < @$* > $* $#esmtp $@ $2 $: $1 < @ $2 > $3 user@host.domain -# if this is quoted, strip the quotes and try again -R$+ $: $(dequote $1 $) strip quotes -R$+ $=O $+ $@ $>97 $1 $2 $3 try again - # handle locally delivered names R$=L $#local $: @ $1 special local names R$+ $#local $: $1 regular local names @@ -660,19 +686,15 @@ # prepend an empty "forward host" on the front R$+ $: <> $1 -# send unrecognized local users to a relay host -#R< > $+ $: < $L . > $( user $1 $) look up user -#R< $* > $+ <> $* $: < > $2 $3 found; strip $L -#R< $* . > $+ $: < $1 > $2 strip extra dot # see if we have a relay or a hub R< > $+ $: < $H > $1 try hub R< > $+ $: < $R > $1 try relay -R< > $+ $: < > < $1 $(dequote "" $&h $) > nope, restore +detail +R< > $+ $: < > < $1 $&h > nope, restore +detail R< > < $+ + $* > $* < > < $1 > + $2 $3 find the user part R< > < $+ > + $* $#local $@ $2 $: @ $1 strip the extra + R< > < $+ > $@ $1 no +detail -R$+ $: $1 $(dequote "" $&h $) add +detail back in +R$+ $: $1 $&h add +detail back in R< local : $* > $* $: $>95 < local : $1 > $2 no host extension R< error : $* > $* $: $>95 < error : $1 > $2 no host extension R< $- : $+ > $+ $: $>95 < $1 : $2 > $3 < @ $2 > @@ -684,11 +706,11 @@ S90 R$* <$- . $+ > $* $: $1$2 < $(mailertable .$3 $@ $1$2 $@ $2 $) > $4 -R$* <$~[ : $+ > $* $>95 < $2 : $3 > $4 check -- resolved? -R$* < . $+ > $* $@ $>90 $1 . <$2> $3 no -- strip & try again +R$* <$~[ : $+ > $* $>95 < $2 : $3 > $4 check -- resolved? +R$* < . $+ > $* $@ $>90 $1 . <$2> $3 no -- strip & try again R$* < $* > $* $: < $(mailertable . $@ $1$2 $) > $3 try "." -R< $~[ : $+ > $* $>95 < $1 : $2 > $3 "." found? -R< $* > $* $@ $2 no mailertable match +R< $~[ : $+ > $* $>95 < $1 : $2 > $3 "." found? +R< $* > $* $@ $2 no mailertable match ################################################################### ### Ruleset 95 -- canonify mailer:[user@]host syntax to triple ### @@ -696,7 +718,7 @@ S95 R< > $* $@ $1 strip off null relay -R< error : $- $+ > $* $#error $@ $( dequote $1 $) $: $2 +R< error : $- $+ > $* $#error $@ $(dequote $1 $) $: $2 R< local : $* > $* $>CanonLocal < $1 > $2 R< $- : $+ @ $+ > $*<$*>$* $# $1 $@ $3 $: $2<@$3> use literal user R< $- : $+ > $* $# $1 $@ $2 $: $3 try qualified mailer @@ -728,14 +750,6 @@ S93 -# handle generics database -#R$+ < @ $=G . > $: < $1@$2 > $1 < @ $2 . > @ mark -#R$+ < @ *LOCAL* > $: < $1@$j > $1 < @ *LOCAL* > @ mark -#R< $+ > $+ < $* > @ $: < $(generics $1 $: $) > $2 < $3 > -#R< > $+ < @ $+ > $: < $(generics $1 $: $) > $1 < @ $2 > -#R< $* @ $* > $* < $* > $@ $>3 $1 @ $2 found qualified -#R< $+ > $* < $* > $: $>3 $1 @ *LOCAL* found unqualified -#R< > $* $: $1 not found # special case the users that should be exposed R$=E < @ *LOCAL* > $@ $1 < @ $j . > leave exposed @@ -754,7 +768,6 @@ ################################################################### S94 -#R$+ $@ $>93 $1 R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2 ################################################################### @@ -767,6 +780,268 @@ R$* < @ $+ .REDIRECT. > $: $1 < @ $2 . REDIRECT . > < ${opMode} > R$* < @ $+ .REDIRECT. > $: $1 < @ $2 . REDIRECT. > R$* < @ $+ .REDIRECT. > < $- > $# error $@ 5.1.1 $: "551 User has moved; please try " <$1@$2> + + +###################################################################### +### LookUpDomain -- search for domain in access database +### +### Parameters: +### <$1> -- key (domain name) +### <$2> -- default (what to return if not found in db) +### <$3> -- passthru (additional data passed unchanged through) +###################################################################### + +SLookUpDomain +R<$+> <$+> <$*> $: < $(access $1 $: ? $) > <$1> <$2> <$3> +R <$+.$+> <$+> <$*> $@ $>LookUpDomain <$2> <$3> <$4> +R <$+> <$+> <$*> $@ <$2> <$3> +R<$*> <$+> <$+> <$*> $@ <$1> <$4> + +###################################################################### +### LookUpAddress -- search for host address in access database +### +### Parameters: +### <$1> -- key (dot quadded host address) +### <$2> -- default (what to return if not found in db) +### <$3> -- passthru (additional data passed through) +###################################################################### + +SLookUpAddress +R<$+> <$+> <$*> $: < $(access $1 $: ? $) > <$1> <$2> <$3> +R <$+.$-> <$+> <$*> $@ $>LookUpAddress <$1> <$3> <$4> +R <$+> <$+> <$*> $@ <$2> <$3> +R<$*> <$+> <$+> <$*> $@ <$1> <$4> + +###################################################################### +### CanonAddr -- Convert an address into a standard form for +### relay checking. Route address syntax is +### crudely converted into a %-hack address. +### +### Parameters: +### $1 -- full recipient address +### +### Returns: +### parsed address, not in source route form +###################################################################### + +SCanonAddr +R$* $: $>Parse0 $>3 $1 make domain canonical +R< @ $+ > : $* @ $* < @ $1 > : $2 % $3 change @ to % in src route +R$* < @ $+ > : $* : $* $3 $1 < @ $2 > : $4 change to % hack. +R$* < @ $+ > : $* $3 $1 < @ $2 > + +###################################################################### +### ParseRecipient -- Strip off hosts in $=R as well as possibly +### $* $=m or the access database. +### Check user portion for host separators. +### +### Parameters: +### $1 -- full recipient address +### +### Returns: +### parsed, non-local-relaying address +###################################################################### + +SParseRecipient +R$* $: $>CanonAddr $1 +R $* < @ $* . > $1 < @ $2 > strip trailing dots +R $- < @ $* > $: $(dequote $1 $) < @ $2 > dequote local part + +# if no $=O character, no host in the user portion, we are done +R $* $=O $* < @ $* > $: $1 $2 $3 < @ $4> +R $* $@ $1 + + +R $* < @ $+ > $: < : $(mxserved $2 $) : > < $1 < @$2 > > +R < : $* : > $* $#error $@ 4.7.1 $: "450 Can not check MX records for recipient host " $1 +R < $* : $=w. : $* > < $+ > $: $4 +R < : $* : > < $+ > $: $2 + +R $* < @ $* $=R > $: $1 < @ $2 $3 > +R $* < @ $+ > $: $>LookUpDomain <$2> <$1 < @ $2 >> +R<$+> <$+> $: <$1> $2 + +R $* < @ $* > $@ $>ParseRecipient $1 +R<$-> $* $@ $2 + +###################################################################### +### check_relay -- check hostname/address on SMTP startup +###################################################################### + +SLocal_check_relay +Scheck_relay +R$* $: $1 $| $>"Local_check_relay" $1 +R$* $| $* $| $#$* $#$3 +R$* $| $* $| $* $@ $>"Basic_check_relay" $1 $| $2 + +SBasic_check_relay +# check for deferred delivery mode +R$* $: < ${deliveryMode} > $1 +R< d > $* $@ deferred +R< $* > $* $: $2 + +R$+ $| $+ $: $>LookUpDomain < $1 > < $2 > +R < $+ > $: $>LookUpAddress < $1 > < $1 > +R < $+ > $: $1 +R < $* > $@ OK +R < $* > $@ RELAY +R $* $#error $@ 5.7.1 $: "550 Access denied" +R $* $#discard $: discard +R<$+> $* $#error $@ 5.7.1 $: $1 + + +###################################################################### +### check_mail -- check SMTP `MAIL FROM:' command argument +###################################################################### + +SLocal_check_mail +Scheck_mail +R$* $: $1 $| $>"Local_check_mail" $1 +R$* $| $#$* $#$2 +R$* $| $* $@ $>"Basic_check_mail" $1 + +SBasic_check_mail +# check for deferred delivery mode +R$* $: < ${deliveryMode} > $1 +R< d > $* $@ deferred +R< $* > $* $: $2 + +R<> $@ +R$* $: $>CanonAddr $1 +R $* < @ $+ . > $1 < @ $2 > strip trailing dots +# handle non-DNS hostnames (*.bitnet, *.decnet, *.uucp, etc) +R $* < $* $=P > $* $: $1 < @ $2 $3 > $4 +R $* < @ $+ > $* $: $) > $1 < @ $2 > $3 +R> $* < @ $+ > $* + $: <$2> $3 < @ $4 > $5 + +# handle case of @localhost on address +R<$+> $* < @localhost > $: < ? $&{client_name} > <$1> $2 < @localhost > +R<$+> $* < @localhost.$m > + $: < ? $&{client_name} > <$1> $2 < @localhost.$m > +R<$+> $* < @localhost.UUCP > + $: < ? $&{client_name} > <$1> $2 < @localhost.UUCP > +R <$+> $* <$2> $3 +R <$+> $* $#error $@ 5.5.4 $: "553 Real domain name required" +R <$+> $* $: <$1> $2 + +# lookup localpart (user@) +R<$+> $* < @ $+ > $* $: <$1> $2 < @ $3 > $4 +# no match, try full address (user@domain rest) +R <$+> $* < @ $* > $* + $: <$1> $2 < @ $3 > $4 +# no match, try address (user@domain) +R <$+> $+ < @ $+ > $* + $: <$1> $2 < @ $3 > $4 +# no match, try (sub)domain (domain) +R <$+> $* < @ $+ > $* + $: $>LookUpDomain <$3> <$1> <> +# check unqualified user in access database +R $* $: $1 +# retransform for further use +R <$+> $* $: <$1> $3 + +# handle case of no @domain on address +R $* $: < ? $&{client_name} > $1 +R $* $@ ...local unqualed ok +R $* $#error $@ 5.5.4 $: "553 Domain name required" + ...remote is not +# check results +R $* $@ +R $* $@ +R $* $#error $@ 4.1.8 $: "451 Sender domain must resolve" +R $* $#error $@ 5.1.8 $: "501 Sender domain must exist" +R $* $@ +R $* $#discard $: discard +R $* $#error $@ 5.7.1 $: "550 Access denied" +R<$+> $* $#error $@ 5.7.1 $: $1 error from access db + +###################################################################### +### check_rcpt -- check SMTP `RCPT TO:' command argument +###################################################################### + +SLocal_check_rcpt +Scheck_rcpt +R$* $: $1 $| $>"Local_check_rcpt" $1 +R$* $| $#$* $#$2 +R$* $| $* $@ $>"Basic_check_rcpt" $1 + +SBasic_check_rcpt +# check for deferred delivery mode +R$* $: < ${deliveryMode} > $1 +R< d > $* $@ deferred +R< $* > $* $: $2 + +R$* $: $>ParseRecipient $1 strip relayable hosts + + + +# blacklist local users or any host from receiving mail +R$* $: $1 +R $+ < @ $=w > $: <> <$1 < @ $2 >> +R $+ < @ $* > $: <> <$1 < @ $2 >> +R $+ $: <> <$1> +R<> $* $: <$(access $1 $: $)> $2 +R<> $* $: <$(access $1 $: $)> $2 +R $* $: <$(access $1 $: $)> $2 +R<> $* $: <$(access $1 $: $)> $2 +R $* $: <$(access $1 $: $)> $2 +R<> <$*> $: $1 +R <$*> $: $1 +R <$*> $: $1 +R $* $#error $@ 5.2.1 $: "550 Mailbox disabled for this recipient" +R<$+> $* $#error $@ 5.2.1 $: $1 error from access db + +# anything terminating locally is ok +R$+ < @ $=w > $@ OK +R$+ < @ $* $=R > $@ OK +R$+ < @ $* > $: $>LookUpDomain <$2> <$1 < @ $2 >> +R $* $@ RELAY +R<$*> <$*> $: $2 + +# allow relaying for hosts which we MX serve +R$+ < @ $* > $: < : $(mxserved $2 $) : > $1 < @ $2 > +R< : $* : > $* $#error $@ 4.7.1 $: "450 Can not check MX records for recipient host " $1 +R<$* : $=w . : $*> $* $@ OK +R< : $* : > $* $: $2 + +# check for local user (i.e. unqualified address) +R$* $: $1 +R $* < @ $+ > $: $1 < @ $2 > +# local user is ok +R $+ $@ OK +R<$+> $* $: $2 + +# anything originating locally is ok +R$* $: $&{client_name} +# check if bracketed IP address (forward lookup != reverse lookup) +R [$+] $: [$1] +# pass to name server to make hostname canonical +R $* $~P $: $[ $1 $2 $] +R<$-> $* $: $2 +R$* . $1 strip trailing dots +R$@ $@ OK +R$=w $@ OK +R$* $=R $@ OK +R$* $: $>LookUpDomain <$1> <$1> +R $* $@ RELAY +R<$*> <$*> $: $2 + +# check IP address +R$* $: $&{client_addr} +R$@ $@ OK originated locally +R0 $@ OK originated locally +R$=R $* $@ OK relayable IP address +R$* $: $>LookUpAddress <$1> <$1> +R $* $@ RELAY relayable IP address +R<$*> <$*> $: $2 +R$* $: [ $1 ] put brackets around it... +R$=w $@ OK ... and see if it is local + + +# anything else is bogus +R$* $#error $@ 5.7.1 $: "550 Relaying denied" + # ###################################################################### ###################################################################### @@ -781,11 +1056,11 @@ ### Local and Program Mailer specification ### ################################################## -##### @(#)local.m4 8.23 (Berkeley) 5/31/96 ##### +##### @(#)local.m4 8.30 (Berkeley) 6/30/1998 ##### -Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qrmn9, S=10/30, R=20/40, +Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qSXfmnz9P, S=10/30, R=20/40, T=DNS/RFC822/X-Unix, - A=mail $u + A=mail.local -l Mprog, P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/, T=X-Unix, A=sh -c $u @@ -795,6 +1070,7 @@ # S10 R<@> $n errors to mailer-daemon +R@ <@ $*> $n temporarily bypass Sun bogosity R$+ $: $>50 $1 add local domain if needed R$* $: $>94 $1 do masquerading @@ -809,6 +1085,7 @@ # S30 R<@> $n errors to mailer-daemon +R@ <@ $*> $n temporarily bypass Sun bogosity R$+ $: $>50 $1 add local domain if needed R$* $: $>93 $1 do masquerading @@ -817,20 +1094,17 @@ # S40 R$+ $: $>50 $1 add local domain if needed -#R$* $: $>93 $1 do all-masquerading # # Common code to add local domain name (only if always-add-domain) # S50 -#R$* < @ $* > $* $@ $1 < @ $2 > $3 already fully qualified -#R$+ $@ $1 < @ *LOCAL* > add local qualification ##################################### ### SMTP Mailer specification ### ##################################### -##### @(#)smtp.m4 8.33 (Berkeley) 7/9/96 ##### +##### @(#)smtp.m4 8.38 (Berkeley) 5/19/1998 ##### Msmtp, P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990, T=DNS/RFC822/SMTP, diff -urN 2.2.8-RELEASE/etc/services 3.1-RELEASE/etc/services --- 2.2.8-RELEASE/etc/services Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/services Mon Feb 15 19:45:33 1999 @@ -6,10 +6,17 @@ # even if the protocol doesn't support UDP operations. # Updated from RFC 1700, ``Assigned Numbers'' (October 1994). All ports # are included. +# +# The lastest IANA port assignments can be gotten from +# http://www.isi.edu/in-notes/iana/assignments/port-numbers +# The Well Known Ports are those from 0 through 1023. +# The Registered Ports are those from 1024 through 49151 +# The Dynamic and/or Private Ports are those from 49152 through 65535 +# # Kerberos services are for Kerberos v4, and are unofficial. Sites running # v5 should uncomment v5 entries and comment v4 entries. # -# $Id: services,v 1.27.2.23 1998/09/05 20:43:28 obrien Exp $ +# $Id: services,v 1.55 1998/09/16 15:42:32 des Exp $ # From: @(#)services 5.8 (Berkeley) 5/9/91 # # WELL KNOWN PORT NUMBERS @@ -84,8 +91,8 @@ ni-ftp 47/udp #NI FTP auditd 48/tcp #Digital Audit Daemon auditd 48/udp #Digital Audit Daemon -#login 49/tcp #Login Host Protocol -#login 49/udp #Login Host Protocol +tacacs 49/tcp #Login Host Protocol (TACACS) +tacacs 49/udp #Login Host Protocol (TACACS) re-mail-ck 50/tcp #Remote Mail Checking Protocol re-mail-ck 50/udp #Remote Mail Checking Protocol la-maint 51/tcp #IMP Logical Address Maintenance @@ -169,8 +176,8 @@ # 87/tcp any private terminal link #PROBLEMS!=========================================================== # 87/udp any private terminal link -kerberos-sec 88/tcp # krb5 # Kerberos (v5) -kerberos-sec 88/udp # krb5 # Kerberos (v5) +kerberos-sec 88/tcp kerberos # krb5 # Kerberos (v5) +kerberos-sec 88/udp kerberos # krb5 # Kerberos (v5) su-mit-tg 89/tcp #SU/MIT Telnet Gateway su-mit-tg 89/udp #SU/MIT Telnet Gateway dnsix 90/tcp #DNSIX Securit Attribute Token Map @@ -202,8 +209,8 @@ gppitnp 103/udp #Genesis Point-to-Point Trans Net acr-nema 104/tcp #ACR-NEMA Digital Imag. & Comm. 300 acr-nema 104/udp #ACR-NEMA Digital Imag. & Comm. 300 -csnet-ns 105/tcp cso-ns #Mailbox Name Nameserver -csnet-ns 105/udp cso-ns #Mailbox Name Nameserver +csnet-ns 105/tcp cso-ns cso #Mailbox Name Nameserver +csnet-ns 105/udp cso-ns cso #Mailbox Name Nameserver pop3pw 106/tcp 3com-tsmux #Eudora compatible PW changer 3com-tsmux 106/udp rtelnet 107/tcp #Remote Telnet Service @@ -262,8 +269,8 @@ statsrv 133/udp #Statistics Service ingres-net 134/tcp #INGRES-NET Service ingres-net 134/udp #INGRES-NET Service -loc-srv 135/tcp #Location Service -loc-srv 135/udp #Location Service +loc-srv 135/tcp epmap #Location Service +loc-srv 135/udp epmap #Location Service profile 136/tcp #PROFILE Naming System profile 136/udp #PROFILE Naming System netbios-ns 137/tcp #NETBIOS Name Service @@ -282,14 +289,18 @@ imap 143/udp imap2 imap4 #Interim Mail Access Protocol v2 NeWS 144/tcp # Window System NeWS 144/udp # Window System +#PROBLEMS!============================================================== +#uma 144/tcp #Universal Management Architecture +#uma 144/udp #Universal Management Architecture +#PROBLEMS!============================================================== uaac 145/tcp #UAAC Protocol uaac 145/udp #UAAC Protocol iso-tp0 146/tcp iso-tp0 146/udp iso-ip 147/tcp iso-ip 147/udp -cronus 148/tcp #CRONUS-SUPPORT -cronus 148/udp #CRONUS-SUPPORT +cronus 148/tcp jargon #CRONUS-SUPPORT +cronus 148/udp jargon #CRONUS-SUPPORT aed-512 149/tcp #AED 512 Emulation Service aed-512 149/udp #AED 512 Emulation Service sql-net 150/tcp @@ -348,7 +359,7 @@ genrad-mux 176/udp xdmcp 177/tcp #X Display Manager Control Protocol xdmcp 177/udp #X Display Manager Control Protocol -nextstep 178/tcp NextStep NeXTStep #NextStep Window Server +NextStep 178/tcp nextstep NeXTStep #NextStep Window Server NextStep 178/udp nextstep NeXTStep #NextStep Window Server bgp 179/tcp #Border Gateway Protocol bgp 179/udp #Border Gateway Protocol @@ -373,7 +384,7 @@ qft 189/tcp #Queued File Transport qft 189/udp #Queued File Transport gacp 190/tcp #Gateway Access Control Protocol -cacp 190/udp #Gateway Access Control Protocol +gacp 190/udp cacp #Gateway Access Control Protocol prospero 191/tcp #Prospero Directory Service prospero 191/udp #Prospero Directory Service osu-nms 192/tcp #OSU Network Monitoring System @@ -410,8 +421,12 @@ at-7 207/udp #AppleTalk Unused at-8 208/tcp #AppleTalk Unused at-8 208/udp #AppleTalk Unused -tam 209/tcp #Trivial Authenticated Mail Protocol -tam 209/udp #Trivial Authenticated Mail Protocol +qmtp 209/tcp #The Quick Mail Transfer Protocol +qmtp 209/udp #The Quick Mail Transfer Protocol +#PROBLEMS!============================================================== +#tam 209/tcp #Trivial Authenticated Mail Protocol +#tam 209/udp #Trivial Authenticated Mail Protocol +#PROBLEMS!============================================================== z39.50 210/tcp wais #ANSI Z39.50 z39.50 210/udp wais #ANSI Z39.50 914c/g 211/tcp #Texas Instruments 914C/G Terminal @@ -424,8 +439,8 @@ vmpwscs 214/udp softpc 215/tcp #Insignia Solutions softpc 215/udp #Insignia Solutions -atls 216/tcp #Access Technology License Server -atls 216/udp #Access Technology License Server +CAIlic 216/tcp atls #Computer Associates Int'l License Server +CAIlic 216/udp atls #Computer Associates Int'l License Server dbase 217/tcp #dBASE Unix dbase 217/udp #dBASE Unix mpp 218/tcp #Netix Message Posting Protocol @@ -440,12 +455,72 @@ rsh-spx 222/udp #Berkeley rshd with SPX auth cdc 223/tcp #Certificate Distribution Center cdc 223/udp #Certificate Distribution Center +direct 242/tcp +direct 242/udp sur-meas 243/tcp #Survey Measurement sur-meas 243/udp #Survey Measurement +dayna 244/tcp +dayna 244/udp link 245/tcp link 245/udp dsp3270 246/tcp #Display Systems Protocol dsp3270 246/udp #Display Systems Protocol + +subntbcst_tftp 247/tcp #subntbcst_tftp +subntbcst_tftp 247/udp #subntbcst_tftp +bhfhs 248/tcp +bhfhs 248/udp +# 249-255 reserved +rap 256/tcp +rap 256/udp +set 257/tcp #secure electronic transaction +set 257/udp #secure electronic transaction +yak-chat 258/tcp #yak winsock personal chat +yak-chat 258/udp #yak winsock personal chat +esro-gen 259/tcp #efficient short remote operations +esro-gen 259/udp #efficient short remote operations +openport 260/tcp +openport 260/udp +nsiiops 261/tcp #iiop name service over tls/ssl +nsiiops 261/udp #iiop name service over tls/ssl +arcisdms 262/tcp +arcisdms 262/udp +hdap 263/tcp +hdap 263/udp +bgmp 264/tcp +bgmp 264/udp +# 265-279 unassigned +http-mgmt 280/tcp +http-mgmt 280/udp +personal-link 281/tcp +personal-link 281/udp +cableport-ax 282/tcp #cable port a/x +cableport-ax 282/udp #cable port a/x +# 283-307 unassigned +novastorbakcup 308/tcp #novastor backup +novastorbakcup 308/udp #novastor backup +entrusttime 309/tcp +entrusttime 309/udp +bhmds 310/tcp +bhmds 310/udp +asip-webadmin 311/tcp #appleshare ip webadmin +asip-webadmin 311/udp #appleshare ip webadmin +vslmp 312/tcp +vslmp 312/udp +magenta-logic 313/tcp +magenta-logic 313/udp +opalis-robot 314/tcp +opalis-robot 314/udp +dpsi 315/tcp +dpsi 315/udp +decauth 316/tcp +decauth 316/udp +zannet 317/tcp +zannet 317/udp +# 318-320 #unassigned +pip 321/tcp +pip 321/udp +# 322-343 #unassigned pdap 344/tcp #Prospero Data Access Protocol pdap 344/udp #Prospero Data Access Protocol pawserv 345/tcp #Perf Analysis Workbench @@ -456,14 +531,64 @@ fatserv 347/udp #Fatmen Server csi-sgwp 348/tcp #Cabletron Management Protocol csi-sgwp 348/udp #Cabletron Management Protocol + + +mftp 349/tcp +mftp 349/udp +matip-type-a 350/tcp #MATIP Type A +matip-type-a 350/udp +matip-type-b 351/tcp #MATIP Type B +matip-type-b 351/udp +bhoetty 351/tcp #unassigned but widespread use +bhoetty 351/udp #unassigned but widespread use +dtag-ste-sb 352/tcp #DTAG +dtag-ste-sb 352/udp #DTAG +bhoedap4 352/tcp #unassigned but widespread use +bhoedap4 352/udp #unassigned but widespread use +ndsauth 353/tcp +ndsauth 353/udp +bh611 354/tcp +bh611 354/udp +datex-asn 355/tcp +datex-asn 355/udp +cloanto-net-1 356/tcp #Cloanto Net 1 +cloanto-net-1 356/udp +bhevent 357/tcp +bhevent 357/udp +shrinkwrap 358/tcp +shrinkwrap 358/udp +tenebris_nts 359/tcp #Tenebris Network Trace Service +tenebris_nts 359/udp #Tenebris Network Trace Service +scoi2odialog 360/tcp +scoi2odialog 360/udp +semantix 361/tcp +semantix 361/udp +srssend 362/tcp #SRS Send +srssend 362/udp #SRS Send +rsvp_tunnel 363/tcp +rsvp_tunnel 363/udp +aurora-cmgr 364/tcp +aurora-cmgr 364/udp +dtk 365/tcp #Deception Tool Kit - Fred Cohen +dtk 365/udp #Deception Tool Kit - Fred Cohen +odmr 366/tcp +odmr 366/udp +mortgageware 367/tcp +mortgageware 367/udp +qbikgdp 368/tcp #QbikGDP +qbikgdp 368/udp +rpc2portmap 369/tcp +rpc2portmap 369/udp +codaauth2 370/tcp +codaauth2 370/udp clearcase 371/tcp clearcase 371/udp -ulistserv 372/tcp #Unix Listserv -ulistserv 372/udp #Unix Listserv -legent-1 373/tcp #Legent Corporation -legent-1 373/udp #Legent Corporation -legent-2 374/tcp #Legent Corporation -legent-2 374/udp #Legent Corporation +ulistserv 372/tcp ulistproc #Unix Listserv +ulistserv 372/udp ulistproc #Unix Listserv +legent-1 373/tcp #Legent Corporation (now Computer Associates Intl.) +legent-1 373/udp #Legent Corporation (now Computer Associates Intl.) +legent-2 374/tcp #Legent Corporation (now Computer Associates Intl.) +legent-2 374/udp #Legent Corporation (now Computer Associates Intl.) hassle 375/tcp hassle 375/udp nip 376/tcp #Amiga Envoy Network Inquiry Proto @@ -611,8 +736,8 @@ ddm-rdb 446/udp ddm-dfm 447/tcp ddm-dfm 447/udp -ddm-byte 448/tcp -ddm-byte 448/udp +ddm-ssl 448/tcp ddm-byte +ddm-ssl 448/udp ddm-byte as-servermap 449/tcp #AS Server Mapper as-servermap 449/udp #AS Server Mapper tserver 450/tcp @@ -643,8 +768,108 @@ datasurfsrvsec 462/udp alpes 463/tcp alpes 463/udp +# +kpasswd5 464/tcp # Kerberos (v5) +kpasswd5 464/udp # Kerberos (v5) +#PROBLEMS!============================================================== +# IANA has offically assigned these two ports as ``kpasswd'' #kpasswd 464/tcp # Kerberos (v5) #kpasswd 464/udp # Kerberos (v5) +#PROBLEMS!============================================================== +smtps 465/tcp #smtp protocol over TLS/SSL (was ssmtp) +smtps 465/udp #smtp protocol over TLS/SSL (was ssmtp) +digital-vrc 466/tcp +digital-vrc 466/udp +mylex-mapd 467/tcp +mylex-mapd 467/udp +photuris 468/tcp +photuris 468/udp +rcp 469/tcp #Radio Control Protocol +rcp 469/udp #Radio Control Protocol +scx-proxy 470/tcp +scx-proxy 470/udp +mondex 471/tcp +mondex 471/udp +ljk-login 472/tcp +ljk-login 472/udp +hybrid-pop 473/tcp +hybrid-pop 473/udp +tn-tl-w1 474/tcp +tn-tl-w2 474/udp +tcpnethaspsrv 475/tcp +tcpnethaspsrv 475/udp +tn-tl-fd1 476/tcp +tn-tl-fd1 476/udp +ss7ns 477/tcp +ss7ns 477/udp +spsc 478/tcp +spsc 478/udp +iafserver 479/tcp +iafserver 479/udp +iafdbase 480/tcp +iafdbase 480/udp +ph 481/tcp +ph 481/udp +bgs-nsi 482/tcp +bgs-nsi 482/udp +ulpnet 483/tcp +ulpnet 483/udp +integra-sme 484/tcp #Integra Software Management Environment +integra-sme 484/udp #Integra Software Management Environment +powerburst 485/tcp #Air Soft Power Burst +powerburst 485/udp #Air Soft Power Burst +avian 486/tcp +avian 486/udp +saft 487/tcp #saft Simple Asynchronous File Transfer +saft 487/udp #saft Simple Asynchronous File Transfer +gss-http 488/tcp +gss-http 488/udp +nest-protocol 489/tcp +nest-protocol 489/udp +micom-pfs 490/tcp +micom-pfs 490/udp +go-login 491/tcp +go-login 491/udp +ticf-1 492/tcp #Transport Independent Convergence for FNA +ticf-1 492/udp #Transport Independent Convergence for FNA +ticf-2 493/tcp #Transport Independent Convergence for FNA +ticf-2 493/udp #Transport Independent Convergence for FNA +pov-ray 494/tcp +pov-ray 494/udp +intecourier 495/tcp +intecourier 495/udp +pim-rp-disc 496/tcp +pim-rp-disc 496/udp +dantz 497/tcp +dantz 497/udp +siam 498/tcp +siam 498/udp +iso-ill 499/tcp #ISO ILL Protocol +iso-ill 499/udp #ISO ILL Protocol +isakmp 500/tcp +isakmp 500/udp +stmf 501/tcp +stmf 501/udp +asa-appl-proto 502/tcp +asa-appl-proto 502/udp +intrinsa 503/tcp +intrinsa 503/udp +citadel 504/tcp +citadel 504/udp +mailbox-lm 505/tcp +mailbox-lm 505/udp +ohimsrv 506/tcp +ohimsrv 506/udp +crs 507/tcp +crs 507/udp +xvttp 508/tcp +xvttp 508/udp +snare 509/tcp +snare 509/udp +fcp 510/tcp #FirstClass Protocol +fcp 510/udp #FirstClass Protocol +passgo 511/tcp +passgo 511/udp # # Berkeley-specific services # @@ -664,12 +889,14 @@ # logged in to machines on a local # net and the load average of the # machine -cmd 514/tcp shell #like exec, but automatic +shell 514/tcp cmd #like exec, but automatic # authentication is performed as for # login server syslog 514/udp printer 515/tcp spooler printer 515/udp spooler +videotex 516/tcp +videotex 516/udp talk 517/tcp #like tenex link, but across # machine - unfortunately, doesn't # use link protocol (this is actually @@ -688,10 +915,24 @@ router 520/udp route routed #local routing process (on site); # uses variant of Xerox NS routing # information protocol +ripng 521/tcp +ripng 521/udp +ulp 522/tcp +ulp 522/udp +ibm-db2 523/tcp +ibm-db2 523/udp +ncp 524/tcp +ncp 524/udp timed 525/tcp timeserver timed 525/udp timeserver tempo 526/tcp newdate tempo 526/udp newdate +stx 527/tcp #Stock IXChange +stx 527/udp #Stock IXChange +custix 528/tcp #Customer IXChange +custix 528/udp #Customer IXChange +irc-serv 529/tcp +irc-serv 529/udp courier 530/tcp rpc courier 530/udp rpc conference 531/tcp chat @@ -700,18 +941,38 @@ netnews 532/udp readnews netwall 533/tcp #for emergency broadcasts netwall 533/udp #for emergency broadcasts +mm-admin 534/tcp #MegaMedia Admin +mm-admin 534/udp #MegaMedia Admin +iiop 535/tcp +iiop 535/udp +opalis-rdv 536/tcp +opalis-rdv 536/udp +nmsp 537/tcp #Networked Media Streaming Protocol +nmsp 537/udp #Networked Media Streaming Protocol +gdomap 538/tcp +gdomap 538/udp apertus-ldp 539/tcp #Apertus Technologies Load Determination apertus-ldp 539/udp #Apertus Technologies Load Determination uucp 540/tcp uucpd uucp 540/udp uucpd uucp-rlogin 541/tcp uucp-rlogin 541/udp +commerce 542/tcp +commerce 542/udp klogin 543/tcp # Kerberos (v4/v5) klogin 543/udp # Kerberos (v4/v5) kshell 544/tcp krcmd # Kerberos (v4/v5) kshell 544/udp krcmd # Kerberos (v4/v5) appleqtcsrvr 545/tcp appleqtcsrvr 545/udp +dhcpv6-client 546/tcp #DHCPv6 Client +dhcpv6-client 546/udp #DHCPv6 Client +dhcpv6-server 547/tcp #DHCPv6 Server +dhcpv6-server 547/udp #DHCPv6 Server +afpovertcp 548/tcp #AFP over TCP +afpovertcp 548/udp #AFP over TCP +idfp 549/tcp +idfp 549/udp new-rwho 550/tcp new-who new-rwho 550/udp new-who cybercash 551/tcp @@ -720,6 +981,8 @@ deviceshare 552/udp pirp 553/tcp pirp 553/udp +rtsp 554/tcp #Real Time Stream Control Protocol +rtsp 554/udp #Real Time Stream Control Protocol dsf 555/tcp dsf 555/udp remotefs 556/tcp rfs rfs_server # Brunhoff remote filesystem @@ -736,16 +999,82 @@ monitor 561/udp chshell 562/tcp chcmd chshell 562/udp chcmd -snews 563/tcp -snews 563/udp +nntps 563/tcp snntp #nntp protocol over TLS/SSL +nntps 563/udp snntp #nntp protocol over TLS/SSL 9pfs 564/tcp #plan 9 file service 9pfs 564/udp #plan 9 file service whoami 565/tcp whoami 565/udp +streettalk 566/tcp +banyan-rpc 567/tcp +banyan-rpc 567/udp +ms-shuttle 568/tcp #Microsoft shuttle +ms-shuttle 568/udp #Microsoft shuttle +ms-rome 569/tcp #Microsoft rome +ms-rome 569/udp #Microsoft rome meter 570/tcp #demon meter 570/udp #demon umeter 571/tcp #udemon umeter 571/udp #udemon + + + +sonar 572/tcp +sonar 572/udp +banyan-vip 573/tcp +banyan-vip 573/udp +ftp-agent 574/tcp #FTP Software Agent System +ftp-agent 574/udp #FTP Software Agent System +vemmi 575/tcp +vemmi 575/udp +ipcd 576/tcp +ipcd 576/udp +vnas 577/tcp +vnas 577/udp +ipdd 578/tcp +ipdd 578/udp +decbsrv 579/tcp +decbsrv 579/udp +sntp-heartbeat 580/tcp +sntp-heartbeat 580/udp +bdp 581/tcp #Bundle Discovery Protocol +bdp 581/udp #Bundle Discovery Protocol +scc-security 582/tcp +scc-security 582/udp +philips-vc 583/tcp #Philips Video-Conferencing +philips-vc 583/udp #Philips Video-Conferencing +keyserver 584/tcp +keyserver 584/udp +imap4-ssl 585/tcp #IMAP4+SSL (use of 585 is not recommended, +imap4-ssl 585/udp # use 993 instead) +password-chg 586/tcp +password-chg 586/udp +submission 587/tcp +submission 587/udp +cal 588/tcp +cal 588/udp +eyelink 589/tcp +eyelink 589/udp +tns-cml 590/tcp +tns-cml 590/udp +http-alt 591/tcp #FileMaker, Inc. - HTTP Alternate (see Port 80) +http-alt 591/udp #FileMaker, Inc. - HTTP Alternate (see Port 80) +eudora-set 592/tcp +eudora-set 592/udp +http-rpc-epmap 593/tcp #HTTP RPC Ep Map +http-rpc-epmap 593/udp #HTTP RPC Ep Map +tpip 594/tcp +tpip 594/udp +cab-protocol 595/tcp +cab-protocol 595/udp +smsd 596/tcp +smsd 596/udp +ptcnameservice 597/tcp #PTC Name Service +ptcnameservice 597/udp #PTC Name Service +sco-websrvrmg3 598/tcp #SCO Web Server Manager 3 +sco-websrvrmg3 598/udp #SCO Web Server Manager 3 +acp 599/tcp #Aeolon Core Protocol +acp 599/udp #Aeolon Core Protocol ipcserver 600/tcp #Sun IPC server ipcserver 600/udp #Sun IPC server nqs 607/tcp @@ -1520,6 +1849,14 @@ pehelp 2307/udp cvspserver 2401/tcp #CVS network server cvspserver 2401/udp #CVS network server +venus 2430/tcp #venus +venus 2430/udp #venus +venus-se 2431/tcp #venus-se +venus-se 2431/udp #venus-se +codasrv 2432/tcp #codasrv +codasrv 2432/udp #codasrv +codasrv-se 2433/tcp #codasrv-se +codasrv-se 2433/udp #codasrv-se rtsserv 2500/tcp #Resource Tracking system server rtsserv 2500/udp #Resource Tracking system server rtsclient 2501/tcp #Resource Tracking system client @@ -1531,7 +1868,7 @@ ripngd 2603/tcp #RIPngd vty ospfd 2604/tcp #OSPFd vty bgpd 2605/tcp #BGPd vty -listen 2766/tcp # System V listener port +listen 2766/tcp #System V listener port www-dev 2784/tcp #world wide web - development www-dev 2784/udp #world wide web - development NSWS 3049/tcp @@ -1620,6 +1957,8 @@ hacl-local 5304/udp hacl-test 5305/tcp hacl-test 5305/udp +cfengine 5308/tcp +cfengine 5308/udp rplay 5555/udp canna 5680/tcp #Canna (Japanese Input) proshareaudio 5713/tcp #proshare conf audio @@ -1686,7 +2025,8 @@ fodms 7200/udp #FODMS FLIP dlip 7201/tcp dlip 7201/udp -natd 8668/divert #Network Address Translation +natd 8668/divert # Network Address Translation +jetdirect 9100/tcp #HP JetDirect card man 9535/tcp man 9535/udp sd 9876/tcp #Session Director diff -urN 2.2.8-RELEASE/etc/shells 3.1-RELEASE/etc/shells --- 2.2.8-RELEASE/etc/shells Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/shells Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: shells,v 1.1.10.1 1998/09/03 22:14:37 brian Exp $ +# $Id: shells,v 1.2 1998/09/02 01:34:56 brian Exp $ # # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using Binary files 2.2.8-RELEASE/etc/spwd.db and 3.1-RELEASE/etc/spwd.db differ diff -urN 2.2.8-RELEASE/etc/syslog.conf 3.1-RELEASE/etc/syslog.conf --- 2.2.8-RELEASE/etc/syslog.conf Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/syslog.conf Mon Feb 15 19:45:33 1999 @@ -1,4 +1,4 @@ -# $Id: syslog.conf,v 1.4.2.5 1998/10/14 22:02:58 nate Exp $ +# $Id: syslog.conf,v 1.9 1998/10/14 21:59:55 nate Exp $ # # Spaces are NOT valid field separators in this file. # Consult the syslog.conf(5) manpage. diff -urN 2.2.8-RELEASE/etc/ttys 3.1-RELEASE/etc/ttys --- 2.2.8-RELEASE/etc/ttys Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/ttys Mon Feb 15 19:45:33 1999 @@ -1,8 +1,30 @@ # -# $Id: ttys,v 1.16.2.2 1998/09/03 22:14:37 brian Exp $ +# $Id: ttys,v 1.2.2.1 1999/02/12 04:03:39 wes Exp $ # @(#)ttys 5.1 (Berkeley) 4/17/89 # # name getty type status comments +# +# This file specifies various information about terminals on the system. +# It is used by several different programs. Common entries for the +# various columns includes: +# +# name The name of the terminal device. +# +# getty The program to start running on the terminal. Typically a +# getty program, as the name implies. Other common entries +# include none, when no getty is needed, and xdm to start the +# X Window System. +# +# type The initial terminal type for this port. For hardwired +# terminal lines, this will contain the type of terminal used. +# For virtual consoles, the correct type is cons25. Other +# common values include network for network connections on +# pseudo-terminals, dialup for incoming modem ports, and unknown +# when the terminal type cannot be predetermined. +# +# status Must be on or off. If on, init will run the getty program on +# the specified port. If the word "secure" appears, this tty +# allows root login. # # This entry needed for asking password when init goes to single-user mode # If you want to be asked for password, change "secure" to "insecure" here diff -urN 2.2.8-RELEASE/etc/uucp/dial.sample 3.1-RELEASE/etc/uucp/dial.sample --- 2.2.8-RELEASE/etc/uucp/dial.sample Mon Nov 30 14:15:15 1998 +++ 3.1-RELEASE/etc/uucp/dial.sample Mon Feb 15 19:45:34 1999 @@ -1,4 +1,4 @@ -# $Id: dial.sample,v 1.2.8.1 1998/09/13 23:10:49 brian Exp $ +# $Id: dial.sample,v 1.3 1998/09/13 23:06:19 brian Exp $ # This is an example of dial, the dialer configuration file for Taylor # UUCP. To use it, you must compile the package with diff -urN 2.2.8-RELEASE/etc/weekly 3.1-RELEASE/etc/weekly --- 2.2.8-RELEASE/etc/weekly Mon Nov 30 14:15:14 1998 +++ 3.1-RELEASE/etc/weekly Thu Jan 1 09:00:00 1970 @@ -1,82 +0,0 @@ -#!/bin/sh - -# -# @(#)weekly 5.14 (Berkeley) 6/23/91 -# $Id: weekly,v 1.17.2.2 1998/01/10 00:06:55 steve Exp $ - -PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec -export PATH - -host=`hostname -s` -echo "Subject: $host weekly run output" - -#echo "" -#echo "Removing old .o files:" -#find /usr/src -name '*.o' -atime +21 -print -a -exec rm -f {} \; - -# see if /usr/src exists and is local -# before looking there for checked-out files - -#if [ -d /usr/src -a \ -# X"`find -f /usr/src ! -fstype local -prune -or -type d -print -prune`" != X ]; -#then -# echo "looking for checked out files:" -# TDIR=/tmp/_checkout$$ -# -# mkdir $TDIR -# for file in `find -f /usr/src ! -fstype local -prune -or \ -# -name 'p.*' -print | egrep 'SCCS/p\.'`; do -# owner=`awk '{ print $3 }' $file` -# echo "$owner $file" -# echo $file >> $TDIR/$owner -# done | sed -e 's,SCCS/p.,,' -# for file in $TDIR/*; do -# sed -e 's,SCCS/p.,,' $file | \ -# Mail -s 'checked out files' `basename $file` -# done -# rm -rf $TDIR -#fi - -if [ -f /usr/libexec/uucp/clean.weekly ]; then - echo "" - echo "Cleaning up UUCP:" - echo /usr/libexec/uucp/clean.weekly | su daemon -fi - -echo "" -echo "Rebuilding locate database:" -locdb=/var/db/locate.database -touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb} -echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody 2>&1 |\ - fgrep -v 'Permission denied' -chmod 444 ${locdb} - -if [ -x /usr/libexec/makewhatis.local -a -x /usr/bin/manpath ] ; then - - echo "" - echo "Rebuilding whatis database:" - - MANPATH=`/usr/bin/manpath -q` - if [ $? = 0 ]; then - if [ "x${MANPATH}" = "x" ]; then - echo "manpath failed to find any manpage directories" - else - /usr/libexec/makewhatis.local "${MANPATH}" - fi - fi -fi - -#echo "" -#echo "Reformatting manual pages:" -#echo catman.local "${MANPATH}" | su -fm man - -echo "" -echo "Cleaning up kernel database files:" -kernel=`sysctl -n kern.bootfile` -kernel=kvm_`basename ${kernel}`.db -find /var/db -name "kvm_*.db" -a ! -name ${kernel} -a -atime +7 -exec rm -f -- {} \; - -if [ -f /etc/weekly.local ]; then - echo "" - echo "Running weekly.local:" - sh /etc/weekly.local -fi