obrien
04be6dc763
Remove useless `BINOWN=root' now that it is the default.
1998-09-19 22:42:06 +00:00
charnier
b2d9c8e584
Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling.
1998-08-03 06:22:43 +00:00
alex
a1819e927e
Pass an actual empty environment to execle() as per POSIX rather than
...
rely on undocumented behavior.
The following fixes were obtained from OpenBSD:
o -Wall fixes to tlist array initialization and assignment used
as truth value.
o Use a restricted environment.
o Improved error message when shutdown fails to exec reboot or halt.
1998-01-10 20:11:06 +00:00
alex
e81c54e37d
Added environment parameter to execle calls.
...
Obtained from: NetBSD PR2737 (augustss@cs.chalmers.se ) via OpenBSD
1998-01-08 20:05:45 +00:00
alex
fca3437c8b
Correct a comment from my last commit.
1998-01-08 02:23:59 +00:00
alex
1064266fe3
Allow 'shutdown datespec' to work into the next century. Handle dates
...
in the 22nd century and beyond even though it's irrelevant with a 32-bit
time_t which expires in the year 2038.
1998-01-08 02:21:30 +00:00
joerg
0e5549e4fe
Make the daemon process a true daemon by calling setsid().
...
PR: bin/3202
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-08-23 14:10:34 +00:00
max
fa5b7cdf93
Add Xref to nologin(5).
1997-07-04 06:31:52 +00:00
charnier
914fd010fc
Use err(3).
1997-06-19 14:28:32 +00:00
imp
88b6081b7e
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 03:33:12 +00:00
adam
220f6e11cf
-n was broken
...
2.2 candidate (probably)
1997-01-21 21:07:29 +00:00
wollman
01cdce9796
Delete bogus referneces to timezone code internal header file `tzfile.h',
...
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
dg
924afc8ee9
Yanked out (now obsolete) support for 'fastboot'.
1995-02-15 14:35:29 +00:00
ats
a9a7202573
Submitted by: M.C. Wong
...
Obtained from:
Don't throw away the /etc/nologin file in the -k case.
1994-11-27 23:52:13 +00:00
wollman
8e1bbb06c3
Convert to our man installation style. Also fixed long-standing bug
...
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
rgrimes
d038e02fd6
BSD 4.4 Lite sbin Sources
...
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00