This is the mail archive of the
mailing list for the Cygwin project.
Re: Adding NT domain users in cygwin?
- From: Corinna Vinschen <cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 21 Jan 2002 10:29:25 +0100
- Subject: Re: Adding NT domain users in cygwin?
- References: <000b01c1a25c$6c584660$b121e396@botten>
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
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html