title: Cygwin user permissions for sftp (Operation not permitted)
body: <p>So, I installed Cygwin 1.7.17 on Win7, I used mkpasswd to bring in a domain user (my main admin account). I used mkpasswd again to bring in a local account I created called "ffftp".</p>
  
  <pre><code>mkpasswd -d -u administrator &gt; /etc/passwd
  mkpasswd -l -u ffftp &gt;&gt; /etc/passwd
  </code></pre>
  
  <p>I used mkgroup to bring in all the necessary windows groups.</p>
  
  <p>I can type </p>
  
  <pre><code>$ login
  user: ffftp
  password: mypassword
  </code></pre>
  
  <p>And it logs in... but it says this:</p>
  
  <pre><code>Last login: Tue Apr 16 11:36:49 on pty0
  login: no shell: /bin/bash: Operation not permitted
  </code></pre>
  
  <p>The local user ffftp is just a regular "User" group in windows.</p>
  
  <p>The SID for ffftp starts with S-1-5-21.</p>
  
  <p>I've already created a cygwin/home/ffftp</p>
  
  <p>And set its permissions in windows.</p>
  
  <p>How can I possibly set the private key for "ffftp", if I cannot login to that user?? What am I missing???</p>
  
  <p>Also if anyone has a guide on setting up AES encryption with cygwin sshd that would be greatly appreciated.</p>