Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 21 Jan 2002 10:29:25 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Adding NT domain users in cygwin? Message-ID: <20020121102925.D11608@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <000b01c1a25c$6c584660$b121e396 AT botten> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000b01c1a25c$6c584660$b121e396@botten> User-Agent: Mutt/1.3.22.1i On Mon, Jan 21, 2002 at 10:17:18AM +0100, Christian Jönsson wrote: > What I did was this. > > mkpasswd -d | grep chj >> /etc/passwd > mkgroup -d | grep chj >> /etc/group > > and then when I started the cygwin system I got into the chj account > (with "homedir" //servus/chj, hmm, is this good, didn't we abandon //?) No, we just abandonded //, not //. > However, I get a failure like this: > > bash: LOGNAME: parameter null or not set > > chj AT BOTTEN ~ > $ > > That happens when I start the cygwin system. > > > Now, a couple of questions. > > Is this the appropriate way of adding NT-domain users to the cygwin > system? Yes, but the latest mkpasswd has a convenient -u option now. > What is this thing about LOGNAME? Can I do anything to correct it? Search where it's used. If you use it in your .profile, don't do it. It's only set when logging in through some sort of user authentication (ssh, telnet, etc.) Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/