1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
apt-dater-host for Windows Update Agent
=======================================
This scripts support the Windows Update Agent to search for updates on
MS Windows based hosts.
You need to have to install a SSH daemon which supports public key
authentification and allows bash like command line syntax.
Cygwin OpenSSH
==============
This SSH daemon is known to work with apt-dater. First install
OpenSSH with der Cygwin Installer. Open a shell and run:
$ ssh-host-config -y
This will generate a initial config, host keys and creates a
ssh service. To start the ssh daemon run:
$ cygrunsrv.exe -S sshd
Finaly you have to create a symlink or script in /usr/local/bin
which is named apt-dater-host and calls the apt-dater-host.cmd.
Since apt-dater uses SSH public key authentification, apt-dater-host
must be run as the SYSTEM user (SID S-1-5-18) to be able to search
for updates.
To be able to login via SSH as SYSTEM, edit /etc/passwd and add
a home directory:
SYSTEM:*:18:544:,S-1-5-18:/home/SYSTEM:
Create the .ssh directory in the home directory:
$ mkdir -p /home/SYSTEM/.ssh
And add your public key to the 'authorized_keys' file in the .ssh
directory.
Remember: SYSTEM has all kinds of dangerous rights,
sort of an uber-root account.
|