This is the mail archive of the cygwin@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: Cygwin home dir=/cygwin/c (not /home/<userid>)


On Tue, 31 Dec 2002, a12 wrote:

> Hello,
> I have just installed the latest Cygwin release on one PC.

The two issues you mention are unrelated.  See below.

> It is up and running OK, except that all local users login into
> /cygdrive/c instead of /home/<userid>.

Do you have the /etc/passwd and /etc/group files?  If you do, are any of
the local users in /etc/passwd?  What is their home directory set to?
Try rebuilding your /etc/passwd and /etc/group:

$ for i in (/etc/passwd /etc/group); do mv $i ${i}-backup; done
$ mkpasswd -l > /etc/passwd
$ mkgroup -l > /etc/group

and see if you still get that problem.

> The length of PATH in DOS is 97 characters, and in cygwin 148
> characters:
>
> Path=C:\WINNT\System32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Centura2.0\;C:\cygwin\bin
>
> 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
>          1         2         3         4         5         6         7         8         9         0         1         2         3         4
>
> /usr/local/bin:/usr/bin:/bin:Path=C:/WINNT/System32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Centura2.0/:/usr/bin
>
> What have I missed ?

The fact that Cygwin translates the Windows path to a POSIX path using the
mount information.  Also the fact that you have "Path=" as part of the
VALUE of the PATH variable.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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