This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
fuss:security [2022/04/19 08:28] – external edit 127.0.0.1 | 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 ':' | ||
+ | </ | ||
+ | |||