Yakov Hrebtov
November 15th, 2007, 07:49 AM
I want to setup user as ftp-only user.
On Fedora I can assign to user /usr/sbin/nologin shell. Such user cannot work interactively, but can work as ftp user.
On ubuntu, user with dummy shells (/usr/sbin/nologin, /bin/true for example) cannot connect as ftp user (I tested this using vsftpd server).
How can I do what I need?
Thanks in advance!
P.S. Also I wonder why almost all ubuntu system users has real /bin/sh shell!
On Fedora I can assign to user /usr/sbin/nologin shell. Such user cannot work interactively, but can work as ftp user.
On ubuntu, user with dummy shells (/usr/sbin/nologin, /bin/true for example) cannot connect as ftp user (I tested this using vsftpd server).
How can I do what I need?
Thanks in advance!
P.S. Also I wonder why almost all ubuntu system users has real /bin/sh shell!