Category Archives: Linux

Change Password Complexity Requirements
avatar

There are no password requirements by default in CentOS and Fedora, however it is very simple to add them. edit /etc/pam.d/system-auth change the line which says: password requisite pam_cracklib.so try_first_pass retry=3 to password requisite pam_cracklib.so try_first_pass retry=3 minlen=8 ucredit=2 dcredit=3 ocredit=-1 … Continue reading

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

Change Password Encryption
avatar

The default password encryption on CentOS or Fedora is pretty weak.  If your shadow file were to be compromised it would not take long to get your passwords.  The command below will allow you to change your encryption to be … Continue reading

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

Permanently Turn on Automatic Syntax Highlighting
avatar

If you are like me you write a lot of code in vim.  I have noticed by default some distros don’t install vim with automatic syntax highlighting. edit /etc/vimrc add “syntax on”

Posted in Linux | Tagged , , | Leave a comment

Clean Out Orphaned Packages in Arch
avatar

After using Arch for a while and installing and removing applications you are bound to accumulate orphaned packages… which are just packages that were install as dependencies  but now that the original program has been remove they are no longer needed.  An easy way … Continue reading

Posted in Arch | Tagged , | Leave a comment