Password generator command – 16 bit password
Write a script and copy the file to /usr/local/bin
#vi passgen
#!/usr/bin/php -q
echo substr(base64_encode(sha1(microtime()."-".srand())),0,16)."\n";
?>
#chmod +x passgen
Example
[root@expertslogin]# genpass
BcHkOTNiZWI4G2Zj
Category: Tips for linux
