« Tutorial about servlets in Jython | Main | Setting up ProFTPd as a Windows service under Cygwin »

November 02, 2005

How to add new users in Cygwin for SFTP access

In Windows, under Control Panel \ Administrative Tools \ Computer Management add a new user. If our new user is thingy

In cygwin as Administrator, type:

mkpasswd -l | grep thingy >> /etc/passwd

This adds a line to the passwords file for the new user.

You can then go in and change the user's home directory entry to the folder you wish them to access via sftp.

Tags: Cygwin

Posted by pj at November 2, 2005 05:17 PM