summaryrefslogtreecommitdiffstats
path: root/sshd_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2008-03-18 14:43:20 +0000
committerAntoine Ginies <aginies@mandriva.com>2008-03-18 14:43:20 +0000
commit74aa941fac3dc6acfdbdba059547bdacdb345ab7 (patch)
tree852eba607d673f104a0844062bb9d9764f89bc89 /sshd_wizard
parentfa7f5c6b1635f1f7b6ddf3395d2fcd68d5a06139 (diff)
downloaddrakwizard-74aa941fac3dc6acfdbdba059547bdacdb345ab7.tar
drakwizard-74aa941fac3dc6acfdbdba059547bdacdb345ab7.tar.gz
drakwizard-74aa941fac3dc6acfdbdba059547bdacdb345ab7.tar.bz2
drakwizard-74aa941fac3dc6acfdbdba059547bdacdb345ab7.tar.xz
drakwizard-74aa941fac3dc6acfdbdba059547bdacdb345ab7.zip
ssh-server works well without an FQDN
Diffstat (limited to 'sshd_wizard')
-rwxr-xr-xsshd_wizard/Sshd.pm18
1 files changed, 9 insertions, 9 deletions
diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm
index 4a4b3f0d..d9a28aa3 100755
--- a/sshd_wizard/Sshd.pm
+++ b/sshd_wizard/Sshd.pm
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# Drakwizard
-# Copyright (C) 2002,2005 Mandriva
+# Copyright (C) 2002,2008 Mandriva
#
# Authors: antoine Ginies <aginies@mandriva>
#
@@ -29,11 +29,11 @@ use Libconf::Templates;
use Libconf::Glueconf::Networking::Sshd_config;
-my $wiz = new MDK::Wizard::Wizcommon;
+my $wiz = new MDK::Wizard:::Wizcommon;
my $in = interactive->vnew;
my $conf = "/etc/ssh/sshd_config";
my $DOMAINNAME = chomp_(`dnsdomainname`);
-my $SHORTHOSTNAME = chomp_(`hostname -s`);
+#my $SHORTHOSTNAME = chomp_(`hostname -s`);
# we ask glueconf to give us the structure representing /etc/ssh/sshd_config
my $sshd = new Libconf::Glueconf::Networking::Sshd_config({ filename => '/etc/ssh/sshd_config' });
@@ -47,12 +47,12 @@ my $o = {
var => {
wiz_port => '',
},
- init => sub {
- my ($err, $msg) = test_host_domain($SHORTHOSTNAME, $DOMAINNAME);
- if (!$err) {
- $in->ask_warn(N('Error'), $msg);
- die 'wizcancel';
- }
+# init => sub {
+# my ($err, $msg) = test_host_domain($SHORTHOSTNAME, $DOMAINNAME);
+# if (!$err) {
+# $in->ask_warn(N('Error'), $msg);
+# die 'wizcancel';
+# }
},
needed_rpm => [ 'openssh-server' ],
defaultimage => "/usr/share/wizards/sshd_wizard/images/IC-Dssh-48.png",