This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:security [2019/04/29 22:44] – [Varnish and Fail2Ban] office | fuss:security [2022/09/27 14:15] – [Intercept SSL 2.0 / SSL 3.0 Using SSLsniff] office | ||
---|---|---|---|
Line 116: | Line 116: | ||
PASS secretpassword | PASS secretpassword | ||
</ | </ | ||
+ | |||
+ | |||
+ | ====== Normalizing the No-Login Shell after Debian Updates ====== | ||
+ | |||
+ | After successive updates and corrections, | ||
+ | < | ||
+ | systemd-coredump: | ||
+ | rslsync: | ||
+ | sshd: | ||
+ | </ | ||
+ | where the correct answer seems to be ''/ | ||
+ | |||
+ | A solution to batch-change the shell for all users that have no-login shells, correcting the path, would be the following: | ||
+ | <code bash> | ||
+ | for i in `cat /etc/passwd | grep nologin | awk -F ':' | ||
+ | </ | ||
+ | |||