ProFTPD | Add group and user FTP

Jasper Frumau jasperfrumau at gmail.com
Sun Feb 7 06:44:14 PST 2010


When I ran:

 $proftpd -t

I got:

Checking syntax of configuration file
192.168.10.189 - PRIVS_ROOT: unable to seteuid(): Operation not permitted
192.168.10.189 - PRIVS_ROOT: unable to setegid(): Operation not permitted
192.168.10.189 - PRIVS_RELINQUISH: unable to seteuid(PR_ROOT_UID): Operation
not permitted
192.168.10.189 - PRIVS_RELINQUISH: unable to setegid(session.gid): Operation
not permitted
192.168.10.189 - PRIVS_RELINQUISH: unable to seteuid(session.uid): Operation
not permitted
192.168.10.189 - mod_delay/0.6: error opening DelayTable
'/opt/local/var/run/proftpd/proftpd.delay': No such file or directory
Syntax check complete.

Clearly no privileges to run the prftpd test.

I went to system preferences > accounts and added group ftp with me as user
in it. Then I adjusted proftpd.conf and changed user to me (jasper) and
group to ftp.
# Set the user and group under which the server will run.
User                            jasper
Group                           ftp


Then I ran proftpd -t again, but I still got the same errors.

The I added the following command:

$ id
uid=501(jasper) gid=20(staff)
groups=20(staff),101(com.apple.sharepoint.group.1),401(com.apple.access_screensharing),204(_developer),100
(_lpoperator),98(_lpadmin),81(_appserveradm),80(admin),79(_appserverusr),61(localaccounts),12(everyone)

I do not see the group ftp added to the list. I did add it using the Mac;s
GUI for accounts. Strange ....

Then I ran:

$ sudo proftpd -t
Checking syntax of configuration file
Syntax check complete.

well still a bit confused here. Will work on it again when I have cleared my
head...






On Sun, Feb 7, 2010 at 4:58 PM, Jasper Frumau <jasperfrumau at gmail.com>wrote:

> I just added ProFTPD and I am adjusting the ProFTPD configuration file. I
> need to add ftp user and group. I went to system preferences > accounts and
> added group ftp. When I wanted to add user ftp it said the name was already
> reserved. I decided to abort and remove newly created group fpt.. So I guess
> a user ftp is already there. How can I check this from the command line? I
> am reading man dseditgroup as groupadd/useradd does not seem to be a valid
> command on my Mac. Haven't found a way to list all groups on the system yet
> though...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100207/8fb4782a/attachment.html>


More information about the macports-users mailing list