This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: howto change home path in /etc/passwd
- From: Sylvain dot Ferriol at imag dot fr
- To: cygwin at cygwin dot com, Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- Cc: sferriol <sylvain dot ferriol at imag dot fr>, cygwin at cygwin dot com
- Date: Mon, 12 May 2003 16:17:31 +0200
- Subject: Re: howto change home path in /etc/passwd
- References: <Pine.GSO.4.44.0305121000270.393-100000@slinky.cs.nyu.edu>
Surlignage Igor Pechtchanski <pechtcha@cs.nyu.edu>:
> On Mon, 12 May 2003, sferriol wrote:
>
> > hello
> > is there a command to change the home directory of a user in /etc/passwd
> > because ssh sees this file before $HOME and i have always a error.
>
> Use an editor to edit /etc/passwd (as has been suggested). Mind the line
> endings (I think).
>
no my question is to do this automatically
because when the admin has installed cygwin on a computer, it adds users
and each users has to define the variable HOME,
but if they use ssh, they have to chang /etc/passwd too.
i want to create a install file which update automatically /etc/passwd, puts defaults files (bashrc, inputrc,...)
i see that there is the mkpasswd command but it doesn't do what i want
do you know when /etc/passwd is created???
sylvain
-------------------------------------------------
envoyé via Webmail/IMAG !
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/