LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2005, 09:59 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
how to deny user to use ftp to access system


I use vsftp server , I want to deny user to use ftp to access the system , could suggest what can I do ? thx
 
Old 05-22-2005, 11:13 AM   #2
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
There are several alternatives. In a nutshell:

- If you don't want any user to use FTP: Stop the FTP service.
- If you only want certain users to log-in: Disable anonymous connection and specify the list of users that you want to allow to connect.
- If you want to restrict what users can see: Grant specific rights to the ftp folders
 
Old 05-23-2005, 05:55 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
thx reply ,

I think the below alternative is suit for me , could suggest how to do it ? thx



- If you only want certain users to log-in: Disable anonymous connection and specify the list of users that you want to allow to connect.
 
Old 05-23-2005, 06:18 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Add the usernames of the users you don't want to use ftp in /etc/ftpusers
 
Old 05-23-2005, 08:39 PM   #5
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
thx reply , instead of add all users to the /etc/ftpusers ( because we have many users) , can I deny the user by group ? thx
 
  


Reply



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
only FTP access to user not ssh or telnet farhank Linux - Security 3 10-27-2005 09:30 AM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM
can you restrict ftp USER access to certain ips? linuxboy69 Linux - Software 2 02-26-2004 04:05 PM
GFTP allowing Root access to an FTP user scottpioso Red Hat 2 01-07-2004 06:20 PM
new user has access to whole system hydro Linux - Newbie 7 02-18-2003 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:38 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
Open Source Consulting | Domain Registration