Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Owen Rees cc: cygwin AT cygwin DOT com Subject: RE: bad installation ? In-Reply-To: <52BAFC598F9589166BB902A2@rees-o-3.labs.hpl.hp.com> Message-ID: References: <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> <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 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 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/