Quantcast
Channel: a sysadmin'z hard dayz
Browsing latest articles
Browse All 91 View Live

Image may be NSFW.
Clik here to view.

Three small scrips

Hey there, long time no see. Nothing special news here, just wanted to see googlebots heading here. So here comes my first new year post, 3 minor scripts. First one is for Exchange: adds new email...

View Article


Image may be NSFW.
Clik here to view.

Ubiquiti Unify nuisances and the attack of the Martians

Some weeks ago I was given a nice task. A client of ours wants us to set up two new Unify APs in its network with two new wireless networks: one for guest and one for internal use. They had a Vigor...

View Article


Debian Wheezy Mail Server – Postfix Dovecot Sasl MySQL PostfixAdmin and...

Shamefully I didn't want to find my own way so the whole tutorial I followed is here.For my personal further usage, I attached the working nginx, dovecot, postfix and php5 config to this post. There...

View Article

Ban / reject users with freeradius based on MAC addresses

Freeradius is a common tool if someone wants to set up an enterprise WiFi authentication. But if it's in a public institude, e.g. a school, sooner or later your WiFi users' passwords will leak out and...

View Article

Image may be NSFW.
Clik here to view.

A Mikrotik guest network can be more difficult than you may think

In recent RouterOS is a single click to set up a guest wifi AP. Saying guest I mean such a network that is fully or partly allowed to reach public internet but denied to reach the internal private...

View Article


GlusterFS in a simple way

Here is the story how I managed to install a 2 node glusterfs on CentOS and one client for test purposes.In my case the hostnames and the IPs were: 192.168.183.235 s1192.168.183.236 s2192.168.183.237...

View Article

Docker minihowto

To start a new container. If does not exists locally, it downloads a stock one from dockerhub.docker run -i -t centos:latest /bin/bash (-i: interactive mode) (-t: runs centos image) (starts a command,...

View Article

More Powershell

The original idea was to ease the process of creating a new distribution group with one human member and an archive public folder regularly. These mail enabled security groups and public folders always...

View Article


Image may be NSFW.
Clik here to view.

File access auditing on a Windows fileserver: Data Leakage Prevention

Here is a clever script concept that helps company managers notifying someone's unusual amount of file reading. That's typical behaviour for an employee who is intended to quit and try to steal all the...

View Article


Image may be NSFW.
Clik here to view.

Howto setup Icinga2 and Icingaweb on CentOS

On your newly installed CentOS server: # this is my network setup for my own usage, won't fit yours :)cat...

View Article

Image may be NSFW.
Clik here to view.

Connect your Jira instance to a HipChat

Last year I got the chance to manage an Atlassian Jira and Confluence server. That was fun so far. But last week I was given a new task: fire up a HipChat instance and connect it with Jira. I wasted...

View Article

Image may be NSFW.
Clik here to view.

SCCM in my test lab

OK that's not a big deal for anyone but for me it was a three day long battle with lots of dead-ended installs, undo's and redo's. So, at long last this is the famous screen I wanted to see so much!...

View Article

A returning to this blog

Just a small script to myself to remember. An elegant and playful way to internally daily backup a jira+confluence+gitlab machine - and avoid all the "unlikely happen"...

View Article


The RPC server is unavailable

Error 0x000006BA enumerating sessionnamesError [1722]: The RPC server is unavailable.Ever faced this error when tried to connect to a Windows 2012 R2 server from remote to query something ? Setting up...

View Article

User import from foreign LDAP into own AD - PART1

Here is a rather complex script system I wrote. This is just for myself to remember and record my brilliant thoughts. I doubt if anyone else could use it. The goal is to get my users (including their...

View Article


User import from foreign LDAP into own AD - PART2

The script continues with...

View Article

Powershell applet form

It's a little known fact that it is possible to build a complete application form with pure Powershell. (Being based on .NET.). Here is an awesome example, called login.ps1. This is an applet starts a...

View Article


Systemd over NTP

Ever wondered how to setup an NTP client controlled by systemd? Here are some short steps.Symptom:Mar 26 19:24:43 lokalhost systemd-timesyncd[403]: Timed out waiting for reply from 118.189.177.157:123...

View Article

Docker notes #2

docker ps -a = List docker containers including the stopped onesdocker logs -f [ID] = Show the logs wrote in a containerdocker logs --tail 200 [ID]docker commit [ID] (my_new_image) = Convert a...

View Article

The OWASP Top 10 these days, in reality

The other day I've came across a great article. This is just a bookmark referencing to it.https://www.hpe.com/us/en/insights/articles/the-owasp-top-10-is-killing-me-and-killing-you-1710.html

View Article

Zabbix agent upgrade from 2.x to 3.4

It's not easy as it seems. After you execute the first steps...wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+xenial_all.debdpkg -i...

View Article


Image may be NSFW.
Clik here to view.

MySQL monitoring with Zabbix 3.4

If you install Zabbix Server 3.4 there is a nice template supplied with it which is called "    Template DB MySQL". That could be used for monitoring remote MySQL database performance. Unfortunately...

View Article


How to rm -rf / your Azure infrastructure

Never do this...Get-AzureRmResourceGroup | Remove-AzureRmResourceGroup -Verbose -Force

View Article

Systemd services command cheatsheet

List of all services and their status:service --status-allAnother way:systemctl list-units --type service --all   List just the enabled services systemctl list-units --type service   Stop/Start/Restart...

View Article

How to find domain users who have never changed their passwords

 Hey, I have not posted here since 2 years! But I'm still kickin hard, and alive. Just to save this blog from being forgotten, placing is a new entry. And... see you in 2 years again. ;) How to find...

View Article

Browsing latest articles
Browse All 91 View Live