Skip to content

Instantly share code, notes, and snippets.

View LitileXueZha's full-sized avatar
💭
homing

诸葛林 LitileXueZha

💭
homing
View GitHub Profile
@cha55son
cha55son / dynmotd
Last active September 18, 2024 22:35
RHEL (Centos/Fedora) dynamic motd
#!/bin/bash
# Installation:
#
# 1. vim /etc/ssh/sshd_config
# PrintMotd no
#
# 2. vim /etc/pam.d/login
# # session optional pam_motd.so
#