1 |
commit: 2596eb8ce4958255561a11e2081647d2cacf772e |
2 |
Author: W. Trevor King <wking <AT> tremily <DOT> us> |
3 |
AuthorDate: Sun Mar 3 12:58:16 2013 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Nov 21 09:00:10 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=2596eb8c |
7 |
|
8 |
livecdfs-update.sh: Fix '/etc/sshd' check for sshd_config tweaks |
9 |
|
10 |
sshd_config lives in /etc/ssh, not /etc/sshd. This typo has been |
11 |
present since the block was introduced by c06264e (Initial import of |
12 |
Catalyst 2.0.0, 2005-04-04), so it's obviously not a widely used |
13 |
feature ;). It might be better to just remove the block entirely. |
14 |
|
15 |
--- |
16 |
targets/support/livecdfs-update.sh | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh |
20 |
index 0928f17..5e578b0 100755 |
21 |
--- a/targets/support/livecdfs-update.sh |
22 |
+++ b/targets/support/livecdfs-update.sh |
23 |
@@ -5,7 +5,7 @@ RUN_DEFAULT_FUNCS="no" |
24 |
source /tmp/chroot-functions.sh |
25 |
|
26 |
# Allow root logins to our CD by default |
27 |
-if [ -e /etc/sshd/sshd_config ] |
28 |
+if [ -e /etc/ssh/sshd_config ] |
29 |
then |
30 |
sed -i 's:^#PermitRootLogin\ yes:PermitRootLogin\ yes:' \ |
31 |
/etc/ssh/sshd_config |