Hi Johan, > SL5.0 webserver, I created a user for every 'customer' with no shell > login (sbin/nologin). The users home = /var/www/html/name-of-site/htdocs. > In vsftpd.conf I made sure that they cannot leave their home dir > (chroot jail). Some 'customers' want to use secure ftp, but then I > have to give them shell login. Is there a possibility to let users > choose wether they want to use FTP or SFTP without giving them > remote shell login ?
With SFTP yes, with vsftpd I'm not sure (maybe someone else can answer). With SFTP it's a simple matter of chroot jailing them and making their login shell be the sftp-server. Regards, Michael. > thanx, > > Johan Mares > > -- > VLIZ > Flanders Marine Institute ------- End of Original Message -------