mikel
2bf1150565
add some files from /etc: inetd.conf, newsyslog.conf, protocols, rc.subr,
...
rpc, and services (required); ld.so.conf and resolv.conf (optional).
remove pointless 'ignore' keyword from /dev/mem
1997-09-10 06:09:15 +00:00
mikel
afc1906e1c
add some files from /etc to the list: csh.logout, inetd.conf,
...
ld.so.conf, newsyslog.conf, profile, rc.subr, resolv.conf, and rpc.
1997-09-10 06:05:44 +00:00
mikel
a876c50cde
deny toor; from Jim Bernard in PR security/4061
1997-09-08 02:51:58 +00:00
mikel
8806d2a16f
update $net_interfaces comment to reference $auto_ifconfig
1997-09-08 02:43:26 +00:00
mikel
8cd518d0fd
no more DEFAULT for $ntpdate_hosts; from Geoff Wing in PR bin/4073
1997-09-08 02:34:44 +00:00
cjs
26d1975b33
Add -l option to inetd.
1997-09-07 19:13:50 +00:00
mycroft
0d67d0dcc3
Nuke myname.
1997-09-07 10:08:31 +00:00
mycroft
6fd4b6ac56
Remove totally bogus default host name.
1997-09-07 09:49:49 +00:00
mycroft
be208d150c
Hard-code the loopback address; it never changes, and we do *not* want to be
...
doing name lookups here (by default, at least).
1997-09-07 09:47:31 +00:00
leo
3d37936e8d
Extend with:
...
- a bit more of descriptive text
- an example of the new way swap devices are defined
- an example of the '-G' flag for GEMDOS-flavored msdos filesystems.
1997-09-02 19:59:23 +00:00
leo
7991f3f025
Remove fdN and rfdN before their node creation.
1997-09-02 19:56:56 +00:00
pk
46ac7ce9eb
Don't copy files which are no longer here.
1997-08-31 23:22:02 +00:00
cjs
ebb2301a41
Prune unused function.
1997-08-30 03:34:29 +00:00
veego
fb559c8dc2
Add a check if sshd exists and comment out the sshd startup and the test.
...
Not everyone has a sshd on his system.
1997-08-29 10:29:07 +00:00
veego
fb251b85eb
Only start programms which we started in the previous version (1.15)
...
and also don't use the PATH with /usr/local/sbin:/usr/local/bin .
1997-08-29 10:22:24 +00:00
veego
61cf6ecccc
s/rc.func/rc.subr/
1997-08-29 10:09:38 +00:00
veego
d1307e8424
Curt, what is in rc.func ?
...
I only see rc.subr so I renamed rc.func to rc.subr.
1997-08-29 09:33:34 +00:00
veego
08b399c5ce
Add rc.subr to BIN1
1997-08-29 09:28:50 +00:00
cjs
c3b0e18db8
Split rc.conf variables for starting programs into two: an on/off
...
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
1997-08-29 02:24:04 +00:00
mycroft
39709ef236
Don't require the host name to be set here.
1997-08-28 18:18:17 +00:00
thorpej
5b004f0ce6
ldconfig processes /etc/ld.so.conf internally; run it without cat'ing
...
the contents into an argument vector.
1997-08-26 19:35:33 +00:00
perry
a8f17a8bdb
update to version 1997082200 from Internic.
1997-08-24 15:50:47 +00:00
lukem
8ab86c4242
* add enss* to ss*
...
* use $0 instead of MAKEDEV
* remove superfluous umasks
1997-08-22 15:35:12 +00:00
lukem
ed0a7677a8
* unlink devices before attempting to mknod them
...
* remove superfluous umasks
* replace `eval ...` with $((...)) or ${i#...}
* use $0 instead of MAKEDEV
* warn on unknown devices
* add enss* to ss*
* ensure tapes are root.operator 660
1997-08-22 15:30:49 +00:00
lukem
96f44170dc
* use $0 instead of MAKEDEV
...
* use $((...)) instead of `eval ...`
* st* and md* are now root.operator 640
* reset the umask after running MAKEDEV.local
1997-08-22 15:02:12 +00:00
lukem
e9aa93e046
obsolete stuff that's be superceeded by /usr/src/distrib/...
1997-08-22 12:27:46 +00:00
lukem
f27e440f72
* remove superfluous umasks
...
* st* perms are 660 not 640
* ttyv* isn't a special case on the sparc (it's an i386-ism)
* add enss* to ss*
* use $0.local instead of MAKEDEV.local, and reset the umask afterwards
1997-08-22 12:25:16 +00:00
lukem
49d132729c
these are *way* out of date...
1997-08-22 12:24:25 +00:00
lukem
3554ac334d
* use $0 instead of MAKEDEV
...
* remove devices before mknod-ing them
* use ${i#...} and $((...)) instead of `eval ...`
* tz* has perms 660 root.operator (instead of 666 root.wheel)
* consolidate a few devices into one case, with internal switching
for the slight difference (usually unit name and major number)
* reset the umask after MAKEDEV.local
* don't treat ttyv* specially - it's an i386-ism
1997-08-22 12:16:28 +00:00
lukem
b790d7bce9
ttyv* shouldn't be treated specially on the hp300 (it's an i386-ism)
1997-08-22 12:06:27 +00:00
lukem
d4a3164363
ttyv* shouldn't be treated specially on the alpha (it's an i386-ism)
1997-08-22 12:04:03 +00:00
lukem
607e11fb8a
* add enss* to ss*
...
* st* has perms 660 not 640
* use $0 instead of MAKEDEV
* reset umask after MAKEDEV.local
1997-08-22 11:34:30 +00:00
lukem
cdfa15cb5b
* st* has perms 660 not 640
...
* add enss* to ss*
* invoke MAKEDEV.local as $0.local, and reset the umask afterwards
1997-08-22 11:30:57 +00:00
lukem
fcbf94775b
* add enss* to ss*
...
* st* has perms 660 not 640
* invoke MAKEDEV.local as $0.local, and reset umask afterwards
1997-08-22 11:26:01 +00:00
lukem
5629b8d007
* st* and wt* have perms 660 instead of 640
...
* add enss* to ss*
* invoke MAKEDEV.local as $0.local
* reset umask to 077 after running MAKEDEV.local
* warn on unknown devices
1997-08-22 11:19:43 +00:00
lukem
81cdcf7570
* use $0 instead of MAKEDEV
...
* set ct* mt* and st* to root.operator 660 (not root.wheel 666)
1997-08-22 11:10:42 +00:00
lukem
1d665a7616
* use $0 instead of MAKEDEV
...
* remove superfluous umasks
* st* perms are 660 not 640
* ensure md0 and rfd0c get the correct perms
* add enss* to ss*
1997-08-22 10:55:18 +00:00
lukem
3e16910ca2
remove enss* before we try & mknod it
1997-08-22 10:46:27 +00:00
lukem
7cb2956f2d
* st* has perms 660 not 640
...
* add enss* to ss*
* md* is root.operator 640 not root.wheel 600
* use ${i#...} instead of `expr ...`
* use 'sh $0.local' not 'sh MAKEDEV.local'
* warn on invalid devices
1997-08-22 10:41:17 +00:00
lukem
93f6aeeee8
use 'sh $0 ...' instead of 'sh MAKEDEV ...'
1997-08-22 10:32:28 +00:00
lukem
fca196598f
* use $((...)) not `expr ...`
...
* st* has perms 660 not 640
* use $0 not MAKEDEV
* add enss* to ss*
* remove superfluous use of umask
* ensure umask is reset after running MAKEDEV.local
1997-08-22 10:28:06 +00:00
lukem
237c80a5db
* set perms on st* to 660 not 640
...
* remove superfluous umask
1997-08-22 10:14:45 +00:00
lukem
89fa41e9da
- correct use of generated temporary files.
...
- clean up comments and generated output.
- clean up $SECUREDIR if SIGINT or SIGQUIT received.
- .rhosts may have to be world readable in NFS environments, so allow it to be.
- update list of disks to check for reasonable permissions
- don't show differences in /etc/master.passwd, as the encrypted strings may
be sent. From reading comments earlier in the script, this was the intention
anyway. Fix from Jim Bernard <jbernard@tater.mines.edu> in [security/3994].
- when checking /etc/ftpusers, skip comment lines and only match full
usernames.
XXX: this should be enhanced to check lines of the enhanced ftpusers format.
1997-08-22 09:40:17 +00:00
agc
44579dfa67
Remove the uname=man lines as NetBSD doesn't seem to have a user called
...
man.
Add NetBSD RCS Id.
1997-08-20 15:41:11 +00:00
agc
51e120ae5a
Import FreeBSD's etc/mtree/BSD.local.dist as etc/mtree/BSD.pkg.dist.
...
This is for use with the FreeBSD ports system.
1997-08-20 15:23:33 +00:00
mikel
71d389d416
include hostname in subject of email with results of running *ly
...
scripts; from Jim Bernard in PR misc/3996
1997-08-20 07:18:41 +00:00
veego
94c1e883f6
Added missing en$name$unit entry for the chmod command in ss*).
...
Noticed by Luke Mewburn on tech-security.
1997-08-19 18:39:56 +00:00
lukem
a563ca4687
As per [bin/1814] from Arne Juul <arnej@imf.unit.no>, and discussions
...
with matt green <mrg@netbsd.org> (to shut up /etc/security)
* set ingres account shell to /sbin/nologin
* set ~daemon to / (not /root)
1997-08-19 15:07:12 +00:00
lukem
67087092d4
remove incorrect vn* entry, as vnd* exists and vn* doesn't work anyway
1997-08-19 13:33:04 +00:00
lukem
0f26a04544
* ensure that check for '.' in root's $PATH doesn't yield a false positive.
...
fix from Jim Bernard <jbernard@tater.mines.edu> in [security/3995]
* detect empty :: elements as '.' in a sh(1) path (leading :, trailing :,
or ::)
1997-08-19 12:08:35 +00:00