delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/21/10:38:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 21 Mar 2005 10:35:50 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Owen Rees <owen DOT rees AT hp DOT com>
cc: cygwin AT cygwin DOT 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 AT exchukahis02 DOT experian DOT c o.uk> <20050310192219 DOT 55915 DOT qmail AT web20425 DOT mail DOT yahoo DOT com> <1063 DOT 192 DOT 168 DOT 0 DOT 12 DOT 1110485687 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <C1428B799677C4B6BEF0F3C9 AT rees-o-3 DOT labs DOT hpl DOT hp DOT com> <1121 DOT 192 DOT 168 DOT 0 DOT 12 DOT 1110619855 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <52BAFC598F9589166BB902A2 AT rees-o-3 DOT labs DOT hpl DOT hp DOT com>
MIME-Version: 1.0

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


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