Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   Internet, Networking, and Wireless (http://www.mac-forums.com/forums/internet-networking-wireless/)
-   -   How do you disable airport file sharing and keep an ftp server running? (http://www.mac-forums.com/forums/internet-networking-wireless/258261-how-do-you-disable-airport-file-sharing-keep-ftp-server-running.html)

joebohr 11-23-2011 05:51 PM

How do you disable airport file sharing and keep an ftp server running?
 
I want people to be able to share files using my ftp server, but not be able to gain any file sharing access via airport (on a mac of course). I use Pureftpd manager for my ftp server. Please help. Also, if anyone knows anything about Pureftpd manager, can you tell me how to get it to display my ip on the server status page; it always used to but recently stopped. Any tips will be appreciated.

MacsWork 11-26-2011 09:15 AM

PureFTPd allows for virtual users. I would use virtual users rather than native OS X users as PureFTPd virtual users have zero rights in the OS X file system other than what is specified by PureFTPd manager.

As for the IP not showing, is the service running?

joebohr 11-26-2011 10:37 AM

Quote:

Originally Posted by MacsWork (Post 1331709)
PureFTPd allows for virtual users. I would use virtual users rather than native OS X users as PureFTPd virtual users have zero rights in the OS X file system other than what is specified by PureFTPd manager.

As for the IP not showing, is the service running?

I was using virtual users previously, but they may have had the same user ID as a native user. I changed this, but it made no difference. I couldn't connect to FTP with file sharing off, but the second I turned it back on it connected.

I'm not sure what you mean by the service, but yes the daemon is running and it used to display it before I restarted my computer.

MacsWork 11-26-2011 02:38 PM

What OS are you running?

I am currently using Lion and PureFTPd 1.8.

In Lion there are no native FTP services so perhaps I cannot replicate your scenario. In previous versions of OS X the sharing preference allowed for FTP, SMB as well as AFP.

Turn off file sharing, open the terminal and try to telnet to port 21 to see if you get an answer.

telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-Local time is now 14:36. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.

joebohr 11-26-2011 02:57 PM

Quote:

Originally Posted by MacsWork (Post 1331826)
What OS are you running?

I am currently using Lion and PureFTPd 1.8.

In Lion there are no native FTP services so perhaps I cannot replicate your scenario. In previous versions of OS X the sharing preference allowed for FTP, SMB as well as AFP.

Turn off file sharing, open the terminal and try to telnet to port 21 to see if you get an answer.

telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-Local time is now 14:36. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.

I am running Mac OS X 10.6.8 and Pureftpd version 1.8. I tried what you suggested, but received the following message when file sharing was turned off:
"telnet 127.0.0.1 21
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host"


I turned off everything except for FTP under preferences, but I was still able to "connect as" from another networked computer. That computer seems to be storing my password somehow, is there any way to delete that?

Also, what do you mean by "in Lion there are no native ftp services?" Is this saying that Lion does not have the option to "connect as" or "share screen" using airport under the shared tab?

MacsWork 11-26-2011 06:55 PM

Passwords would be stored in /Applications/Utilities/Keychain.app

If you connect to server you need to specify the connection type i.e.:

ftp://127.0.0.1
File Transfer Protocol

afp://127.0.0.1
Apple File Protocol

smb://127.0.0.1
Small Message Block (windows sharing)

vnc://127.0.0.1
Screen Sharing


All times are GMT -4. The time now is 03:25 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.