Merge pull request #1588 from ioannidesalex/patch-32

Fix nologin
This commit is contained in:
Serghey Rodin 2018-05-31 21:09:26 +03:00 committed by GitHub
commit e9589f586d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -851,7 +851,7 @@ rm /tmp/vst.pem
# Adding nologin as a valid system shell
if [ -z "$(grep nologin /etc/shells)" ]; then
echo "/sbin/nologin" >> /etc/shells
echo "/usr/sbin/nologin" >> /etc/shells
fi