SCIENTIFIC-LINUX-USERS Archives

July 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Thu, 26 Jul 2007 20:41:23 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
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 -------

ATOM RSS1 RSS2