This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for ssh-user-config /etc/passwd parsing


On Jan  5 09:12, Andrey Repin wrote:
> Greetings, All!
> 
> Replace line 79 with
> 
>   pwdhome=$(getent passwd ${uid} | cut -sd : -f 6 )
> 
> The error messages in the next few lines should probably be updated as well.
> Something along the lines of
> 
> 83:      "Unable to determine user's home directory from system settings." \
> 
> 90:      "${pwdhome} is found to be set as your home directory" \
> 
> 99:    csih_warning "Your home directory is found to be set to root (/). This is not recommended!"

Just as I outlined in my other mail a few minutes ago, ssh-user-config
in the OpenSSH release package is not the latest upstream version.  If
you want to test the latest ssh-user-config script with 1.7.34-awareness,
see the attached.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: ssh-user-config
Description: Text document

Attachment: pgpDDUBMmL0C9.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]