Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <1052749051.3ebfacfbf2d0a@webmail.imag.fr>
Date: Mon, 12 May 2003 16:17:31 +0200
From: Sylvain.Ferriol@imag.fr
To: cygwin@cygwin.com, Igor Pechtchanski <pechtcha@cs.nyu.edu>
Cc: sferriol <sylvain.ferriol@imag.fr>, cygwin@cygwin.com
Subject: Re: howto change home path in /etc/passwd
References: <Pine.GSO.4.44.0305121000270.393-100000@slinky.cs.nyu.edu>
In-Reply-To: <Pine.GSO.4.44.0305121000270.393-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252;q=1.0
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1
X-Originating-IP: 152.77.201.128

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/

