delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/21/04:29:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cygwin AT cygwin DOT com>
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
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 //<driveletter>, not //<servername>.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019