<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Cygwin%2FNotes</id>
	<title>Cygwin/Notes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Cygwin%2FNotes"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Cygwin/Notes&amp;action=history"/>
	<updated>2026-05-09T17:58:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Cygwin/Notes&amp;diff=316&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== setup.exe command line options ==  &lt;pre&gt; C:\cygwin\install&gt; setup.exe -h Starting cygwin install, version 2.697 Current Directory: C:\cygwin\install  Command Line Options: ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Cygwin/Notes&amp;diff=316&amp;oldid=prev"/>
		<updated>2014-07-03T15:48:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== setup.exe command line options ==  &amp;lt;pre&amp;gt; C:\cygwin\install&amp;gt; setup.exe -h Starting cygwin install, version 2.697 Current Directory: C:\cygwin\install  Command Line Options: ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== setup.exe command line options ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\cygwin\install&amp;gt; setup.exe -h&lt;br /&gt;
Starting cygwin install, version 2.697&lt;br /&gt;
Current Directory: C:\cygwin\install&lt;br /&gt;
&lt;br /&gt;
Command Line Options:&lt;br /&gt;
 -D --download                          Download from internet&lt;br /&gt;
 -L --local-install                     Install from local directory&lt;br /&gt;
 -s --site                              Download site&lt;br /&gt;
 -O --only-site                         Ignore all sites except for -s&lt;br /&gt;
 -R --root                              Root installation directory&lt;br /&gt;
 -P --packages                          Specify packages to install&lt;br /&gt;
 -C --categories                        Specify entire categories to install&lt;br /&gt;
 -p --proxy                             HTTP/FTP proxy (host:port)&lt;br /&gt;
 -q --quiet-mode                        Unattended setup mode&lt;br /&gt;
 -M --package-manager                   Semi-attended chooser-only mode&lt;br /&gt;
 -h --help                              print help&lt;br /&gt;
 -l --local-package-dir                 Local package directory&lt;br /&gt;
 -r --no-replaceonreboot                Disable replacing in-use files on next&lt;br /&gt;
                                        reboot.&lt;br /&gt;
 -X --no-verify                         Don&amp;#039;t verify setup.ini signatures&lt;br /&gt;
 -n --no-shortcuts                      Disable creation of desktop and start&lt;br /&gt;
                                        menu shortcuts&lt;br /&gt;
 -N --no-startmenu                      Disable creation of start menu shortcut&lt;br /&gt;
 -d --no-desktop                        Disable creation of desktop shortcut&lt;br /&gt;
 -K --pubkey                            Path to extra public key file (gpg&lt;br /&gt;
                                        format)&lt;br /&gt;
 -S --sexpr-pubkey                      Extra public key in s-expr format&lt;br /&gt;
 -u --untrusted-keys                    Use untrusted keys from last-extrakeys&lt;br /&gt;
 -U --keep-untrusted-keys               Use untrusted keys and retain all&lt;br /&gt;
 -A --disable-buggy-antivirus           Disable known or suspected buggy anti&lt;br /&gt;
                                        virus software packages during&lt;br /&gt;
                                        execution.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== cygrunsrv help ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cygrunsrv.exe  -h&lt;br /&gt;
&lt;br /&gt;
Usage: cygrunsrv [OPTION]...&lt;br /&gt;
&lt;br /&gt;
Main options: Exactly one is required.&lt;br /&gt;
  -I, --install &amp;lt;svc_name&amp;gt;  Installes a new service named &amp;lt;svc_name&amp;gt;.&lt;br /&gt;
  -R, --remove &amp;lt;svc_name&amp;gt;   Removes a service named &amp;lt;svc_name&amp;gt;.&lt;br /&gt;
  -S, --start &amp;lt;svc_name&amp;gt;    Starts a service named &amp;lt;svc_name&amp;gt;.&lt;br /&gt;
  -E, --stop &amp;lt;svc_name&amp;gt;     Stops a service named &amp;lt;svc_name&amp;gt;.&lt;br /&gt;
  -Q, --query &amp;lt;svc_name&amp;gt;    Queries a service named &amp;lt;svc_name&amp;gt;.&lt;br /&gt;
  -L, --list [server]       Lists services that have been installed&lt;br /&gt;
                            with cygrunsrv.&lt;br /&gt;
  &amp;lt;svc_name&amp;gt; can be a local service or &amp;quot;server/svc_name&amp;quot; or &amp;quot;server\svc_name&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Required install options:&lt;br /&gt;
  -p, --path &amp;lt;app_path&amp;gt;     Application path which is run as a service.&lt;br /&gt;
