Archive:
Month: June 2016
Linux create salted password
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
So do not put matlab runtime into ld.so.conf.d. If yum broken, remove that file and do ldconfig.
du only local files
sudo find . -maxdepth 1 -type d ! -name . -exec du -sh ‘{}’ \; | sort -h