Mail Archives: cygwin/2007/07/26/19:51:49
--1635799168-37876600-1185493890=:27722
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
On Thu, 26 Jul 2007, Ren=E9 Berber wrote:
> Chris Stromsoe wrote:
>>
>>> How did you setup proftpd as service?
>>
>> cygrunsrv --install proftpd --path /usr/sbin/proftpd.exe --args=20
>> "nodaemon" --type auto --disp "Cygwin proftpd" --desc "ProFTP FTP=20
>> daemon" --user sshd_server -e CYGWIN=3D"ntsec"
>
> Is that a typo? the option nodaemon is written as --nodaemon or -n.
it's a typo. It's "--nodaemon".
>> "cygrunsrv --start proftpd" after that fails.
>>
> ...
>> If I run without specifying --user, proftpd runs as SYSTEM. It does not
>> change users at all. If I log in with other users and upload files, the
>> files all end up owned by the SYSTEM user.
>
> I know all about that, but you can see your result, the error message=20
> you posted clearly states that the user could not change to SYSTEM...=20
> again: did you configyro proftpd correctly?
It's the default configuration.
Which, it turns out is the problem. Thanks for the hint. Apparently, the=
=20
created user (sshd_server) can't switch to SYSTEM at startup, but has no=20
problems switching to other users after proftpd is already running. So=20
/etc/proftpd.conf needs to specify the same user that you give to=20
cygrunsrv, or it won't start the service.
-Chris
--1635799168-37876600-1185493890=:27722
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--1635799168-37876600-1185493890=:27722--
- Raw text -