18 Commits

Author SHA1 Message Date
Tess Gauthier
5124f3dcd4
Fix install path check (#633)
* update check for openssh directory in PATH

* add closing parentheses
2022-11-11 12:41:10 -05:00
Tess Gauthier
1f03b276fd
fix installers not updating system path (#622)
* fix msi installer not updating system path

* modify install script to add binary path to system path

* debug appveyor

* add debug message to add-path and update appveyor to be compatible with changes

* fix appveyorhelper.psm1 after accidentally removing call to uninstall

* fix typo

* use PS drive to modify PATH

* rename Add-Path to Add-MachinePath in export list
2022-11-03 11:57:30 -04:00
Tess Gauthier
672c7eb270
Update install sshd (#585) 2022-03-21 15:02:15 -07:00
Tess Gauthier
9d733203d6
fix folder permissions for programdata\ssh during server install (#549) 2022-02-04 16:22:59 -08:00
Tess Gauthier
1fa768f365
detect add-type edge case with powershell 7 (#554) 2022-01-21 11:33:53 -08:00
vthiebaut10
904ffd36d4
Use moduli file under openssh-portable root folder (#499) 2021-04-19 10:27:24 -07:00
vthiebaut10
bbb500a639
FixUserFilePermissions fixes permissions for administrators_authorized_keys (#492) 2021-03-29 17:19:37 -07:00
Manoj Ampalam
fdd54b6334
Implement Unix styled privilege separation in Windows (#258)
OpenSSh privilege separation model - http://www.citi.umich.edu/u/provos/ssh/privsep.html 
Posix_spawn is implemented in POSIX adapter as an alternative to fork() that is heavily used in Privilege separation. 
Additional state info is added to sshd to accommodate distinguishing the various modes (privileged monitor, unprivileged child, authenticated child).
Required service state (like config and host keys) is transmitted over pipes from monitor to child processes.
Changes to installation scripts and tests to accomodate new architectural changes
2018-01-15 13:57:31 -08:00
Yanbing
e649e8f926 Fix for issue 888, 880 (#211)
fix for PowerShell/Win32-OpenSSH#888
Add systemid as FullAccessNeeded
fix for PowerShell/Win32-OpenSSH#880
2017-09-28 14:55:40 -07:00
annulus
e8a303673e OpenSSHUtils ProfilePath parsing issues (#192)
1. ignore the historical (.bak) profile entries from the registry
2. do not match against different profiles that share the beginning of their path
2017-09-01 10:29:02 -07:00
Darwin
6919392432 Fixed sid translation issue when ACLs already contain SIDS (#180) 2017-07-06 14:34:17 -07:00
Yanbing
eb0ab1b522 test scripts update to run on win7 (#174)
PowerShell/Win32-OpenSSH#721
PowerShell/Win32-OpenSSH#771
PowerShell/Win32-OpenSSH#785
PowerShell/Win32-OpenSSH#786
2017-06-26 21:58:29 -07:00
Yanbing
ad17ff1b74 Update OpenSSHUtils Module to handle Localized User accounts (#171)
PowerShell/Win32-OpenSSH#771
2017-06-19 11:29:21 -07:00
Yanbing
a98f0259bb fix issue 764 (#165)
1. fix issue 764 (https://github.com/PowerShell/Win32-OpenSSH/issues/764)
2. move the add type to the script level so it only been added once
3. fix indents
4. make FilePath position 0.
5. add OpenSSHUtiles.psm1 in the build and package
2017-06-13 10:37:17 -07:00
Yanbing
5bea3a3759 change to shouldprocess, workaround set-acl issue on win7, use approved verb (#164)
PowerShell/Win32-OpenSSH#758
PowerShell/Win32-OpenSSH#749
PowerShell/Win32-OpenSSH#745
2017-06-11 09:57:38 -07:00
Yanbing
19733a0811 update the script so it compile on psh 2.0 on win7 (#160)
PowerShell/Win32-OpenSSH#758
2017-06-06 21:07:05 -07:00
Yanbing
3ec7a419ac Fix of issue 750 and 756 (#158)
PowerShell/Win32-OpenSSH#750
PowerShell/Win32-OpenSSH#756
2017-06-06 10:34:05 -07:00
Yanbing
bbd97bfb66 File perm utilites and temporary suspension of psexec usage (#154) 2017-06-02 15:07:26 -07:00