entry: hushlogin

This commit is contained in:
Thomas Bishop 2025-12-06 17:47:55 +00:00
parent cd79324861
commit 6df71ccdcd

26
zk/hushlogin.md Normal file
View file

@ -0,0 +1,26 @@
---
tags:
- propositional-logic
- logic
---
# hushlogin
Place this file `.hushlogin` in the home directory of a user who's login you
want to hush.
Then you won't get this at login:
```
Linux 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Dec 1 17:40:18 2025 from 217.155.254.57
```
Useful when scripting [ssh](./SSH.md) routines etc.