Article View: news.software.readers
Article #261042Cygwin username problems. (was: New news reader?)
From: Frank Slootweg
Date: Sat, 10 Sep 2016 18:52
Date: Sat, 10 Sep 2016 18:52
29 lines
2414 bytes
2414 bytes
mechanic <mechanic@raspberry.example.net> wrote: [...] > Well done for getting Cygwin running under windows. I had no end of > trouble - something to do with username being invalid - so I > retreated to VirtualBox to run it under Ubuntu. I must try again > some time. Maybe your problem is similar to mine, which was a mixup of the Windows and Cygwin usernames and 'home' directories. My fix was this entry in the Cygwin passwd file: franks:unused_by_nt/2000/xp:1002:513:U-IPC1FS03\Frank,S-1-5-21-4167031455-193225231-2797902535-1002:/home/franks:/bin/bash The two 'franks' field were 'Frank', which is my Windows username. 'franks' is my Cygwin username and '/home/franks' is my Cygwin home directory. (N.B. Do *not* change the third/middle 'Frank' (i.e. in 'U-IPC1FS03\Frank') field, because that's the mapped-to/mapped-from Windows username.) Note that in my case the passwd file is relative to the *Cygwin* root directory (in my case C:\cygwin\etc\passwd aka /cygdrive/c/cygwin/etc/passwd) while my home directory is relative to the *Windows* 'root' directory (in my case C:\home\franks aka /cygdrive/c/home/franks). I use this 'strange' configuration, so that I can have one home directory which is shared between Windows and Cygwin. HTH.
Technical Details
Message-ID:
<e3j34aFkgh5U1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<nsmgurz6tejc.1t86jqnzolxdq.dlg@40tude.net> <nqu586$ru1$1@gioia.aioe.org> <MPG.323cb738ebe56e87989680@news.virginmedia.com> <e3fturFs2p0U1@mid.individual.net> <nquvti$gd8$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <e3j34aFkgh5U1@mid.individual.net>
Subject: Cygwin username problems. (was: New news reader?)
Date: Sat, 10 Sep 2016 18:52:58 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <nsmgurz6tejc.1t86jqnzolxdq.dlg@40tude.net> <nqu586$ru1$1@gioia.aioe.org> <MPG.323cb738ebe56e87989680@news.virginmedia.com> <e3fturFs2p0U1@mid.individual.net> <nquvti$gd8$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
Lines: 29
X-Trace: individual.net JBk4gGCHPxC9D/bsq0fCtwLEY+tYqGSVNmUxDxWfgDVVcPSFzi
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:LBlgGlbW1XjUn/XxF7DOjkOhNLk=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.2-WOW64/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
X-Antivirus: avast! (VPS 160910-0, 09/10/2016), Outbound message
X-Antivirus-Status: Clean
X-Received-Body-CRC: 2605501950
X-Received-Bytes: 2262