Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 21 Mar 2005 10:35:50 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Owen Rees <owen.rees@hp.com>
cc: cygwin@cygwin.com
Subject: RE: bad installation ?
In-Reply-To: <52BAFC598F9589166BB902A2@rees-o-3.labs.hpl.hp.com>
Message-ID: <Pine.GSO.4.61.0503211034200.8708@slinky.cs.nyu.edu>
References: <CCD084B0E779D411A70300508B66222605A336AF@exchukahis02.experian.c o.uk> <20050310192219.55915.qmail@web20425.mail.yahoo.com> <1063.192.168.0.12.1110485687.squirrel@mail.morrison.mine.nu> <C1428B799677C4B6BEF0F3C9@rees-o-3.labs.hpl.hp.com> <1121.192.168.0.12.1110619855.squirrel@mail.morrison.mine.nu> <52BAFC598F9589166BB902A2@rees-o-3.labs.hpl.hp.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 21 Mar 2005, Owen Rees wrote:

> --On 12 March 2005 09:30 +0000 John Morrison (Cygwin) wrote:
>
> (with reply-to cygwin-apps, but I can't because I am not subscribed to that
> list)
>
> > Can't help there - I don't maintain mkpasswd's man page.  Personally I
> > didn't know that your user could be in a different domain from the one
> > where it is defined!  Oh well, live and learn.
> >
> > Suggestions to improve things...?
>
> It might be worth mentioning the environment variables USERNAME and USERDOMAIN
> as in
>
> mkpasswd -u $USERNAME -d $USERDOMAIN

One quick note: it's better to use

mkpasswd -u "$USERNAME" -d "$USERDOMAIN"

otherwise spaces in username/domain will screw things up.
	Igor

> This may be useful to people who have a domain login in an environment where
> there is a non-trivial domain structure.
>
> You might also think that 'mkpasswd -l -c' would give you an entry for the
> current domain user that has the same group id as you get by using the
> invocation shown above, but this is not necessarily so.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

