Using an ftp daemon on macOS Monterey - nonprivileged user generation

I was looking to maximize binary throughput on my home LAN in macOS Monterey and thought about using an ftp daemon (vsftpd installed through homebrew). This should theoretically maximize throughput since ftp pretty much just reads data and dumps it down a tcp port.


So ... I'm configuring vsftpd.conf and ran into nonpriv_user=ftpsecure, and was wondering how you create a minimal nonprivileged user in macOS. The useradd command is missing, and a standard or sharing only user carries with it a lot of baggage I'm not sure I need or want.


Under a more standard unix I'd just adduser ftpsecure and point the user to a no login shell - how do you generate such a user on macOS?


... or should I simply forget about it and continue using the sshd (which still incurs the overhead of encryption)?


Thanks in advance for any advise.

Posted on Apr 4, 2022 11:04 PM

Reply

Similar questions

2 replies

Apr 29, 2022 11:15 AM in response to Big Iron

Big Iron wrote:

I was looking to maximize binary throughput on my home LAN in macOS Monterey and thought about using an ftp daemon (vsftpd installed through homebrew). This should theoretically maximize throughput since ftp pretty much just reads data and dumps it down a tcp port.

So ... I'm configuring vsftpd.conf and ran into nonpriv_user=ftpsecure, and was wondering how you create a minimal nonprivileged user in macOS. The useradd command is missing, and a standard or sharing only user carries with it a lot of baggage I'm not sure I need or want.

Under a more standard unix I'd just adduser ftpsecure and point the user to a no login shell - how do you generate such a user on macOS?

... or should I simply forget about it and continue using the sshd (which still incurs the overhead of encryption)?

Thanks in advance for any advise.


you can see if there is anything here

https://github.com/Homebrew/brew/issues

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using an ftp daemon on macOS Monterey - nonprivileged user generation

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.