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: Son of son of SSH & Cygwin; scp and sftp


> 
> > 
> > 2. How did you create the /etc/passwd entry for this
> >    second user?
> 
> test::1006:546:U-LOCALHOST\test,S-1-5-21-
> 1743480672-7889942-740312968-
> 1006:/home/test:/bin/bash
> 

My guess is that somehow this entry is incorrect,
probably the 'S-1-5-...' is wrong somehow.

You might try:

1. Save /etc/passwd to /etc/passwd.save

2. Delete the entry for 'test'.

3. mkpasswd -d | grep test >> /etc/passwd

4. Check to see whether the entry for 'test'
   is reasonable.  Also:

    $ diff /etc/passwd /etc/passwd.save

---

--
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]