allow SFTP FTP but not SSH. Can ??
Trevor "TeC" Christian
trevor at bouyon.dalive.com
Sat May 7 05:09:53 UTC 2005
Trevor "TeC" Christian wrote:
> Alexander Dalloz wrote:
>
>> Am Mo, den 02.05.2005 schrieb M E Fieu um 19:29:
>>
>>
>>
>>> Hi..Alex.. Thanks it works. But I found that it works
>>> for FTP only. if I add a /bin/false at the end of the
>>> user account /etc/passwd entries. The SSH will not
>>> work but SFTP will not work as well. Is that what you
>>> encounter too ?
>>>
>>
>>
>> I wonder that you expect something different. Of course /bin/false as
>> user account shell will prevent him from using either ssh or sftp.
>>
>> Alexander
>>
>>
>>
>>
>
> I was just reading through the thread, and got a somewhat crazy idea.
> What if you give the ssh, sftp and ftp access, and just edit the users
> shell login script so that it logs them off before the complete
> logon? Crazy huh?
> Crazy enough to work....hahahha
>
> What do u guys think?
>
fault in above suggestion - granting the user sftp access, he/shee could
simply replace or remove the script running the logout command....
--
*Trevor "TeC" Christian*
Cell #: (767) 225 4472
IM
MSN: trevorc98 at hotmail.com / trevor at bouyon.dalive.com
YM : trevorc01
AIM: DoubleOTeC
------------------------------------------------------------------------
Curriculum Vitae (PDF) <http://bouyon.dalive.com/cv/curriculum_vitae.pdf>
Curriculum Vitae (HTML) <http://bouyon.dalive.com/cv/curriculum_vitae.html>
More information about the fedora-list
mailing list