LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-08-2006, 04:49 AM   #1
foucault
LQ Newbie
 
Registered: May 2005
Location: Athens, Greece
Distribution: Ubuntu 6.06 "Dapper Drake"
Posts: 25

Rep: Reputation: 15
proftpd and users


Hi all,
I was trying to set up a little FTP Server on my box, however I am having tough time configuring proftpd. The concept is very simple, I just want an admin user (ftpadmin) that can do basically everything, create directories, delete directories/files and so on and a guest user (ftpguest) that can only read/download files. I have created all required users in my system, and also added:

Code:
<Directory /home/ftp/*>

	<Limit ALL>
		Order Allow,Deny
		AllowUser ftpadmin
		DenyAll
	</Limit>

</Directory>
in the proftpd.conf (Of course I have created the required alias and have given them login rights).

However whatever I am trying to do as ftp-admin is fruitless. For example when I am trying to create a directory I get Permission Denied. Whatever I am trying to do I get Permission Denied (except for READ/LIST). The /home/ftp directory belongs to the ftp user under the ftpadmin group, which has read/write/execute permissions in this folder.

I would love some help here. I know this setup might not be the best one, however I would like to make it work first and then we'll talk about what is better or not.

Thank you in advance!
 
Old 10-09-2006, 10:23 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 198Reputation: 198
Sorry as I don't have a solution for your problem but I'll jump to why you shouldn't do this. Don't do this, bad idea. If it's your server, create a user with shell access via ssh that has access to manipulate the ftp directories, etc. FTP is insecure and everything is passed over plain text, you should limit it's functionality.
 
Old 11-17-2006, 04:39 PM   #3
stascrash
LQ Newbie
 
Registered: Nov 2006
Location: Chicago, IL
Posts: 29

Rep: Reputation: 15
hey, i had same problem, i solved it using CHMOD option,. and then you give it a set of permissions.
here is a link to basic manual for CHMOD.
 
  


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
Adding users in ProftpD Darkfin Linux - General 3 12-23-2009 08:00 AM
proftpd Log-in users jazee Linux - Software 1 03-15-2006 03:35 PM
proftpd and users emptystrings Linux - Newbie 3 11-07-2004 08:33 PM
users proftpd strider17 Linux - Newbie 2 02-05-2004 06:21 PM
Proftpd kicking users unique3 Linux - Software 0 02-26-2003 10:36 PM


All times are GMT -5. The time now is 11:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration