Re: allow SFTP FTP but not SSH. Can ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx / trevor@xxxxxxxxxxxxxxxxx
  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>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux