This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building /etc/passwd from setup.exe


Pierre A. Humblet wrote:

Question:
have you a known situation where $USERDOMAIN != hostname and
you weren't logged into a domain?

No. But I have only checked on one machine. By the way that test is not needed in the script with -c, because it
is then done in a case insensitive manner by mkpasswd itself.
BoydE@DU216771 ~
$ hostname
du216771

BoydE@DU216771 ~
$ echo $USERDOMAIN
LCI

BoydE@DU216771 ~
$ type hostname
hostname is hashed (/c/WINNT/system32/hostname)

BoydE@DU216771 ~
$ echo $HOSTNAME
DU216771

BoydE@DU216771 ~
$



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]