From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83106 invoked by alias); 16 Aug 2016 09:20:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 83091 invoked by uid 89); 16 Aug 2016 09:20:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-93.8 required=5.0 tests=AWL,BAYES_05,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=bob, Bob, disconnected, H*f:sk:CAMNUbh X-HELO: calimero.vinschen.de Received: from ipbcc0190b.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.25.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Aug 2016 09:20:12 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 88577A80C32; Tue, 16 Aug 2016 11:20:10 +0200 (CEST) Date: Tue, 16 Aug 2016 11:40:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Launch cygwin as non-domain user Message-ID: <20160816092010.jtr3yuugrowkcy2h@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gfydyyzomjvfvpv7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2-neo (2016-07-23) X-SW-Source: 2016-08/txt/msg00250.txt.bz2 --gfydyyzomjvfvpv7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1204 On Aug 15 11:53, Bob Van wrote: > I didn't realize there was a response (on aug 8th to aug 6th) to this > since didn't get a mail, but am subscribed to digest now. >=20 > I have no passwd or group files. When I echo username, it's as I expect... >=20 > CHI+User(14497)@RVANOVERMEIREN ~/ror ^^^^^^^^^^^^^^^ This does not look like a local user account. Is CHI your AD domain or your local machine name? The above occurs if a Windows system call fails, i. e. LookupAccountSid probably returns with an error code outlining that it can't contact the DC. If you want to use your AD username even when disconnected from the DC, it really makes sense to generate an /etc/passwd entry for your user account, as well as /etc/group entries for the AD groups you're member in. To create these entries you can use the mkpasswd/mkgroup tools or, alternatively, the getent tool. Either way, obviously you must be connected to your DC when doing so. Then, if you're disconnected, Cygwin can easily fetch this information from the local files. HTH, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --gfydyyzomjvfvpv7 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXstrKAAoJEPU2Bp2uRE+gAlEP/2tTDNaX5K7jMBNNyKZcCUMx 99XXcDirR3HEdLNX1kcoSJA2JFB9y9FiNk1vOEKIDiyHL+EEJumyOSko/P+9EVlo llo7qCLaGnMwyOHUHQNqCFm9ycBqTUAHizF2K9wiE7X1VPjdD3DDBL9B645MyveC 9G4e3RHZ9CfkcClealeb/x5/1U+5BocW+0sKgfUk1PY7XcdvUcpjvWOPVMMenCmU wrTWRcTZhjF9T8s9Q0d27X0qu2+167faytKjUP8KYCoQEUPqZZllkfrQoCJP1l1k yMqSRnlLsG4DkQsDKgY1I+RiM6TklDEF24U2KljIqzEIV9xCFfFuCi9zzLH0hbXd 8tvSJgCw1dd7yzXYtPTG90nOJQi0iZ+dCKTb5qrKRhZ/weZ/R6kfndWVoIjxT/n9 1GcG+LP94GeWcOvJK1xCippxYj6hYz8jY/KNzs0PMObo28ioMS+lZYo067GcM4CF XkKs7fzZTVK2+POdWKo8AtxmFqtf3AFmN4u1SDwbjVoR1b1/rHdzZEHGcQ/4FjMF XaORUao8eh7WP5kiFA0/X9jjhfXv16dk54PLDrjymwMjg/wK0NOSW8uLAtAu/ZJI xhyomnmPAoEyOCZCc5ETs84f9/xdajUbgyWXiM2dLTJZUxlGiGaPQvr1bi+w0SFZ eUcO16KP4QelLUnbvl1H =+6uf -----END PGP SIGNATURE----- --gfydyyzomjvfvpv7--