Automating FTP users on Xserve

ahmednuaman

Registered
Hi,

I'm trying to set up an automated script that creates an FTP user once someone signs up to the service hosted on an Xserve. I've read that it could be done by editng /etc/ftpusers but I can't quite figure out how to add the passwords. In addition, I'd rather not just edit a file with, say, PHP, but get PHP to send a terminal command that creates a new FTP user. Is this possible?

Thanks.
 
Back
Top