The NetBSD Project

CVS log for src/etc/rc.d/sshd

[BACK] Up to [cvs.NetBSD.org] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25.2.2 / (download) - annotate - [select for diffs], Mon Apr 16 01:57:33 2018 UTC (5 weeks, 3 days ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.25.2.1: +9 -17 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 9 15:02:39 2018 UTC (6 weeks, 3 days ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, HEAD
Changes since 1.26: +9 -17 lines
Diff to previous 1.26 (colored)

Simplify so we don't have to hard-code the key filenames in two places.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:11:58 2018 UTC (6 weeks, 5 days ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 7 00:41:16 2018 UTC (6 weeks, 5 days ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0407
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

support xmss keys

Revision 1.23.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 09:44:48 2017 UTC (5 months, 1 week ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-0-RC1
Changes since 1.23.8.1: +5 -5 lines
Diff to previous 1.23.8.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Pull up following revision(s) (requested by sevan in ticket #420):
	etc/rc.d/sshd: revision 1.25
Do away with (not well specified, even if it happens to work) absurd
15 arg test ([ ]) expression, and replace it with several well defined
2 arg tests, combined with (also well defined) sh syntax.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 4 14:50:33 2017 UTC (5 months, 2 weeks ago) by kre
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)


Do away with (not well specified, even if it happens to work) absurd
15 arg test ([ ]) expression, and replace it with several well defined
2 arg tests, combined with (also well defined) sh syntax.

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Mon Dec 4 10:59:46 2017 UTC (5 months, 2 weeks ago) by snj
Branch: netbsd-8
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

Pull up following revision(s) (requested by sevan in ticket #321):
	etc/rc.d/sshd: revision 1.24
Don't try to generate sshv1 keys on new systems.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 7 21:41:51 2017 UTC (7 months, 2 weeks ago) by sevan
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

With the new version of OpenSSH, SSHv1 is no longer supported server-side.
Along with that rsa1 type keys are no longer supported.
Don't try to generate such keys on new systems.

ok christos

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Tue Aug 15 05:38:29 2017 UTC (9 months, 1 week ago) by snj
Branch: netbsd-6-0
Changes since 1.21: +26 -38 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by mrg in ticket #1468):
	etc/rc.d/sshd: revision 1.22
	etc/rc.d/sshd: revision 1.23
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
--
Add new keytype, replace duplicated code with loop

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Tue Aug 15 05:36:08 2017 UTC (9 months, 1 week ago) by snj
Branch: netbsd-6-1
Changes since 1.21: +26 -38 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by mrg in ticket #1468):
	etc/rc.d/sshd: revision 1.22
	etc/rc.d/sshd: revision 1.23
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
--
Add new keytype, replace duplicated code with loop

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Tue Aug 15 05:35:01 2017 UTC (9 months, 1 week ago) by snj
Branch: netbsd-6
Changes since 1.21: +26 -38 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by mrg in ticket #1468):
	etc/rc.d/sshd: revision 1.22-1.23
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.
--
Add new keytype, replace duplicated code with loop

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Sat May 2 18:04:37 2015 UTC (3 years ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.22: +26 -38 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up following revision(s) (requested by nakayama in ticket #728):
	etc/rc.d/sshd: revision 1.23
Add new keytype, replace duplicated code with loop

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 19 16:33:01 2014 UTC (3 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.22: +26 -38 lines
Diff to previous 1.22 (colored)

Add new keytype, replace duplicated code with loop

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:27:20 2014 UTC (4 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:24:52 2013 UTC (5 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

resync with head

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 7 19:32:19 2013 UTC (5 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: netbsd-7
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 25 03:04:23 2011 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.20: +11 -1 lines
Diff to previous 1.20 (colored)

generate ecdsa key

Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 13 18:08:03 2004 UTC (13 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, mjf-devfs2-base2, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Add an _rc_subr_loaded variable, set to ":" by rc.subr.  Scripts can use this
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 18 17:36:34 2004 UTC (14 years, 3 months ago) by jonb
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.18: +6 -4 lines
Diff to previous 1.18 (colored)

Add ssh_keygen_flags variable to rc.conf to allow users to set the
size of auto-generated keys if desired.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 29 08:23:34 2002 UTC (16 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).

etc/postinstall will detect this, and if "fix" is given, rename the files.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 29 05:55:06 2002 UTC (16 years ago) by lukem
Branch: MAIN
Changes since 1.16: +14 -18 lines
Diff to previous 1.16 (colored)

deprecate $sshd_conf_dir and hardcode /etc/ssh.
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 19 23:13:44 2002 UTC (16 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Don't assume that $0 is this script.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 19 23:12:26 2002 UTC (16 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.14: +16 -9 lines
Diff to previous 1.14 (colored)

Wrap long lines.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 27 09:15:54 2002 UTC (16 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Set command_args to '-f ${sshd_conf_dir}/${name}.conf'.
This occurs before the first load_rc_config() so that it may be
overridden by the user, and appears in single quotes so the
variables don't get evaluated until the eval in run_rc_command().
Problem noted by Patrick Welche <prlw1@cam.ac.uk> in [bin/15912].

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 24 12:50:09 2002 UTC (16 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.12: +15 -14 lines
Diff to previous 1.12 (colored)

Support alternate config dir for sshd conf file and keys (defaults to "/etc").
Based on [misc/12473] from Jim Bernard.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 25 23:27:37 2001 UTC (17 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

be consistent with other scripts when temporarily setting umask to 022

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 25 23:18:50 2001 UTC (17 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

set the umask to 022 (remembering the previous setting) for ssh_keygen()

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Fri Mar 30 22:37:49 2001 UTC (17 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.5.2.5: +3 -2 lines
Diff to previous 1.5.2.5 (colored) next main 1.6 (colored)

Pull up revision 1.10 (requested by itojun):
  Auto-generate SSH protocol version 2 RSA key.
  Use newer command syntax (``-t <type>'' instead of ``-d'').
(fix to previous)

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Fri Mar 30 22:36:34 2001 UTC (17 years, 1 month ago) by he
Branch: netbsd-1-5
Changes since 1.5.2.4: +13 -5 lines
Diff to previous 1.5.2.4 (colored)

Pull up revision 1.9 (requested by itojun):
  Auto-generate SSH protocol version 2 RSA key.
  Use newer command syntax (``-t <type>'' instead of ``-d'').

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 26 22:32:39 2001 UTC (17 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

check existence of /etc/ssh_host_rsa_key too

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 26 22:21:26 2001 UTC (17 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.8: +13 -5 lines
Diff to previous 1.8 (colored)

auto-generate SSH protocol version 2 RSA key.
use newer command line syntax for ssh-keygen (-t <type>, instead of -d)

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Mon Oct 2 01:10:34 2000 UTC (17 years, 7 months ago) by lukem
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.5.2.3: +1 -1 lines
Diff to previous 1.5.2.3 (colored)

pull up rev 1.8 (approved by thorpej):
	- always use $rcvar to determine the name of the var to checkyesno
	- fix force*

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Fri Sep 29 05:45:54 2000 UTC (17 years, 7 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.5.2.2: +16 -16 lines
Diff to previous 1.5.2.2 (colored)

Sync this with rev 1.8.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 19 13:04:39 2000 UTC (17 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

- only perform the checkyesno on the variable named in $rcvar (rather than
  implicitly using $name if $rcvar isn't set), and always perform this check,
  even when using start_cmd (et al).
  this check is performed before the pidcmd
  is run, speeding up scripts that weren't going to be run anyway.
  this should speed up booting slow systems.

- take advantage of the above and remove
	start_precmd="checkyesno foo"
  in scripts that use start_cmd.

- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
  rc.conf entry

- fix `rcvar' and `restart' when $rcvar isn't set.
  these above changes fix PR [bin/11027].

- when doing `force*', ignore the return value of *_precmd.
  this fixes PR [bin/10781].

- rename what sysdb provides from `databases' to `sysdb', to reflect
  the name of the script.

- improve the comments in rc.subr

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 10 22:49:43 2000 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

- sshd has a pid file, so take advantage of it
- support `reload' arg (using default of SIGHUP)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 10 01:41:09 2000 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.5: +12 -13 lines
Diff to previous 1.5 (colored)

- provide sshd not ssh
- don't start until after LOGIN (after NETWORK is way too early)
- KNF (as such :)

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Aug 9 19:09:46 2000 UTC (17 years, 9 months ago) by lukem
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.5.2.1: +48 -0 lines
Diff to previous 1.5.2.1 (colored)

pull up the following
approved by: thorpej

	etc/rc.d/DAEMON		1.3
	etc/rc.d/LOGIN		1.3
	etc/rc.d/NETWORK	1.1
	etc/rc.d/SERVERS	1.2
	etc/rc.d/cron		1.4
	etc/rc.d/dhclient	1.6
	etc/rc.d/dmesg		1.4
	etc/rc.d/inetd		1.5
	etc/rc.d/lkm1		1.3
	etc/rc.d/lkm2		1.3
	etc/rc.d/lkm3		1.4
	etc/rc.d/motd		1.3
	etc/rc.d/mountcritlocal		1.3-1.4
	etc/rc.d/mountcritremote	1.3
	etc/rc.d/mountd		1.7
	etc/rc.d/network	1.12 1.14
	etc/rc.d/ntpdate	1.4
	etc/rc.d/ppp		1.3-1.4
	etc/rc.d/pwcheck	1.3
	etc/rc.d/rpcbind	1.4
	etc/rc.d/sshd		1.3-1.5
	etc/rc.d/swap1		1.5
	etc/rc.d/swap2		1.4
	etc/rc.d/sysdb		1.3-1.4
	etc/rc.d/syslogd	1.5-1.6
	etc/rc.d/systemfs	REMOVE
	etc/rc.d/virecover	1.3
	etc/rc.d/wscons		1.4
	etc/rc.d/xdm		1.5

summary:

* reword descriptions
* add '# KEYWORD: shutdown' to some of these scripts so that only they get run
  at shutdown time.  now, only scripts with the keyword `shutdown' will be
  run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust
* add new dummy dependancy `NETWORK' to be REQUIREd by services which need
  networking to be operational before starting, and use as appropriate.
  NETWORK depends upon network and dhclient.
* move the guts of systemfs into mountcritlocal
* replace the dependancy on systemfs with mountcritremote, and remove the
  former.
* SERVERS now also depends upon ppp
* move recreating /var/run/utmp from mountcritlocal (where /var/run is
  purged but /usr/bin/install is not available) to sysdb.
  problem noted by Matthias Drochner.
* share the same load_rc_config between the lkm* scripts
* network: Don't warn that $hostname isn't set if the hostname is already set.
* network: reenable stop_cmd now that network doesn't get run at shutdown
* add sshd startup script
* use "load_rc_config swap" for swap1 and swap2
* syslog requires databases from sysdb which creates /var/run/utmp.

Should fix PRs:
    [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]

Revision 1.5.2.1, Tue Aug 1 14:28:32 2000 UTC (17 years, 9 months ago) by lukem
Branch: netbsd-1-5
Changes since 1.5: +0 -48 lines
FILE REMOVED

file sshd was added on branch netbsd-1-5 on 2000-08-09 19:09:46 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 1 14:28:32 2000 UTC (17 years, 9 months ago) by jwise
Branch: MAIN
Branch point for: netbsd-1-5
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

Change name of precmd from start_precmd to sshd_precmd.  While it worked
fine as was, the result was the line `start_precmd=start_precmd' which
looked odd.  Pointed out by Bernd Ernesti.

While here, add NetBSD RCS Id.

BTW, to clarify, as people have asked:  this script does not support
pkgsrc/security/sshd -- that package comes with a perfectly fine rc script
which in addition to supporting /etc/rc.d can also be used with 1.4.X.

This script will not trivially work with the ssh package as it a.) calls
the ssh commands at the pathnames they will be installed at by usr.bin/ssh,
and b.) generates a DSA key as well as an RSA key.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 31 21:43:52 2000 UTC (17 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Correct apparent past-o: RSA -> DSA

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 31 20:39:41 2000 UTC (17 years, 9 months ago) by jwise
Branch: MAIN
Changes since 1.2: +38 -9 lines
Diff to previous 1.2 (colored)

An sshd startup script for use with usr.bin/sshd.  Installation is conditional
on ${SSHDIST}, as with usr.bin/ssh itself.

This script includes a `keygen' target for regenerating RSA and DSA host keys,
and invokes this if these keys are not present when sshd is started up.

Revision 1.2, Mon Mar 13 04:04:07 2000 UTC (18 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.1: +1 -1 lines
FILE REMOVED

* replace daemon, login, servers with DAEMON, LOGIN, SERVERS
* remove sshd (it was from my private system)

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 10 11:53:24 2000 UTC (18 years, 2 months ago) by lukem
Branch: TNF
CVS Tags: rc-d-2000-03-10
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

rc.d scripts derived from /etc/rc

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 10 11:53:24 2000 UTC (18 years, 2 months ago) by lukem
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>