LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2009, 08:47 AM   #1
nagavinodh
Member
 
Registered: Aug 2009
Posts: 118

Rep: Reputation: 15
FTP


Hi,
Here We are using SSH client which has FTP.so easily able to transfer the file and change permissions.I would like to disable FTP for particular user.and also I would like to trace their activities.Is there anyway for that?.
 
Old 09-07-2009, 09:34 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by nagavinodh View Post
Hi,
Here We are using SSH client which has FTP. so easily able to transfer the file and change permissions. I would like to disable FTP for particular user. and also I would like to trace their activities. Is there anyway for that?.

You aleady have a thread where you are asking about how to trace user activities.

You do not normally get ftp as part of the ssh client. ftp is more common with an ftp client. However, many gnu/linux distributions use ftp as an alias to sftp.

So it is not clear if you want to disable regular ftp so a user is forced to use secure channels, or if you want to prevent a user from using ssh completely. Or perhaps you want to exclude a user from logging in remotely?

Whatever - if you have vftpd (likely) then you'll have a file called

/etc/vsftpd/ftpusers

adding the users username to this file disables ftp access:

# echo <username> >> /etc/vsftpd/ftpusers

to disable ssh access:

# chsh -s /sbin/nologin <username>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 10:12 AM
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 04:13 AM
files not visible in ftp site (but present in the /var/ftp/folder of the server) dongrila Linux - Newbie 2 12-23-2007 11:09 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration