mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-04 08:01:52 +00:00
Avoid Cygwin ssh-host-config reading /etc/group
Patch from Corinna Vinschen
This commit is contained in:
parent
8b66f36291
commit
867f49c666
@ -630,10 +630,7 @@ then
|
||||
csih_warning "However, it seems your account does not have these privileges."
|
||||
csih_warning "Here's the list of groups in your user token:"
|
||||
echo
|
||||
for i in $(/usr/bin/id -G)
|
||||
do
|
||||
/usr/bin/awk -F: "/[^:]*:[^:]*:$i:/{ print \" \" \$1; }" /etc/group
|
||||
done
|
||||
/usr/bin/id -Gnz | xargs -0n1 echo " "
|
||||
echo
|
||||
csih_warning "This usually means you're running this script from a non-admin"
|
||||
csih_warning "desktop session, or in a non-elevated shell under UAC control."
|
||||
|
Loading…
Reference in New Issue
Block a user