&lt;br /&gt;
Miscellaneous install options:&lt;br /&gt;
  -P, --crs-path &amp;lt;path&amp;gt;     Path to cygrunsrv. This is useful for testing or&lt;br /&gt;
                            when installing a service on a remote machine.&lt;br /&gt;
  -a, --args &amp;lt;args&amp;gt;         Optional string with command line options which&lt;br /&gt;
                            is given to the service application on startup.&lt;br /&gt;
  -c, --chdir &amp;lt;directory&amp;gt;   Optional directory which will be used as working&lt;br /&gt;
                            directory for the application.&lt;br /&gt;
  -e, --env &amp;lt;VAR=VALUE&amp;gt;     Optional environment strings which are added&lt;br /&gt;
                            to the environment when service is started.&lt;br /&gt;
                            You can add up to 255 environment strings using&lt;br /&gt;
                            the `--env&amp;#039; option.&lt;br /&gt;
                            Note: /bin is always added to $PATH to allow all&lt;br /&gt;
                            started applications to find at least cygwin1.dll.&lt;br /&gt;
  -d, --disp &amp;lt;display name&amp;gt; Optional string which contains the display name&lt;br /&gt;
                            of the service. Defaults to service name.&lt;br /&gt;
  -f, --desc &amp;lt;description&amp;gt;  Optional string which contains the service&lt;br /&gt;
                            description.&lt;br /&gt;
  -t, --type [auto|manual]  Optional start type of service. Defaults to `auto&amp;#039;.&lt;br /&gt;
  -u, --user &amp;lt;user name&amp;gt;    Optional user name to start service as.&lt;br /&gt;
                            Defaults to SYSTEM account.&lt;br /&gt;
  -w, --passwd &amp;lt;password&amp;gt;   Optional password for user. Only needed&lt;br /&gt;
                            if a user is given. If a user has an empty&lt;br /&gt;
                            password, enter `-w &amp;#039;. If a user is given but&lt;br /&gt;
                            no password, cygrunsrv will ask for a password&lt;br /&gt;
                            interactively.&lt;br /&gt;
  -s, --termsig &amp;lt;signal&amp;gt;    Optional signal to send to service application&lt;br /&gt;
                            when service is stopped.  &amp;lt;signal&amp;gt; can be a number&lt;br /&gt;
                            or a signal name such as HUP, INT, QUIT, etc.&lt;br /&gt;
                            Default is TERM.&lt;br /&gt;
  -z, --shutsig &amp;lt;signal&amp;gt;    Optional signal to send to service application&lt;br /&gt;
                            when shutdown has been initiated.  Default is the&lt;br /&gt;
                            same signal as defined as termination signal.&lt;br /&gt;
  -y, --dep &amp;lt;svc_name2&amp;gt;     Optional name of service that must be started&lt;br /&gt;
                            before this new service.  The --dep option may&lt;br /&gt;
                            be given up to 16 times, listing another dependent&lt;br /&gt;
                            service each time.&lt;br /&gt;
  -0, --stdin &amp;lt;file&amp;gt;        Optional input file used for stdin redirection.&lt;br /&gt;
                            Default is /dev/null.&lt;br /&gt;
  -1, --stdout &amp;lt;file&amp;gt;       Optional output file used for stdout redirection.&lt;br /&gt;
                            Default is /var/log/&amp;lt;svc_name&amp;gt;.log.&lt;br /&gt;
  -2, --stderr &amp;lt;file&amp;gt;       Optional output file used for stderr redirection.&lt;br /&gt;
                            Default is /var/log/&amp;lt;svc_name&amp;gt;.log.&lt;br /&gt;
  -x, --pidfile &amp;lt;file&amp;gt;      Optional path for .pid file written by application&lt;br /&gt;
                            after fork().&lt;br /&gt;
                            Default is that application must not fork().&lt;br /&gt;
  -n, --neverexits          Service should never exit by itself.&lt;br /&gt;
  -O, --preshutdown         Stop service application during system preshutdown.&lt;br /&gt;
  -o, --shutdown            Stop service application during system shutdown.&lt;br /&gt;
                            (Only one of --preshutdown and --shutdown is&lt;br /&gt;
                             accepted.  Preshutdown is preferred, but only&lt;br /&gt;
                             available since Windows Vista/Longhorn.  On earlier&lt;br /&gt;
&lt;br /&gt;
                             OS versions it&amp;#039;s silently converted to --shutdown).&lt;br /&gt;
&lt;br /&gt;
  -i, --interactive         Allow service to interact with the desktop&lt;br /&gt;
                            (No effect since Windows Vista/Longhorn).&lt;br /&gt;
  -j, --nohide              Don&amp;#039;t hide console window when service interacts&lt;br /&gt;
                            with desktop.&lt;br /&gt;
&lt;br /&gt;
Informative output:&lt;br /&gt;
  -V, --verbose             When used with --query or --list, causes extra&lt;br /&gt;
                            information to be printed.&lt;br /&gt;
  -h, --help                print this help, then exit.&lt;br /&gt;
  -v, --version             print cygrunsrv program version number, then exit.&lt;br /&gt;
&lt;br /&gt;
Report bugs to &amp;lt;cygwin@cygwin.com&amp;gt;.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Default Pacakges ==&lt;br /&gt;
&lt;br /&gt;
Most Default Packages are in the &amp;quot;Base&amp;quot; category:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Base - *&lt;br /&gt;
&lt;br /&gt;
Devel - gettext&lt;br /&gt;
Devel - libgcc1&lt;br /&gt;
Devel - libstdc++6&lt;br /&gt;
&lt;br /&gt;
Doc - cygwin-doc&lt;br /&gt;
Doc - man&lt;br /&gt;
Doc - textinfo&lt;br /&gt;
&lt;br /&gt;
Interpreters - gawk&lt;br /&gt;
&lt;br /&gt;
Libs - *several*&lt;br /&gt;
&lt;br /&gt;
Math - libgmp3&lt;br /&gt;
&lt;br /&gt;
Shells - bash&lt;br /&gt;
Shells - dash&lt;br /&gt;
&lt;br /&gt;
System - man&lt;br /&gt;
System - rebase&lt;br /&gt;
System - tzcode&lt;br /&gt;
&lt;br /&gt;
Text - groff&lt;br /&gt;
Text - less&lt;br /&gt;
Text - textinfo&lt;br /&gt;
&lt;br /&gt;
Utils - bzip2&lt;br /&gt;
Utils - cygutils&lt;br /&gt;
Utils - rebase&lt;br /&gt;
Utils - which&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Recommended Additional Packages ==&lt;br /&gt;
&lt;br /&gt;
Recommended Additional Packages: (ordered by &amp;quot;Category&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Admin - cron        # for crond services&lt;br /&gt;
Admin - cygrunsrv   # to make windows services&lt;br /&gt;
Admin - shutdown    # to shutdown/reboot system&lt;br /&gt;
Admin - syslog-ng   # syslog service&lt;br /&gt;
&lt;br /&gt;
Archive - sharutils # shar utilities&lt;br /&gt;
Archive - unzip     # unzip tool&lt;br /&gt;
Archive - zip       # zip tool&lt;br /&gt;
&lt;br /&gt;
Devel - binutils?&lt;br /&gt;
Devel - gcc?&lt;br /&gt;
Devel - make?&lt;br /&gt;
Devel - patch?&lt;br /&gt;
Devel - subversion?&lt;br /&gt;
&lt;br /&gt;
Editors - vim&lt;br /&gt;
&lt;br /&gt;
Graphics - ImageMagick?&lt;br /&gt;
Graphics - gd?&lt;br /&gt;
Graphics - ghostscript?&lt;br /&gt;
&lt;br /&gt;
Interpreters - Perl    # Perl&lt;br /&gt;
Interpreters - Python  # Python&lt;br /&gt;
&lt;br /&gt;
Math - bc&lt;br /&gt;
Math - units&lt;br /&gt;
&lt;br /&gt;
Net - apache*&lt;br /&gt;
Net - apache2*&lt;br /&gt;
&lt;br /&gt;
Net - autossh*&lt;br /&gt;
Net - bind             # bind DNS libraries and utilities suite&lt;br /&gt;
Net - curl&lt;br /&gt;
Net - lightpd*&lt;br /&gt;
Net - netcat&lt;br /&gt;
Net - nfs-server*&lt;br /&gt;
Net - openssh&lt;br /&gt;
Net - ping&lt;br /&gt;
Net - proftpd*&lt;br /&gt;
Net - pure-ftpd*&lt;br /&gt;
Net - rsync&lt;br /&gt;
Net - stunnel*         # Universal SSL Wrapper&lt;br /&gt;
Net - whois&lt;br /&gt;
Net - xinetd*&lt;br /&gt;
&lt;br /&gt;
Perl - ipcalc&lt;br /&gt;
&lt;br /&gt;
Security - pwgen*      # Automatic Password generation&lt;br /&gt;
&lt;br /&gt;
System - chkconfig*    # manage symbolic links in /etc/rc[0-6].d&lt;br /&gt;
System - initscripts*  # System-V like initialization scripts&lt;br /&gt;
System - util-linux    # has logger&lt;br /&gt;
&lt;br /&gt;
Text - boxes?&lt;br /&gt;
&lt;br /&gt;
Utils - cdrkit?     # mkisofs?&lt;br /&gt;
Utils - cpio        # backup and archiving utility&lt;br /&gt;
Utils - diffutils+&lt;br /&gt;
Utils - gnupg       # GPG&lt;br /&gt;
Utils - ipcalc&lt;br /&gt;
Utils - genisoimage # Create ISO9660/Joliet/HFS filesystem images&lt;br /&gt;
Utils - mkisofs     # Create ISO filesystem images (symlink to genisoimage)&lt;br /&gt;
Utils - patch*&lt;br /&gt;
Utils - patchutils*&lt;br /&gt;
Utils - rpm?&lt;br /&gt;
Utils - rpm-build?&lt;br /&gt;
Utils - screen&lt;br /&gt;
Utils - time&lt;br /&gt;
Utils - units&lt;br /&gt;
&lt;br /&gt;
Web - apache*&lt;br /&gt;
Web - apache2*&lt;br /&gt;
Web - curl&lt;br /&gt;
Web - links&lt;br /&gt;
Web - lynx&lt;br /&gt;
Web - wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== cron-config output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cron-config&lt;br /&gt;
Do you want to install the cron daemon as a service? (yes/no) yes&lt;br /&gt;
Enter the value of CYGWIN for the daemon: [ ]&lt;br /&gt;
&lt;br /&gt;
You must decide under what account the cron daemon will run.&lt;br /&gt;
If you are the only user on this machine, the daemon can run as yourself.&lt;br /&gt;
   This gives access to all network drives but only allows you as user.&lt;br /&gt;
Otherwise cron should run under the local system account.&lt;br /&gt;
  It will be capable of changing to other users without requiring a&lt;br /&gt;
  password, using one of the three methods detailed in&lt;br /&gt;
  http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1&lt;br /&gt;
Do you want the cron daemon to run as yourself? (yes/no) yes&lt;br /&gt;
&lt;br /&gt;
Please enter the password for user &amp;#039;kenneth&amp;#039;:&lt;br /&gt;
Reenter:&lt;br /&gt;
Running cron_diagnose ...&lt;br /&gt;
WARNING: You do not currently have a crontab file.&lt;br /&gt;
&lt;br /&gt;
... no problem found.&lt;br /&gt;
&lt;br /&gt;
Do you want to start the cron daemon as a service now? (yes/no) yes&lt;br /&gt;
OK. The cron daemon is now running.&lt;br /&gt;
&lt;br /&gt;
In case of problem, examine the log file for cron,&lt;br /&gt;
/var/log/cron.log, and the Windows event log (using /usr/bin/cronevents)&lt;br /&gt;
for information about the problem cron is having.&lt;br /&gt;
&lt;br /&gt;
Examine also any cron.log file in the HOME directory&lt;br /&gt;
(or the file specified in MAILTO) and cron related files in /tmp.&lt;br /&gt;
&lt;br /&gt;
If you cannot fix the problem, then report it to cygwin@cygwin.com.&lt;br /&gt;
Please run the script /usr/bin/cronbug and ATTACH its output&lt;br /&gt;
(the file cronbug.txt) to your e-mail.&lt;br /&gt;
&lt;br /&gt;
WARNING: PATH may be set differently under cron than in interactive shells.&lt;br /&gt;
         Names such as &amp;quot;find&amp;quot; and &amp;quot;date&amp;quot; may refer to Windows programs.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== crond registry service ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Windows Registry Editor Version 5.00&lt;br /&gt;
&lt;br /&gt;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cron]&lt;br /&gt;
&amp;quot;Type&amp;quot;=dword:00000010&lt;br /&gt;
&amp;quot;Start&amp;quot;=dword:00000002&lt;br /&gt;
&amp;quot;ErrorControl&amp;quot;=dword:00000001&lt;br /&gt;
&amp;quot;ImagePath&amp;quot;=hex(2):44,00,3a,00,5c,00,63,00,79,00,67,00,77,00,69,00,6e,00,5c,00,\&lt;br /&gt;
  62,00,69,00,6e,00,5c,00,63,00,79,00,67,00,72,00,75,00,6e,00,73,00,72,00,76,\&lt;br /&gt;
  00,2e,00,65,00,78,00,65,00,00,00&lt;br /&gt;
&amp;quot;DisplayName&amp;quot;=&amp;quot;Cron daemon&amp;quot;&lt;br /&gt;
&amp;quot;ObjectName&amp;quot;=&amp;quot;.\\kenneth&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cron\Parameters]&lt;br /&gt;
&amp;quot;AppPath&amp;quot;=&amp;quot;/usr/sbin/cron&amp;quot;&lt;br /&gt;
&amp;quot;AppArgs&amp;quot;=&amp;quot;-n&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cron\Parameters\Environment]&lt;br /&gt;
&amp;quot;CYGWIN&amp;quot;=&amp;quot; &amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cron\Security]&lt;br /&gt;
&amp;quot;Security&amp;quot;=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\&lt;br /&gt;
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\&lt;br /&gt;
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\&lt;br /&gt;
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\&lt;br /&gt;
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\&lt;br /&gt;
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\&lt;br /&gt;
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00&lt;br /&gt;
&lt;br /&gt;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cron\Enum]&lt;br /&gt;
&amp;quot;0&amp;quot;=&amp;quot;Root\\LEGACY_CRON\\0000&amp;quot;&lt;br /&gt;
&amp;quot;Count&amp;quot;=dword:00000001&lt;br /&gt;
&amp;quot;NextInstance&amp;quot;=dword:00000001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ssh-host-config output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh-host-config&lt;br /&gt;
*** Info: Generating /etc/ssh_host_key&lt;br /&gt;
*** Info: Generating /etc/ssh_host_rsa_key&lt;br /&gt;
*** Info: Generating /etc/ssh_host_dsa_key&lt;br /&gt;
*** Info: Creating default /etc/ssh_config file&lt;br /&gt;
*** Info: Creating default /etc/sshd_config file&lt;br /&gt;
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.&lt;br /&gt;
*** Info: However, this requires a non-privileged account called &amp;#039;sshd&amp;#039;.&lt;br /&gt;
*** Info: For more info on privilege separation read /usr/share/doc/openssh/READ&lt;br /&gt;
ME.privsep.&lt;br /&gt;
*** Query: Should privilege separation be used? (yes/no) no&lt;br /&gt;
*** Info: Updating /etc/sshd_config file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*** Warning: The following functions require administrator privileges!&lt;br /&gt;
&lt;br /&gt;
*** Query: Do you want to install sshd as a service?&lt;br /&gt;
*** Query: (Say &amp;quot;no&amp;quot; if it is already installed as a service) (yes/no) yes&lt;br /&gt;
*** Query: Enter the value of CYGWIN for the daemon: []&lt;br /&gt;
&lt;br /&gt;
*** Info: The sshd service has been installed under the LocalSystem&lt;br /&gt;
*** Info: account (also known as SYSTEM). To start the service now, call&lt;br /&gt;
*** Info: `net start sshd&amp;#039; or `cygrunsrv -S sshd&amp;#039;.  Otherwise, it&lt;br /&gt;
*** Info: will start automatically after the next reboot.&lt;br /&gt;
&lt;br /&gt;
*** Info: Host configuration finished. Have fun!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== syslog-ng-config output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ syslog-ng-config&lt;br /&gt;
Creating default /etc/syslog-ng.conf file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Warning: The following function requires administrator privileges!&lt;br /&gt;
&lt;br /&gt;
Do you want to install syslog-ng as service?&lt;br /&gt;
(Say &amp;quot;no&amp;quot; if it&amp;#039;s already installed as service) (yes/no) yes&lt;br /&gt;
&lt;br /&gt;
The service has been installed under LocalSystem account.&lt;br /&gt;
To start the service, call `net start syslog-ng&amp;#039; or `cygrunsrv -S syslog-ng&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Check /etc/syslog-ng.conf first, if it suits your needs.&lt;br /&gt;
&lt;br /&gt;
Configuration finished. Have fun!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== syslog-ng.conf default ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /etc/syslog-ng.conf&lt;br /&gt;
@version: 3.0&lt;br /&gt;
options {&lt;br /&gt;
  keep_hostname(yes);&lt;br /&gt;
  owner(&amp;quot;system&amp;quot;);&lt;br /&gt;
  group(&amp;quot;root&amp;quot;);&lt;br /&gt;
  perm(0664);&lt;br /&gt;
  flush_lines(0);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
source applications {&lt;br /&gt;
  unix-dgram(&amp;quot;/dev/log&amp;quot;);&lt;br /&gt;
  internal();&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
source kernel {&lt;br /&gt;
  file(&amp;quot;/dev/kmsg&amp;quot;, program_override(&amp;quot;kernel: &amp;quot;));&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
destination messages {&lt;br /&gt;
  file(&amp;quot;/var/log/messages&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
log {&lt;br /&gt;
  source(applications);&lt;br /&gt;
  destination(messages);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
log {&lt;br /&gt;
  source(kernel);&lt;br /&gt;
  destination(messages);&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== syslog-ng.conf alternative ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
  keep_hostname(yes);&lt;br /&gt;
  chain_hostnames(no);&lt;br /&gt;
  owner(&amp;quot;system&amp;quot;);&lt;br /&gt;
  group(&amp;quot;root&amp;quot;);&lt;br /&gt;
  perm(0664);&lt;br /&gt;
  sync(0);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
source applications {&lt;br /&gt;
  unix-dgram(&amp;quot;/dev/log&amp;quot;);&lt;br /&gt;
  internal();&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
source kernel {&lt;br /&gt;
  file(&amp;quot;/dev/kmsg&amp;quot;, log_prefix(&amp;quot;kernel: &amp;quot;));&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
destination messages {&lt;br /&gt;
  file(&amp;quot;/var/log/messages&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
log {&lt;br /&gt;
  source(applications);&lt;br /&gt;
  destination(messages);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
log {&lt;br /&gt;
  source(kernel);&lt;br /&gt;
  destination(messages);&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>