Tag Archives: Linux

Fix QT Apps scaling issue on hidpi screens on Ubuntu

On my 5k screen, all QT apps look very tiny, such as keepassxc and Virtualbox. The best solution I found was adding the following to your .profile to autoscale at a ratio of 2 (you can change it to your … Continue reading

Posted in Linux | Tagged , , , , | 2 Comments

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it on your own risk lsof | grep /filesystem_name | awk ‘{print $2}’ | xargs kill -9 That’s it, Enjoy!

Posted in Linux | Tagged , , , , , , | Leave a comment

Using gzip to compress a file without overriding it

gzip < source_file > compressed_file.gz Source: https://unix.stackexchange.com/questions/46786/how-to-tell-gzip-to-keep-original-file

Posted in Linux | Tagged , , , | Leave a comment

Create SSH profiles for your frequent connections on Ubuntu 18.04 using ssh_config

This is very useful if you connect to tons of servers via ssh and you need to keep record of them as profiles. Edit/Create a file .ssh/config Add entries in this manner: Host blabla User blablabla # or domain\blablabla if … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

How to connect to your MS Exchange Account (Mail, Contacts, Calendar…etc) from Linux

Just go to Online Accounts -> Microsoft Exchange -> Type your e-mail and password! This basically connects using Exchange Web Services (EWS). If this doesn’t work out with you, click on custom and enter your username and server. I had … Continue reading

Posted in Linux | Tagged , , , , , , , , , , | Leave a comment

Integrating SSH PKI with Active Directory using PBIS-Open on Ubuntu 16.04

Long Article Warning! You can skip all this and go directly to the script at the end. This resolves the dilemma of managing SSH public keys on servers that are integrated with Active Directory using PBIS-Open, it allows you to … Continue reading

Posted in Linux | Tagged , , , , , , , , | 2 Comments

Force PKI and Password authentication simultaneously on Ubuntu

I use AD authentication in my environment (for password-based authentication) Current Scenario A valid AD user logs in to the Ubuntu Linux server via SSH That user adds his public key to ~/.ssh/authorized_keys for passwordless login I disable/lock/delete the AD … Continue reading

Posted in Linux, Ubuntu, Uncategorized | Tagged , , , , | Leave a comment