Mail Archives: cygwin/2005/03/21/10:38:57
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 -