This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: NEWBIE: Problem with $Home being set to /usr/bin/%USERPROFILE%
- From: "Harig, Mark A." <maharig at idirect dot net>
- To: "Michael Caplan" <michael at eggplant dot ws>,<cygwin at cygwin dot com>
- Date: Thu, 14 Nov 2002 15:30:12 -0500
- Subject: RE: NEWBIE: Problem with $Home being set to /usr/bin/%USERPROFILE%
>
> Just after upgrading to 1.3.15, when starting a Cygwin
> session, for some
> reason Bash is assigned to the home directory /usr/bin/%USERPROFILE%
> Originally this was /home/Administrator/ I can not figure
> out what caused
> this to change, and how to go about changing this back. Any
> suggestions?
1. What does the command 'id' report? Or, 'id -un'?
2. Have you recently changed the contents of /etc/passwd?
What are the permissions and ownership of this file?
What are the permissions and ownership of '/etc'?
3. What bash initialization files are you using, i.e., /etc/profile,
~/.bashrc, ~/.bash_profile, ~/.profile? Have you tried renaming
those files or using the '--noprofile' and '--norc' optios?
Have you checked their permissions and ownership?
---
--
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/