• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    Welcome to the Admins Handbook


    This is indeed the IT administrators' handbook.
    You will not find long tutorials and guides here, only the commands to get the job done.

    You properly know how to do things; you just need a little "hint" now and then.

    The handbook have 185 posts

    Set GroupOwner in Proftpd

    September 16th, 2016

    Due to an error in proftpd, you might need an virtual group.

    /etc/proftpd/proftpd.conf:

    GroupOwner www-data
    Umask 002 003

    AllowOverwrite on
    AuthGroupFile /etc/proftpd/ftpd.group

    /etc/proftpd/ftpd.group
    www-data:x:33:testuser
    Same ID and name as the local user.


    Configuring SSL on Debian nginx

    July 20th, 2016

    /etc/nginx/ssl
    openssl req -new -newkey rsa:2048 -nodes -keyout *.mydomain.com.key -out *.mydomain.com.csr

    Inside config:
    /etc/nginx/sites-available/default

    ssl on;
    ssl_certificate /etc/nginx/ssl/*.mydomain.com.crt;
    ssl_certificate_key /etc/nginx/ssl/*.mydomain.com.key;
    ssl_trusted_certificate /etc/nginx/ssl/chain.crt;
    ssl_dhparam /etc/nginx/ssl/dhparam.pem;

    chain.crt:
    AlphaSSL SHA-256 R1 Intermediate Certificates (DER64)

    dhparam.pem:
    openssl dhparam -out dhparam.pem 4096


    Disable greylisting – emails from Office 365

    March 8th, 2016

    Office 365 sends emails from a lot of mailservers. retrys are often from a new IP.
    Then you have delays of 5 min + 5 min etc…

    Office 365 uses this IP’s:
    https://technet.microsoft.com/en-us/library/dn163583

    In your Mailscanner, you can Whitelist Office 365 Exchange IP’s by adding them to this:
    /etc/sqlgrey/clients_ip_whitelist.local

    /etc/init.d/sqlgrey restart


    Windows 2012 commands

    February 9th, 2016

    Install telnet client:
    dism /online /Enable-Feature /FeatureName:TelnetClient

    Disable firewall:
    netsh advfirewall set allprofiles state off