Archive:

Month: June 2016


Linux create salted password

By: | Post date: June 21, 2016 | Comments: No Comments

Posted in categories: Computer Tips, Work related

Method 1 openssl passwd -1 -salt xyz yourpass Method 2 makepasswd –clearfrom=- –crypt-md5 <<< YourPass Method 3 echo "username:password" | chpasswd Or you can use encrypted password with chpasswd first generate it using : perl -e 'print crypt("YourPasswd", "salt"),"\n"' then later you can use generated password to update echo "username:encryptedPassWd" | chpasswd -e this encrypted […]

Yum is not compatible with Matlab Runtime

By: | Post date: June 17, 2016 | Comments: No Comments

Posted in categories: Computer Tips, Work related

So do not put matlab runtime into ld.so.conf.d. If yum broken, remove that file and do ldconfig.

du only local files

By: | Post date: June 14, 2016 | Comments: No Comments

Posted in categories: Computer Tips, Work related

sudo find . -maxdepth 1 -type d ! -name . -exec du -sh ‘{}’ \; | sort -h