summaryrefslogtreecommitdiffstats
path: root/sbin/init
Commit message (Collapse)AuthorAgeFilesLines
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Change DISTRIBUTION to match new world order.markm2000-02-291-1/+1
|
* detect deleted tty lines in /etc/ttys.alfred2000-02-191-1/+25
|
* Document that securelevel >= 2 clamps time changes to at most one second.nik1999-12-161-0/+4
| | | | | PR: docs/14449 Submitted by: James FitzGibbon <james@targetnet.com>
* Correct the ttys.5 and init.8 manpages with respect to the incorrectsheldonh1999-12-061-7/+20
| | | | | | | | | assumption that only getty processes can be managed. Describe the SysV-like ability to keep arbitrary long-running processes alive using a non-device first field in /etc/ttys. PR: 12767 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Finish up umntall support. init now passed an argument to thedillon1999-11-221-3/+8
| | | | | | | | | rundown script 'reboot' or 'single'. ISO support (which never worked) has been removed from mount_nfs. mount_nfs and umount now use mounttab, which allows umntall to work properly. The rc scripts now call umntall as appropriate. Submitted by: Martin Blapp <mb@imp.ch>
* FreeBSD kernel doesn't allow any process to decrease securelevel. So,kato1999-09-062-8/+1
| | | | | | | init(8) cannot decrease securelevel. The manual page explains this and single_user() doesn't try to downgrade kernel to insecure mode. Reviewed by: bde (manual page)
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Backup existing init(8) as /sbin/init.bak.ru1999-08-051-3/+9
| | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Fix a non-critical memory leak.ru1999-07-231-4/+6
| | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* "Cannot" is one word. "Can not" has a different meaning if takenmph1999-07-051-3/+3
| | | | literally.
* Turn System V command line syntax ``on'' by default.ru1999-07-012-12/+4
| | | | | Requested by: peter Reviewed by: des, billf
* Bring in System V run-level patches (turned off by default).ru1999-06-183-23/+97
| | | | | | While I'm here, fix some typos in the manpage. Requested by: des
* Init(8) will halt the system if sent USR1 signal,ru1999-06-162-8/+23
| | | | | | | | | or halt and turn the power off if sent SIGUSR2. PR: 5451 Submitted by: Leif Neland <leifn@image.dk> Reworked by: ru Reviewed by: -hackers
* Mention securelevel 3 as affecting ipfw and dummynet. Generalize commentghelmer1998-12-161-2/+11
| | | | | about fdisk and securelevel 2. PR: docs/7785
* Memory management error in init.phk1998-07-221-2/+5
| | | | | | PR: 7320 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
* Correct .Nm use. Add rcsid. Use min for minutes instead of mn.charnier1998-07-062-36/+38
|
* Fixes per PR 2850:jkoshy1998-06-191-5/+18
| | | | | | | | | | | (a) Note that the default securelevel value is -1, in -current and -stable. (b) Mention kernel sysctl variable that controls securelevel. (c) Add warning the `fsck' will fail if securelevel >= 2. (d) Suggest end of /etc/rc as the right place to raise securelevel. and one spelling fix. PR: 2850
* Don't assume sigset_t and int are equivalent.jraynard1998-03-021-2/+2
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-2/+2
| | | | the default.
* This has always bugged me. At single user, the implied example it givespeter1997-10-101-2/+2
| | | | | | is not valid - it says that "sh" is the default, but you can't actually type "sh" at this prompt - it has to be /bin/sh or some other full pathname.
* ".if exists(${CURDIR}/../../secure)" rather than testing relative to thedavidn1997-08-181-2/+2
| | | | object directory.
* Test that rc.shutdown exists before attempting to run it - silentlydavidn1997-08-181-1/+13
| | | | return success if it doesn't to prevent any unwanted error msgs.
* runshutdown(): get rid of getdtablesize loop, it gains nothing nowache1997-08-061-4/+1
| | | | but can waste time if many descriptors are available
* rc.shutdown fixes:ache1997-08-061-12/+12
| | | | | | 1) revoke -> HUP 2) controlling terminal already present 3) add missing setprocresources call
* Add /etc/rc.shutdown capability to init.davidn1997-08-023-18/+171
| | | | | Add sample /etc/rc.shutdown (which is just a shell for now). Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
* Move logwtmp(shutdown) call before any real action in death().ache1997-07-081-4/+4
|
* 1. Replace malloc+bzero by callocache1997-07-051-28/+5
| | | | 2. Revoke internal active session list only now, not whole /etc/ttys
* Add -D_NEW_VFSCONF to eliminate compilation warningache1997-07-051-2/+2
|
* death: revoke all lines listed in /etc/ttys instead of sending HUPache1997-07-041-3/+27
| | | | to all processes
* Include <libutil.h> instead of private declarationsache1997-07-031-8/+2
|
* Remove unneded cast in login_getclassbyname which cause warningache1997-07-021-2/+2
|
* Attempt to open the device for reading before actually adding the devicepst1997-06-281-1/+14
| | | | | | | | | to the session list. If the device comes back as unconfigured, just ignore that line in /etc/ttys. If someone HUP's init, we'll try again. This change stops getty's from hanging on vty and sio ports that don't exist, either due to LKM drivers not being loaded, or probes failing. Reviewed by: bde
* Use err(3).charnier1997-06-131-8/+7
|
* Be more specific as to which flags may not be turned off when thempp1997-04-011-2/+3
| | | | | | system is running in secure mode. Obtained from: NetBSD PR# 3299
* Fix mount call for devfs.phk1997-03-301-2/+1
| | | | Submitted by: bde
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Protect from stack overrun via /etc/ttys, which could possibly allow adg1997-02-191-2/+2
| | | | | root user to change the securelevel. Pointed out by Thomas H. Ptacek <tqbf@enteract.com>.
* Part two of a "fix-and-move". There were some macros declared in ../sbin'smarkm1997-02-101-0/+16
| | | | | | | Makefile that were a) broken and b) bogusly placed. This brings the repeared macros in. Pointed-out-by: BDE
* typoadam1997-01-221-1/+1
|
* Style police.davidn1997-01-221-13/+14
|
* Impose login_cap resource limits on processes started by init.davidn1997-01-192-1/+32
| | | | | | | | /etc/rc started with "daemon" settings. "window=" started with "default" settings gettys started with "default" settings. This should open the way to junk kernel options MAX_{OPEN,CHILD} and the corresponding sysctl vars.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-2/+3
|
* If passed the -d flag, mount devfs on /devphk1996-10-281-1/+12
|
* Rewrote the section about the "normal" setting of the security level tobde1996-10-121-15/+16
| | | | | | | match reality. Say that secured devices `may not be opened for writing' instead of `are read-only'.
* Fixed DPADD.bde1996-09-051-5/+5
|
* Better method of choosing libdescrypt/libscrypt.markm1996-05-041-6/+6
|
* Correct some man page xrefs, and some other minor changes to bring somempp1996-04-081-17/+17
| | | | | | man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
* The DES-based init(8) belongs to the "des" distribution.joerg1996-02-131-1/+2
|
OpenPOWER on IntegriCloud