Jump to content
Froxlor Forum
  • 0

nscd cache is not cleared after changing shell for FTP user


negrusti

Question

Posted

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

Posted

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 :)

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...