Bug 869848 - sshd.service enabled and ssh port open after install of F18 Beta TC6
Summary: sshd.service enabled and ssh port open after install of F18 Beta TC6
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-24 23:55 UTC by Volker Sobek
Modified: 2012-10-25 09:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-25 08:17:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Volker Sobek 2012-10-24 23:55:27 UTC
Description of problem:
Installed from the F18 Beta TC6 DVD, with the result that:
1. sshd.service is enabled by default
2. the ssh port is open by default

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora from a F18 Beta TC6 media
2. Reboot
  
Actual results:
The system allows remote login via ssh.

Expected results:
The system should not allow remote login unless it was explicitly enabled.

Comment 1 Tomas Mraz 2012-10-25 08:17:31 UTC
This is enabled by design. Otherwise remote installs without kickstart would not be possible.

Comment 2 Volker Sobek 2012-10-25 08:32:06 UTC
Is this new in f18? Which install method do you mean by 'remote installs without kickstart'?

Comment 3 Petr Lautrbach 2012-10-25 08:38:45 UTC
(In reply to comment #2)
> Is this new in f18?

I believe, it's enabled since Red Hat Linux times. 

> Which install method do you mean by 'remote installs without kickstart'?

e.g. vnc install http://docs.fedoraproject.org/en-US/Fedora/17/html/Installation_Guide/vncwhitepaperadded.html

Comment 4 Volker Sobek 2012-10-25 08:56:48 UTC
Thanks for the info. I just checked a fresh install of F17 and sshd.service is NOT enabled. How come?

Comment 5 Volker Sobek 2012-10-25 09:03:03 UTC
Also the docs state:

'If you want the daemon to start automatically at the boot time, type:

systemctl enable sshd.service' [0]

[0] https://docs.fedoraproject.org/en-US/Fedora/17/html/System_Administrators_Guide/s2-ssh-configuration-sshd.html

Comment 6 Petr Lautrbach 2012-10-25 09:07:26 UTC
If your F17 is installed from Live CD media, then sshd service is not enabled by default deliberately. LiveCD has root account with empty password and live cd install's just extract image to disk.

Comment 7 Volker Sobek 2012-10-25 09:27:48 UTC
(In reply to comment #6)
> If your F17 is installed from Live CD media, then sshd service is not
> enabled by default deliberately. LiveCD has root account with empty password
> and live cd install's just extract image to disk.

Yes, it was installed from a live, thanks for the clarification!


Note You need to log in before you can comment on or make changes to this bug.