Skip to content
source and specfile for the console-login-helper-messages RPM
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
usr
.gitignore
LICENSE
README.md
manual.md
reviewers.md

README.md

console-login-helper-messages

Shows helper messages at or before login using motd, issue, and profile.

Useful in situations where a desktop environment is not available and information is communicated through the terminal.

Messages shown

The following messages will show before or upon login after installing console-login-helper-messages and enabling the needed units (see manual).

  • issuegen:
    • available ssh keys from /etc/ssh
    • ip addresses of network interfaces to SSH into
  • motdgen:
    • system information from /etc/os-release
  • profile:
    • failed systemd units

Example

Before login (serial console):

SSH host key: SHA256:yP+/44/bfuj6UKHdUwAVURsO3y6haKLKfSFNcnmn7bY (ECDSA)
SSH host key: SHA256:gGDZ/JQzwL76UpT29dyZ/M6Zua7QvGyegP8aTLc/D+Y (DSA)
SSH host key: SHA256:nQEysCYP3hZgkus2+e28KQGrs0pRI2NOgJGQ6L8PnyU (RSA)
SSH host key: SHA256:A3c6toZ3/eTMKNDmyyG9CYUSWsdSunmTeOC68iuDfAg (ED25519)
eth0: 192.168.122.36 fe80::5054:ff:fe85:43a6

At login:

Fedora (29 (Cloud Edition))
[systemd]
Failed Units: 1
    var-srv.mount

Customizing

The motd/issue messages are defaults and can be disabled following the manual.

Messages can be appended to the motd or issue, by placing files in the directories sourced by motdgen/issuegen to generate the message (see manual).

To Build

Build the RPM packages by cloning the downstream Fedora SCM repo and executing fedpkg local:

git clone https://src.fedoraproject.org/rpms/console-login-helper-messages
cd console-login-helper-messages
dnf builddep -y console-login-helper-messages.spec
fedpkg local
You can’t perform that action at this time.