Displaying 19 results from an estimated 19 matches similar to: "[PATCH]: Cygwin: Allow sshd to switch user context without password"
2002 Jul 31
0
[PATCH]: Match Cygwin version check to reality
Hi,
the following patch rearranges some checkings in bsd-cygwin-util.c to keep
in sync with Cygwin versions. I moved the uname() check into it's own
function so that it's easier to add further checks when necessary.
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
===================================================================
RCS file:
2002 Nov 09
1
[PATCH] Two Cygwin related patches
Hi,
the attached patch file contains two patches in one:
- contrib/cygwin/ssh-host-config: Create sshd_config according to latest
changes.
- openbsd-compat/bsd-cygwin_util.c: Rewrite a bit to allow easier retrieval
of Cygwin capabilities from version number (uname). For Cygwin versions
beginning with API minor version 56 assume ntsec being on by default.
Thanks in advance for applying
2004 Apr 18
0
[PATCH] bsd-cygwin_util.c: Relax pubkey authentication prerequisites
Hi,
is it possible to apply the below patch before 3.8.1p1 comes out?
Due to a posting on the Cygwin mailing list it turned out, that the
prerequisites to allow public key authentication where to tight.
Since Cygwin version 1.5.x the so called `ntsec' setting isn't require
anymore to allow switching user context without password.
The below patch to bsd-cygwin_util.c fixes the test for
2001 Dec 18
2
[PATCH]: Fix potential security hole in Cygwin version
Hi,
the following patch fixes a potential security hole in the Cygwin
version of sshd.
If you're logging in to a Cygwin sshd with version 2 protocol using an
arbitrary user name which is not in /etc/passwd, the forked sshd which
is handling this connection crashes with a segmentation violation. The
client side encounters an immediate disconnect ("Connection reset by
peer").
2006 Sep 01
0
[PATCH] Cygwin: Avoid implicit declaration warnings
Hi,
I have left this slip through already too long. When compiling
openbsd-compat/bsd-cygwin_util.c, the following warnings appear:
openbsd-compat/bsd-cygwin_util.c: In function `binary_open':
openbsd-compat/bsd-cygwin_util.c:67: warning: implicit declaration of function `open'
openbsd-compat/bsd-cygwin_util.c: In function `binary_pipe':
openbsd-compat/bsd-cygwin_util.c:73:
2002 Mar 31
5
File Owner, Group and Permissions for Win2000
Hi,
I need to mirror some Linux directories on a Win2000 box but the owner, group and permissions are lost. I realize Win2000 does not use the same system but thought there may be some way around it with cygwin. Is it possible to mimick /etc/passwd to preserve ownership etc? Is there a better solution?
Roger
-------------- next part --------------
HTML attachment scrubbed and removed
2001 May 23
1
[PATCH]: Drop the use of `check_nt_auth'.
Hi,
the following patch removes some of the Cygwin specific code from
OpenSSH.
Since Cygwin is able to change the user context on NT/W2K even without
a password since the new Cygwin version 1.3.2, there's no need anymore
to allow changing the user context only if the sshd user is the same
user as the one which logs in or when a password is given.
For that reason the whole function
2002 Feb 12
3
Strict Mode for Client?
Is there a way to specify "strict modes = false" on the client side?
I'm having trouble getting the client to accept the password file on Windows
2000, since rsync doesn't want the file to be other-readable, but this
concept doesn't map too well to Windows.
Alternatively, if I could simply set the proper permissions on the passfile,
that would suit me fine, but it seems
2002 Aug 12
1
rsync --password-file on cygwin
Hi.
As the man page explains, and this message
http://www.mail-archive.com/rsync@lists.samba.org/msg04069.html
summarizes from the different man pages
rsync will not use the password file if it is world readable. Now, if the
rsync team was so kind to add the "strict mode" option for the cygwin
platform to ignore if the file is world readable when running in daemon mode
why
2002 Nov 14
0
Owner and permissions problems when syncing w2k<->w2k
Hi!
I'm having a bit of a problem setting up an rsync
operation between two Windows 2000 servers. On one of
the machines I have started an rsync Daemon (service,
started as administrator) using the lines below.
On the other machine I do a
rsync -Pzrtvpo /cygdrive/d/root/Folder
administrator@192.168.2.4::root
What happens is that all transferred files (no problem
with the actual transfer)
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
Hi,
attached is a patch which solves the following problem:
Sometimes scp could hang in Cygwin when used as remote end using
the -t option. This is due to a binmode/textmode problem which
could be raised by the login shell which is used by the user and
it's setting of textmode on stdin. The patch solves that problem
by explicitly setting binmode on stdin.
Besides solving the hanging
2001 Jun 04
1
[PATCH]: Add check_ntsec to ownership/mode tests
Hi,
I have added calls to `check_ntsec()' to the code which checks
for the ownership and modes of identity files and directories.
As you might know, check_ntsec() tests if owner/modes are
supported by the OS (9x/ME=no, NT/W2K=yes), the filesystem
(FAT/FAT32=no, NTFS=yes) and the current Cygwin settings
(ntea/ntsec).
Corinna
Index: auth-rhosts.c
2002 Feb 20
2
[PATCH] rsync on cygwin - textmode config files
I've been running rsync-2.4.2 with an old patch of mine for some time for
backup purposes. Due to the recent remote bug, I thought it was time to
upgrade, even if the host was behind a firewall.
So I dug up the old patch (2.5.2 version attached), that I think I sent ages
ago to this list as well. It does the following:
(1) Firstly, the only sensible way to run something as
2001 Nov 20
1
[PATCH]: Allow SSHD to install as service under WIndows 9x/Me
Hi,
the following patch is a (hopefully least intrusive) extension
when sshd is started so that it daemonizes itself. In that case
Windows 9x/Me has a slight problem with sshd as soon as the current
user logs off. The sshd daemon will be killed as well. Since
installing services is very different between NT and 9x, the way
used for NT boxes isn't working well for 9x. For that reason
2005 Nov 10
2
rsync --password-file= Problem
Dear list,
I'm using rsync via CYGWIN (winxp) compu to access our SUSE linux station
for backup purposes. I would like to run this regularly, via BAT files,
however the password stays necessary (prompt), after using a
-pasword-file=/.
There is no error message but password stays necessary.
rsync -avzuC --delete --password-file=/cygdrive/d/test/test.txt
/cygdrive/d/test/
2002 May 22
1
AW: rsync without syncing file permissions under W2K
Wernicke, Heino (CGS) wrote:
>Thank you!
>That helps a little. But the permissions on target machine
>will not be inherited from parent folder as I wanted.
>
Uhm... removing ntsec shouldn't touch permissions at all...
can't just you use "chmod -R 755 *" after rsyncing?
--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it
2001 Jul 11
0
[PATCH]: Cygwin: Changes to cygwin contrib area
Hi,
the following patch changes two files in the contrib/cygwin subdir:
It changes the Cygwin specific README file which adds some hints
related to the new feature to switch user context without password
(which means using public key and/or rhosts authentication). Some
old stuff is erased.
The changes to ssh-host-config are intended to allow an easier
startup for users which are new to Cygwin
2013 Jul 02
1
[patch/cygwin]: Fix documentation
Hi,
could somebody with checkin rights please apply the below patch?
It modernizes and improves readability of the Cygwin README file
(which hasn't been updated for ages), drops unsupported OSes from
the ssh-host-config help text, and drops an unneeded option from
ssh-user-config.
Thanks in advance,
Corinna
Index: contrib/cygwin/README
2000 Oct 28
11
Another shapshot
I have just uploaded another snapshot to:
http://www.mindrot.org/misc/openssh/openssh-SNAP-20001028.tar.gz
Please test this one extra hard, it is likely to become 2.3.0p1 early
next week.
Regards,
Damien Miller
--
| ``We've all heard that a million monkeys banging on | Damien Miller -
| a million typewriters will eventually reproduce the | <djm at mindrot.org>
| works of