Users with /bin/false shell to login on vsftpd
With default configuration of vsftp (vsftpd.conf under /etc) users with no shell or /bin/false shell are not able to login vsftpd ftp server. This is because vsftpd.conf includes such a line to enable pam module.
pam_service_name=vsftpd
This line points to which pam service name will be applied. Pam configuration related to vsftpd is then /etc/pam.d/vsftpd .
This pam file contains a file such as:
auth required pam_shells.so
This means basically only the users who have valid shells will be authenticated. Setting the shell to /bin/false of a user simply means that this user will not be able to login the system via vsftpd. (ftp service).
To enable users with no valid shell to login the ftp server, commenting out this line in /etc/pam.d/vsftpd file will be sufficient.
- 0 Comment
- Halil Demirezen
- 31 Jul 2008, 16:30
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Disabling reverse dns lookups in ssh
- Disabling ssh password authentication
- Recursively mput with smbclient
- XFS Filesystem has duplicate UUID problem
- Lowercase Table Names in MySQL
- Passwordless sudo setup
- Redirecting TCP ports with redir
- Booting from an ISO image using qemu
- Redirecting tcp / udp ports with socat
- Remove all frozen messages from exim mail queue
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
