Re: home dir in cygwin

2003-02-06 Thread Michael Bovee
I don't use a Mac but my understanding is that MacOS X is basically just Mach with a BSD-style personality called Darwin. As apparent confirmation of that, the guy at the desk next to me (who's running MacOS X) just now cat'd out the /etc/passwd file on his machine at my request. My /etc/passwd

Re: home dir in cygwin

2003-02-06 Thread Erik Price
[EMAIL PROTECTED] wrote: And the machine I *do* run is MacOS X, which doesn't use an /etc/passwd file for user info.) Really? I thought OS X was BSD? Where is user info stored? Is there an /etc/passwd file? NeXT machines used a database called NetInfo to store information that you'd no

Re: home dir in cygwin

2003-02-06 Thread Michael O'Donnell
> Because I didn't know it. And I had never heard of a getpwent() > function, nor did I know that sysadmins often resorted to knowledge > of C structs and pointers in the course of their work. (I don't run > a Linux box, I just have an account on a friend's, so this man page > isn't something I

Re: home dir in cygwin

2003-02-06 Thread pll
In a message dated: Thu, 06 Feb 2003 17:12:16 EST John Abreau said: >MacOS X uses NetInfo (inherited from NeXT) to manage its password database. A, with Jobs at the helm again, this doesn't surprise me a bit :) Thanks for that tidbit John :) -- Seeya, Paul -- Key fingerprint = 1660 FECC

Re: home dir in cygwin

2003-02-06 Thread pll
In a message dated: Thu, 06 Feb 2003 16:45:13 EST Erik Price said: >Because I didn't know it. Okay, that's fair. And, I mistakenly applied a false definition to the word arcane (thinking it meant little known). But according to Merriam-Webster: Arcane: known or knowable onl

Re: home dir in cygwin

2003-02-06 Thread John Abreau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Erik Price <[EMAIL PROTECTED]> writes: > Because I didn't know it. And I had never heard of a getpwent() > function, nor did I know that sysadmins often resorted to knowledge of C > structs and pointers i

Re: home dir in cygwin

2003-02-06 Thread Erik Price
[EMAIL PROTECTED] wrote: I'm curious why you think that is arcane[1]? I was about to remark something amazingly similar to mod, but got distracted and Derek beat me to it[2] :) That knowledge is indispensable to anyone who needs to debug user environments (e.g. a sysadmin). Are you saying

Re: home dir in cygwin

2003-02-06 Thread pll
In a message dated: Thu, 06 Feb 2003 16:03:44 EST Erik Price said: >Derek Martin wrote: >> >> It is mildly surprising to me that it worked as effectively as it >> did for you... The "proper" way to authoritatively find out a user's >> home directory is to use the pw_dir element of a struct pass

Re: home dir in cygwin

2003-02-06 Thread Erik Price
Derek Martin wrote: It is mildly surprising to me that it worked as effectively as it did for you... The "proper" way to authoritatively find out a user's home directory is to use the pw_dir element of a struct passwd which has been filled out by a call to getpwent(), getpwuid() or getpwnam(),

Re: home dir in cygwin

2003-02-06 Thread Michael O'Donnell
I don't know anything about CygWin but (on an obliquely related note) I can tell you that changing your "home directory" has a few gotchas on Linux because not every chunk of software figures out how to find a given account's "home directory" by the same method. For example, I recently was worki

Re: home dir in cygwin

2003-02-06 Thread Erik Price
Bruce Dawson wrote: How does one go about specifying an alternate home directory in Cygwin? Right now, ~ == / and I'd rather it be /cygdrive/d/User\ Profiles/eprice export HOME="/cygdrive/d/User Profiles/eprice" The above establishes your home directory - there really is no "alternate home

Re: home dir in cygwin

2003-02-06 Thread Bill Sconce
On Thu, 06 Feb 2003 13:56:07 -0500 Bruce Dawson <[EMAIL PROTECTED]> wrote: > > How does one go about specifying an alternate home directory in Cygwin? > >Right now, ~ == / and I'd rather it be /cygdrive/d/User\ Profiles/eprice > > export HOME="/cygdrive/d/User Profiles/eprice" > > The above

Re: home dir in cygwin

2003-02-06 Thread Andrew W. Gaunt
On my Windows 2K Domain controller 'users&computers' settings I set my windows account 'home' drive to be a samba share (it lives on a linux box) and cygwin seems to use it. I think it is because I generated the cygwin /etc/passwd with 'mkpasswd -d 'my_w2k_domain'. The sharename is where the 'ho

Re: home dir in cygwin

2003-02-06 Thread Bruce Dawson
> How does one go about specifying an alternate home directory in Cygwin? >Right now, ~ == / and I'd rather it be /cygdrive/d/User\ Profiles/eprice export HOME="/cygdrive/d/User Profiles/eprice" The above establishes your home directory - there really is no "alternate home" directory in Unix

home dir in cygwin

2003-02-05 Thread Erik Price
How does one go about specifying an alternate home directory in Cygwin? Right now, ~ == / and I'd rather it be /cygdrive/d/User\ Profiles/eprice Thanks, Erik ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinf