Run Linux services only as local user

Some time ago I wanted to let services like Apache, application servers, databases and stuff run as “Active Directory” users under Linux. Linux uses a component called “winbind”, which is part of the all famous “Samba” package, to connect to an “Active Directory”. What it does is basically map your AD (short for “Active Directory”)… Continue reading Run Linux services only as local user

Published
Categorized as Linux

Get full path of executable in PATH variable

Ever wanted to get the full path of an executable that is located in the global PATH variable? Maybe for configuration purposes? Take a look at the following snippet. It may help you: This will show the full path of the parent folder containing “code.cmd”. The term “code.cmd” could be replaced with “java”, “cmd”, “powershell”… Continue reading Get full path of executable in PATH variable

Installing Git on Windows

I tried to sum up the installation options that I use and that make most sense to me. If course they are arguable and I can explain why I use them and why they make sense from my point of view. Git for Windows can be downloaded here. I have made the screenshots with the current… Continue reading Installing Git on Windows

Debugging with PowerShell

I see a huge demand for automation even in areas that are not primarily associated with software development or IT in general. And I also see people getting more and more interested in scripting and coding to get annoying, repetitive and boring tasks done more easily and robust. There is only one drawback: Code that… Continue reading Debugging with PowerShell

Generating a less problematic public/private key file

To use this tutorial OpenSSH has to be installed on Windows. This can be easily done with the following command. To execute it, PowerShell has to be started as administrator: I had problems with key files in the OpenSSH format: These files are created when using the plain “ssh-keygen” command: I was, for example, not… Continue reading Generating a less problematic public/private key file