steigr / console-login-helper-messages

A set of scripts to show helpful system information to the login terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License GitHub Release

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.

Table of Contents generated with DocToc

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

Installation

See the manual.

To verify working package functionality manually (for now), see the reviewers doc.

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).

Development

For information on contributing and testing changes in a virtual machine, see the development README.

About

A set of scripts to show helpful system information to the login terminal.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 86.7%Language:Makefile 12.1%Language:Dockerfile 1.2%