Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 21 Jan 2002 10:29:25 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Adding NT domain users in cygwin?
Message-ID: <20020121102925.D11608@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <000b01c1a25c$6c584660$b121e396@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 //<driveletter>, not //<servername>.

> However, I get a failure like this:
> 
> bash: LOGNAME: parameter null or not set
> 
> chj@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@cygwin.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/

