summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add the missing hoststat and purgestat commands. These are normallygshapiro2002-04-051-0/+2
| | | | | | | | symlinks to the sendmail binary but in FreeBSD's case, they are symlinks to mailwrapper. Submitted by: tisco MFC after: 4 days
* Quoting Peter Wemm, "At great personal risk, touch the sendmail startupgshapiro2002-04-056-117/+448
| | | | | | | | | | | | | | | | | | | | | again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week
* Back out last commit. (This file is installed under /etc/mail.)ru2002-04-041-2/+2
| | | | Requested by: gshapiro
* Use a relative path to contrib/sendmail/cf.ru2002-04-041-2/+2
|
* The good news is that my initial PR was correct... the bad news is that Idougb2002-04-017-7/+35
| | | | | | | | | was apparently smoking something when I committed the last fix, because as ume was kindly enough to set me straight on, amd *will* start with no arguments at all, as long as there is an /etc/amd.conf file for it to read. What it won't do is start with *just* -p. In any case, now it's fixed.
* Support more than 32 sio unit numbers. The maximum unit number is nowbde2002-03-311-13/+35
| | | | | | | | | | | (65536 * 32 - 1), but MAKEDEV only supports up to (32 * 32 -1). Device names use the unit number in base 32 for all "digits". This required fixing an old bug in MAKEDEV:ttyminor(). Its arg was the global $unit instead of $1. Reminded by: Valentin K. Ponomarenko <valka@krog.ukrtel.net> MFC-after: 1 week
* Update the /etc/mail/Makefile "start" target code to match the new startupgshapiro2002-03-281-4/+51
| | | | | | | | logic and added a new set of targets for controlling the MSP queue runner (start-mspq, stop-mspq, and restart-mspq). Reminded by: Mark Santcroos <marks@ripe.net> MFC after: 1 week
* Provide a way for users to completely prevent sendmail from trying to startgshapiro2002-03-282-19/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at boot time. Instead of rc.conf's sendmail_enable only accepting YES or NO, it can now also accept NONE. If set to NONE, none of the other sendmail related startup items will be done. Remove an extra queue running daemon might be started that wasn't necessary (it didn't hurt anything but it wasn't needed). The new logic is: # MTA if ${sendmail_enable} == NONE # Do nothing else if ${sendmail_enable} == YES start sendmail with ${sendmail_flags} else if ${sendmail_submit_enable} == YES start sendmail with ${sendmail_submit_flags} else if ${sendmail_outbound_enable} == YES start sendmail with ${sendmail_outbound_flags} endif # MSP Queue Runner if ${sendmail_enable} != NONE && [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES start sendmail with ${sendmail_msp_queue_flags} endif Discussed with: Thomas Quinot <Thomas.Quinot@Cuivre.FR.EU.ORG>, Christopher Schulte <schulte+freebsd@nospam.schulte.org> MFC after: 1 week
* Add a sample line for lukemftp.obrien2002-03-261-0/+1
|
* Fix typosgshapiro2002-03-261-2/+2
| | | | Noticed by: Larry Rosenman <ler@lerctr.org>
* Install sys/security/lomac/*.h to /usr/include/security/lomac/.ru2002-03-261-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/. PR: docs/29534 Install sys/netatm/*/*.h to /usr/include/netatm/*/. Don't install compatibility symlinks for <machine/soundcard.h> and <machine/joystick.h>. Three years is enough to be aware of the change, and these weren't visible in the SHARED=symlinks case. Back out include/Makefile,v 1.160 that was a null change anyway due to the bug in the path, and we now don't want to install these headers because they would otherwise be invisible in the SHARED=symlinks case. Don't install IPFILTER headers. Userland utilities fetch them directly, and they were not visible in the SHARED=symlinks case. Resurrect SHARED=symlinks in Makefile.inc1. PR: bin/28002 Prodded by: bde MFC after: 2 weeks
* Removed some redundant stuff that causes compilation warnings.ru2002-03-261-5/+0
|
* Switch over to using pam_login_access(8) module in sshd(8).ru2002-03-261-0/+1
| | | | | | (Fixes static compilation. Reduces diffs to OpenSSH.) Reviewed by: bde
* Don't start any sendmail process in the back ground.obrien2002-03-261-3/+3
| | | | Requested by: gshapiro
* Don't background the sendmail-clientmqueue process -- can give:obrien2002-03-251-1/+1
| | | | sm-queue[181]: NOQUEUE: SYSERR(root): fill_fd: before readcf: fd 1 not open: Bad file descriptor
* Sendmail can be slow to startup.obrien2002-03-221-4/+4
| | | | So start it in the background to speed up booting.
* Instead of dealing with the endless requests to provide more DNS basedgshapiro2002-03-221-11/+7
| | | | | | | | | black lists in the default config, give a pointer to a non-static list. I was convinced this was the right thing to do after getting a PR asking to add ORBZ the day before ORBZ went off the air. PR: conf/35884 MFC after: 4 days
* Install moduli instead of primesdes2002-03-212-72/+1
|
* This commit was generated by cvs2svn to compensate for changes in r92894,des2002-03-211-0/+158
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import OpenBSD's moduli file.des2002-03-211-0/+158
|
* Use the proper terminology.gshapiro2002-03-211-2/+2
|
* Don't try to generate ssh keys if ssh isn't installed.des2002-03-197-49/+77
|
* IPFilter may need to be re-sync'ed even if we are not filtering, butcjc2002-03-197-7/+21
| | | | | | | | only doing ipnat(8). Go back to using $ipfilter_active, but turn off $ipfilter_active when loading ipl.ko has failed. Submitted by: devet@devet.org (Arjan de Vet) MFC after: 3 days
* Home Wireless Network Airway wireless cardimp2002-03-181-0/+6
|
* Make sure that rc.syctl gets its own version of positional parametersdougb2002-03-181-2/+2
| | | | Submitted by: cjc
* Distinguish between first and last passes of rc.sysctl, and only setdougb2002-03-173-5/+36
| | | | mibs whose values are not already what is specified in sysctl.conf.
* Add a late rc.sysctl pass to catch sysctl's for things that weredougb2002-03-171-1/+8
| | | | | | | not loaded yet on the first pass. PR: conf/19629 Submitted by: Stephen J. Roznowski <sjr@home.com>
* Answer the question posed in 1.126. amd won't start without either adougb2002-03-177-14/+77
| | | | | | | | conf file, or command line options. I brought this up in PR 12432, which (ironically) obrien assigned to me after I became a committer. :) PR: conf/12432 Submitted by: Me
* Update for Perl 5.6.1markm2002-03-163-4/+4
|
* Correct a comment; FreeBSD-4 --> FreeBSD-5.markm2002-03-161-1/+1
|
* Only put standard FreeBSD directories in the PATH. If thecjc2002-03-161-1/+1
| | | | | | | | administrator wishes to run commands outside of the PATH, he should use a full pathname for the executable or set the PATH as appropriate in any local startup scripts. PR: misc/35770
* Allow LOMAC to be loaded as part of the boot scripts using "lomac_enable"rwatson2002-03-122-0/+8
| | | | | | | setting in rc.conf. Extracted from the still clammy hands of: green Sponsored by: DARPA, NAI Labs
* No need to explicitly check for both cases when using grep -i.rwatson2002-03-121-1/+1
|
* Run dumpon(8) early so crashes during startup can be caught. Incjc2002-03-121-14/+17
| | | | | | | | addition, take out the checks on the $dumpdev. dumpon(8) behaves well if given a non-existent filename. It gives a nice error message which is better rather than the current silent failure. Reviewed by: des
* The reload of ipf(8) rules should depend on $ipfilter_enable, notcjc2002-03-127-14/+7
| | | | | | | $ipfilter_active. $ipfilter_enable is set to "NO" if modules fail to load, and $ipfilter_active can be "YES" when we are not using ipf(8). MFC after: 3 days
* Background the startup of `Amd', it often blocks on startup.obrien2002-03-127-14/+14
|
* Why shouldn't amd always write its PID to a file?obrien2002-03-127-42/+14
| | | | Since I cannot answer that question, make it.
* Update login failure checking to check auth.log instead of messages,rwatson2002-03-111-3/+3
| | | | | | and teach it to look for more general classes of failures, including SSH login failures. This is similar but not identical to a patch submitted by aeonflux@synapse.subneural.net.
* Turns out everyone is a lot lazier than I thought. Spellrwatson2002-03-113-3/+3
| | | | | | | | | | 'authentication.log' as 'auth.log'. This is also more consistent with syslog facility names. Sigh. :-) Submitted by: asmodai, aeonflux, green, ....
* Clean up logging of security information a bit:rwatson2002-03-113-1/+5
| | | | | | | | | | | | | o Introduce /var/log/authentication.log, which will be the target for auth.info and authpriv.info by default. Rotate on the same schedule as most other logs. Create at installation. o Remove logging of auth.info from /var/log/security.log, which will return to being only for security feature subsystems (such as ipfw, and so on). This creates a special authentication log, which can now be searched by scripts for authentication events.
* Don't protect savecore(8) from being run with a bad dumpdircjc2002-03-111-3/+8
| | | | | | | | | | argument. Don't fail silently, but let savecore(8) make noise. It won't behave badly, it doesn't need protection. At the same time, allow the administrator to have dumpdev enabled while dumpdir (savecore(8)) is disabled and document how to do it. PR: conf/35725
* Remove a mention of the worm(4) device that was missed when it wascjc2002-03-101-1/+0
| | | | | | | removed from MAKEDEV in 1.171. PR: misc/35729 MFC after: 1 day
* /var/log/security gets almost no (if not no) activity on many FreeBSDrwatson2002-03-101-1/+1
| | | | | | | | | systems due to sshd not using the security log class. Tweak syslog.conf so that /var/log/security also gets a useful set of authentication-related logging. Submitted by: aeonflux@synapse.subneural.net MFC after: 4 weeks
* In the words of the submitter:dd2002-03-091-1/+1
| | | | | | | | | | Kerberized CVS (kserver) listens on the same port as normal CVS (pserver). In /etc/inetd.conf cvs kserver is disabled by default, but set to listen to the service port 'cvs' which doesn't exist. It should listen to 'cvspserver'. PR: 34317 Submitted by: Sean Chittenden <sean@chittenden.org>
* Add an entry for coldsync, to facilitate synchronising a Handspring Visorn_hibma2002-03-081-0/+10
| | | | with FreeBSD.
* fix backwards spellingobrien2002-03-075-5/+5
|
* Environmental variable was not being passed to a subshell as intended.cjc2002-03-051-2/+2
| | | | | PR: bin/35558 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Buffalo LPC3-CLTimp2002-03-051-0/+6
| | | | | Submitted by: TANAKA Tomohiko <tomo@oso.to> PR: 34954
* Fix Simple Tech STI-ATAimp2002-03-051-1/+1
| | | | | Submitted by: dwhite@paypal.com PR: 34243
* US Robotics Wireless Card 2410imp2002-03-051-0/+6
| | | | | Submitted by: Jerry A! <jerry@thehutt.org> PR: 33858
OpenPOWER on IntegriCloud