Skip to content

images: add build-time option to disable root SSH access#38

Merged
mihai-chiorean merged 4 commits intoedgeengineer:mainfrom
StefanaHanc:disable-root-ssh
Oct 6, 2025
Merged

images: add build-time option to disable root SSH access#38
mihai-chiorean merged 4 commits intoedgeengineer:mainfrom
StefanaHanc:disable-root-ssh

Conversation

@StefanaHanc
Copy link
Contributor

Introduce configuration variable EDGEOS_DISABLE_ROOT_SSH.
When set to 1:

  • root login via SSH is disabled
  • 'admin' user is created with UID 1000 and empty password
    Default (0) keeps current behavior.

Introduce configuration variable EDGEOS_DISABLE_ROOT_SSH.
When set to 1:
- root login via SSH is disabled
- 'admin' user is created with UID 1000 and empty password
- edgeos-image includes edgeos-user automatically

Default (0) keeps current behavior.

Signed-off-by: StefanaHanc <stefanahanc@yahoo.com>
@@ -0,0 +1,55 @@
# EdgeOS Build Configuration Template
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to add this file? usually we generate it dynamically with ./bootstrap.sh based on a template. mostly because we're actively changing what goes into local.conf.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than that, the rest looks good to me!

conf: remove build/conf/local.conf (added by mistake)
edgeos-user: add SUMMARY and DESCRIPTION for recipe linter
@mihai-chiorean mihai-chiorean merged commit 13d558d into edgeengineer:main Oct 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants