cron and ssh with homeshare variable
Larry Hall
lh-no-personal-replies-please@cygwin.com
Thu Jul 22 02:09:00 GMT 2004
At 05:43 PM 7/21/2004, you wrote:
>>
>> 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.
Or just use the '-p' flag and specify the home path you want as a
parameter.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
More information about the Cygwin
mailing list