negrusti Posted July 26, 2017 Posted July 26, 2017 After switching shell for FTP user from /bin/false to /bin/bash, I am able to login via SSH/SFTP as this user only after I manually restart nscd. Shall I file a bug?
d00p Posted July 26, 2017 Posted July 26, 2017 libnss-mysql or libnss-extrausers? On Debian I suppose? After all, nscd is a CACHING daemon, if the user existed already, it might be cached so one would need to invalidate the cache. The problem is, only the cronjob (as root user) can restart nscd/invalidate the cache, so we would need to add a new task when the ftp user changes (especially/only the shell). Just file an issue on github for now, I'll think of something
negrusti Posted July 26, 2017 Author Posted July 26, 2017 libnss-mysql on Ubuntu. Will file a bug, thanks!
Question
negrusti
After switching shell for FTP user from /bin/false to /bin/bash, I am able to login via SSH/SFTP as this user only after I manually restart nscd. Shall I file a bug?
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.