www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/21/17:43:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: cron and ssh with homeshare variable
Date: Wed, 21 Jul 2004 17:43:16 -0400
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90BC9D@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "gurkan" <gurkan AT safety-host DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i6LLhNWC007438

> 
> My problem is that the system try to create a directory
> '//ALISANDRE/homes/.ssh'.  and '//ALISANDRE/homes/ this is 
> the value for
> HOMESHARE  , the system chearch to write in know_hosts file , 
> so i want
> change this value by /home/gurkan definitively (even if a 
> reboot ) but i
> can't find it .
> 

This is defined in Cygwin's /etc/passwd file.  You will 
want to generate a password file with some variation of the
'mkpasswd' command:

  $ /usr/bin/mkpasswd -l > /etc/passwd

or 

  $ /usr/bin/mkpasswd -d -u gurkan >> /etc/passwd

and then edit /etc/passwd, and change the second-to-last
field so that it contains the HOME directory that you want.

Similarly, you will want to use the 'mkgroup' command to generate
a useable /etc/group file, for example,

  $ /usr/bin/mkgroup -l > /etc/group

------

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019