Debugging sendmail queue delivery
Sometime, you may want to force sendmail to do queue delivery and maybe you would like to get the detail traffic of sending.
Extend a lvm partition
In modern Linux system, everyone could extend the lvm space and re-size the filesystem online without down time.
Non-root user install perl modules
Finding perl included path perl -e “print qq(@INC)” Extend the library path Use PERL5LIB PERL5LIB=/home/xxx/myperllib:/another/path/lib; export PERL5LIB Use -I parameter > perl -I /home/xxx/myperllib abc.pl Add the path into your script #!/usr/bin/perl use lib “/home/xxx/myperllib”; use MyPerlLibModule; Using local::lib to install perl module without root Get the package perl Makefile.PL –bootstrap make make test make install Setup the environment variable into your shell, you may echo ‘eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)’ >>~/.bashrc Now, you can run perl -MCAPN -eshell to install perl module.
Openldap administration
Outline common openldap administration tasks, including reindexing, changing schema, etc., to make everyone have a quick reference.
Openssh
Add an extra instance of sshd which supporting PAM for Slackware 13.37. The aim as adding extra instance is to enabling pam_ldap for sshd.
Configuring OpenLDAP as a replacement for NIS
It should be an easy task in modern linux environment to use openldap as a central user database for authentication. I try to list out the steps about the implementation. The reference system is base on Slackware 13.37. Some packages may already included in your Linux distribution but not for mine. So, you may skip the installation process and jump to the configuration process.
Slackware & PAM
Building PAM for slackware 13.37. You can feel free to build the library from src, or, you may using the package source in extra/source, which included in the slackware distribution.
openldap building and configuration
Try to config an openldap (2.4.29) as nss backend & pam backend for Linux, NIS replacement, as well as SAMBA PDC.
Everything I know about Linux software raid (mdadm)
I hope this post could help some people when dealing with Linux software RAID (mdadm).