The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @maikeltjeonline: Is er al een aanspreek/hulppunt zoals de Woonbond of WOON! voor huiseigenaren met problemen zoals Erfpacht of WOZ bezw… 2 minutes ago
    • RT @BPlaatje: Kerels met standpunten over abortus. Mensen met een topinkomen over werkers. Politici met gegarandeerd wachtgeld over de WW.… 9 minutes ago
    • RT @FTM_nl: Interview | China-deskundige Frans-Paul van der Putten: "Nederland doet er alles aan om Chinese bedrijven hiernaartoe te halen.… 10 minutes ago
    • RT @cohenmischa: Voor een beter beeld van consultants in de politiek als @wbhoekstra en @ericwiebes: De vuile handen van McKinsey, de jezuï… 11 minutes ago
    • RT @TiloJung: ALDI-Verkäuferin in Berlin über ausverkaufte #Schnelltests: „Es standen schon 400-500 Leute vorm Laden bevor wir Mitarbeiter… 17 minutes ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,280 other followers

Archive for June 21st, 2017

OpenSuSE Tumbleweed – testing the password of any user with getent and openssl

Posted by jpluimers on 2017/06/21

For one of my VMs I forgot to note which of the initial password I had changed, so I wanted to check them.

Since I didn’t have a keyboard attached to the console and ssh wasn’t allowing root, I needed an alternative than actual login to test the passwords.

Luckily /etc/shadow, with getent and openssl came to the rescue.

Since getent varies per distribution, here is how it works on OpenSuSE:

Read the rest of this entry »

Posted in bash, Development, Linux, openSuSE, Scripting, Software Development, SuSE Linux | Leave a Comment »

When someone writes UTF-8 and UTF-16 strings to the same file in binary format without converting between them…

Posted by jpluimers on 2017/06/21

A while ago, I had to fix some stuff in an application that would write – using a binary mechanism – UTF-8 and UTF-16 strings (part of it XML in various flavours)  to the same byte stream without converting between the two encodings.

Some links that helped me investigate what was wrong, choose what encoding to use for storage and fix it:


Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi XE8, Development, Software Development | 3 Comments »

%d bloggers like this: