EFA4 Initial SSH

Testing of eFa 4
Post Reply
henk
Posts: 382
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

EFA4 Initial SSH

Post by henk » 09 Mar 2019 11:27

In the process of testing efa4 I did want to change some settings before the Initial configure script.
As root will not be able to login ( due ssh policy and Selinux) and service sshd is disabled, as good security policy, by default

To be able to login with SSH. ( to be able to copy and paste and watch the configure process and logs)
Do not use this user to exec the install script!

First create tmp admin user for SSH access

Code: Select all

useradd admin
usermod -aG wheel admin
passwd admin
Decide if you want to enable ssh

Code: Select all

systemctl enable sshd
Start sshd

Code: Select all

systemctl start sshd
When finisched you can delete the tmp admin user and use the CLI user created by the EFA configure script, or even disable ssh.

User avatar
shawniverson
Posts: 2804
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: EFA4 Initial SSH

Post by shawniverson » 09 Mar 2019 15:54

This is a good method, worthy of a wiki article. Relevant to a Kickstart build.

I will also add that you can build without using Kickstart to have an active account with SSH enabled with the password of your choice, which is suitable for VPS/Cloud/LXC, and should also cooperate with cloud-init.
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

Post Reply