negrusti Posted July 26, 2017 Share 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? Link to comment Share on other sites More sharing options...
d00p Posted July 26, 2017 Share 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 Link to comment Share on other sites More sharing options...
negrusti Posted July 26, 2017 Author Share Posted July 26, 2017 libnss-mysql on Ubuntu. Will file a bug, thanks! Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.