Mac Library Launchdaemons
Feb 12, 2014 Mac OS X Lion (10.7) MacRumors attracts a broad audience of both consumers and professionals interested in the latest technologies and products. We also boast an active community focused on purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms. Nov 21, 2019 A great source for Mac launchd examples are these two directories on your MacOS system: /System/Library/LaunchAgents and /System/Library/LaunchDaemons These Mac folders have dozens of launchd plist example files. Be careful not to edit these files in place, as they are important to how your MacOS system runs.

Click here to return to the '10.7: Enable the FTP server' hint |
Best to go with SFTP by enabling Remote Login (SSH).
Transmit supports SFTP, you can do it from the command line as well, if you are on another platform such as Windows and you want to SFTP to your Mac, you can use WinSCP or other SFTP free apps.
FTP, Telnet, RSH, etc. All transmit passwords in the clear, and they should be completely removed from service as they are not secure by a long shot.
The only reason for FTP is an anonymous FTP server where you login with uid: anonymous and your email address as the password.
Absolutely right. People still use anonymous FTP because it's simpler than setting up an entire (anonymous!) HTTP server if you're just in the business of publishing files.
I would never dream of installing an FTP server which asks for authentication though.
OS X Server's FTP has been pretty lame for quite some time, and I can't think of any good reason to turn it back 'on'
A much better choice is PureFTP, which is free, and has a nice Mac FTP Manager GUI:
http://jeanmatthieu.free.fr/pureftpd/
For the sake of security, I recommend making the move to sftp/scp, which are actually part of ssh. All traffic, including password exchange is encrypted. Most GUI tools support it now. Just enable 'remote login' and that turns on ssh, which in turn enables scp/sftp. FTP should really be abandoned.
Ditch Apple's lame FTP server implementation and install PureFTPd, a free, much more robust solution that allows virtual folders and accounts (and can use Open Directory accounts, too):
http://www.pureftpd.org/project/pure-ftpd
While this hint will work as stated, it's pretty much incorrect usage of launchctl
for the purpose of the hint.
launchctl load..
loads the FTP service into launchd
's database of services. When you do an unload
, you are telling launchd
to not manage it anymore.
Launchdaemons Folder Mac
So a better way to do this--probably the proper way--is to first issue the command to load the service:sudo launchctl load -w /System/Library/LaunchDaemons/ftp.plist
Then, if you'd like to stop FTP, issue this command:sudo launchctl stop com.apple.ftpd
And if you decide you'd like to bring it back up, use this command:sudo launchctl start com.apple.ftpd
If you'd like for launchd
to forget about FTP, that is when you would run this:sudo launchctl unload /System/Library/LaunchDaemons/ftp.plist
The hint as-is will work, but seems a little counter-productive to make launchd
remember and forget about FTP all the time.
@leamanc: Absolutely correct. I entered the comments wanting to post this, too. You beat me at it. :-)

Terminal User Guide
The launchd
process is used by macOS to manage daemons and agents, and you can use it to run your shell scripts. You don’t interact with launchd directly; instead you use the launchctl command to load or unload launchd
daemons and agents.
I don't understand this error.Or is there another way to get gnutls on Mac OS 10.11.5?ThanksEDIT 2016-07-04: never mind, I let go my plan of compiling inadyn on Mac, where I need gnutls. There are too many other issues anyway. Gmp library c.
During system startup, launchd
is the first process the kernel runs to set up the computer. If you want your shell script to be run as a daemon, it should be started by launchd
. Other mechanisms for starting daemons and agents are subject to removal at Apple’s discretion.
You can get an idea of the various daemons and agents managed by launchd
by looking at the configuration files in the following folders:
Mar 12, 2020 Unhide the Library folder temporarily. If you just want to access the Library folder once or twice, you can use one of these two methods easily. Finder and the Option key. This first method of accessing the Library folder on Mac is the quickest.
Folder | Usage |
---|---|
/System/Library/LaunchDaemons | Apple-supplied system daemons |
/System/Library/LaunchAgents | Apple-supplied agents that apply to all users on a per-user basis |
/Library/LaunchDaemons | Third-party system daemons |
/Library/LaunchAgents | Third-party agents that apply to all users on a per-user basis |
~/Library/LaunchAgents | Third-party agents that apply only to the logged-in user |