Bug 8680 - Cannot login as root if filesystem is read only if allowempty is set
Summary: Cannot login as root if filesystem is read only if allowempty is set
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.1 M2
Assignee: Ross Burton
QA Contact: Francisco Pedraza
URL:
Whiteboard:
Depends on:
Blocks: 8365
  Show dependency tree
 
Reported: 2015-11-11 16:59 UTC by Frederik Sdun
Modified: 2016-03-07 06:33 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
patch to handle sshd_config_readonly if available (1.30 KB, patch)
2015-11-11 16:59 UTC, Frederik Sdun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Sdun 2015-11-11 16:59:30 UTC
Created attachment 2848 [details]
patch to handle sshd_config_readonly if available

If the filesystem is read only openssh uses ${sysconfdir}/ssh/sshd_config_readonly as config which is untouched by ssh_allow_empty_password
Comment 1 Ross Burton 2016-01-26 16:20:21 UTC
Rebased the patch to current oe-core master, and sent to the list.
Comment 2 Ross Burton 2016-02-08 15:55:29 UTC
Fixed in oe-core master cff11495cc376f080e06028655e4eb6c7f8a8094.