If you look in the passwd file, the last entry on each line is the shell
setting. At the front of the shell path is a ":". The entry in front of the
":" is the home directory. Change this and the user will be placed in that
directory and it will become the default directory. Remember that this
directory must exist before the login.
David
-----Original Message-----
From:
plug-discuss-admin@lists.plug.phoenix.az.us
[
mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of evb
Sent: Sunday, December 21, 2003 7:45 PM
To:
plug-discuss@lists.plug.phoenix.az.us
Subject: Change default working directory?
Group,
How do I change the default working directory, i.e., the one that bash
defaults to when I boot? It is now currently defaulted to my home
directory, but I would like it to default to another.
I am using bash and cygwin. I realize this is not a cywin list, but I
thought the answer would be the same nonetheless.
Van
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss