This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ftp can't set uid




Corinna Vinschen wrote:
> 
> On Fri, Dec 07, 2001 at 04:14:08PM +0000, Don Sharp wrote:
> > I found the following message during a google search, but no resolution.
> > www.cygwin.com/ml/cygwin/2001-05/msg01199.html
> > Today I stopped inetd, removed as service, reinstalled inetutils,
> > installed as service but am still seeing all the same things Gerrit
> > reported. Cygwin bang up to date with everything.
> >
> > Any joy making ftp work anyone?
> 
> Yep.  For months now.  Did you check /etc/passwd and /etc/group?
> And the permissions?  /etc and it's files readable?

Thanks Corinna. I had not remade my /etc/passwd and /etc/group after the
reinstall as I thought the original ones would do. Obviously not!
Remaking them with
mkpasswd -l > /etc/passwd
mkpasswd -l > /etc/group

allowed me ftp access. I removed the guest entry from passwd as per a
suggestion in the list (from Egor Duda I believe) to tighten the ftp
security.

Cheers

Don Sharp

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]