This is the mail archive of the
mailing list for the Cygwin project.
Re: howto change home path in /etc/passwd
On Mon, May 12, 2003 at 04:30:53PM +0200, Sylvain.Ferriol@imag.fr wrote:
>OK but do you know how to get the username because in the cygwin terminal
>echo $USER or echo $USERNAME works
>but i 'm using a file install.bat which calls 'bash.exe instal.sh'
>and in install.sh:
1) calm down.
2) "id -un" provides the login name. You could do something like:
in your script
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to email@example.com
and be permanently blocked from mailing lists at sources.redhat.com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html