• My Android speedup tuning

    Putting notes not to forget. Case: Sony Xperia Z5compact is very slow and become hot on even a minor usage. After reading a lot of articles on the internet: Turn off image enhancement in settings. Change launcher to Microsoft Arrow. I really like it and it’s light. In Developer Mode: limit background processes to 4…

  • Simple fail2ban log file parcer

    I have written simple fail2ban log file parcer in Golang that finds banned IPs, makes a struct with date, time and IP and a map with IP as a key and count as a value. I am thinking of nmapping the values I’ve got and making a report out of them.

  • Перевод Designing an Authentication System: a Dialogue in Four Scenes (часть 2)

    Предположим я скопировал аутентификатор и билет пока они пересекали сеть. Мне придётся изменить сетевой адрес моей рабочей станции и моё пользовательское имя. И всё это я должен проделать за пару минут. Это довольно высокие требования. На самом деле я не думаю, что это возможно. Если только … . . .

  • Перевод Designing an Authentication System: a Dialogue in Four Scenes

    Надо сохронить, так как этот полезный текст остался только в Веб Архиве. Copyright 1988, 1997 Массачусетский технологический институт. Все права защищены. Билл Брант (Bill Bryant), февраль 1988. Отредактировал и подготовил HTML вариант — Теодор Тсо (Theodore Ts’o), Февраль, 1997. Также добавлено приложение описывающие изменения 5-й версии протокола Kerberos.

  • Google Accounts engine problem and Gnome 3

    I have login.keychain corrupted in my Gnome 3 enabled workplace due to the recent Google Accounts engine problem. For some reason it has become completely unusable, Gnome Keychain was unable to unlock it, Google Chrome stopped loading sites, goa-daemon died (as usual) and Evolution has stopped getting mail. Goog Friday morning frustration.

  • OOM-killer fun

    Recently I had installed RHEL 7 FreeIPA test lab on my workplace. I have made virtual host with default 1GB RAM, installed the system, enrolled it into the IPA domain OK, then tried ipa-replica-install. Turns out that 1GB is not enough and OOM-killer tries to solve the problem by killing processes that ipa-replica-install had spawned.…

  • AD + SSSD

    If you have host in the AD with the SSSD then your root user can be any user from the domain. So %groupname ALL=(ALL) NOPASSWD:ALL would actually give permissions to all users from the “groupname” to become any AD user they want, and if they’re SSH’ng the localhost then, they would have Kerberos ticket as…

  • Debugging IDM

    One of the most frequent cases I have is that “sometimes” and “somewhere” user is not getting authenticated. Trying to SSH to the host works for some users not always, “id username” returns errors sometimes — it’s all the same problem in the environment with LDAP replication. It does not actually matter what kind of…

  • Parsing sssd debug log

    Lol, hope to add more in furure grep -v “timed event” |grep -v “timer event”|grep -v “Requesting”|grep -v “SBUS”|grep -v “callback”|grep -v “dispatch”|grep -v “a sysbus message”|grep -v “No sub-attributes for” |grep -v “reusing cached connection” |grep -v “nesting:”|grep -v “sbus_remove_watch”|grep -v “be_client_destructor”|grep -v “sdap_process_result”|grep -v “Comparing LDAP with LDAP” |grep -v “Message type:”|grep -v…

  • More .bashrc improvements

    I need to see long path and host name. And not to lose command line space at the same time: BOLD=”\[$($TTY && /usr/bin/tput bold)\]” COLOR_BLACK=”\[$($TTY && /usr/bin/tput setaf 0)\]” COLOR_RED=”\[$($TTY && /usr/bin/tput setaf 1)\]” COLOR_GREEN=”\[$($TTY && /usr/bin/tput setaf 2)\]” COLOR_YELLOW=”\[$($TTY && /usr/bin/tput setaf 3)\]” COLOR_BLUE=”\[$($TTY && /usr/bin/tput setaf 4)\]” COLOR_MAGENTA=”\[$($TTY && /usr/bin/tput setaf 5)\]” COLOR_CYAN=”\[$($TTY…

Got any book recommendations?