Archive for July, 2008

VMware CPU Resources

Saturday, July 12th, 2008

Look at my VMware ESX Server CPU Resources.

click here for bigger image.

As you can see from graph above, my VMware ESX Server running for more than 85% - 97% of CPU resources.
Basically I have 2 VMware ESX 3.5 running on top of Dell R900, Intel Xeon E7330 @2.4 Ghz processor and 128 RAM on each [...]

How to crack root password on SuSE Linux

Thursday, July 10th, 2008

Shit! I’m lost my SuSE Linux root password! I can’t remember what is my root password, I have tons of password inside my head and I can’t recall.
Don’t worry, If you’ve lost your root password, you might be able to do it this way. Let me explain “How to crack your root password on (SuSE) [...]

How to reset multiple users password on Linux

Wednesday, July 2nd, 2008

How to reset multiple users password on Linux?
Choose a new password using perl with crypt format
#perl -e ‘print crypt(”newpassword”, “salt”),”\n”‘
sal.HhR9nxBk6
Reset password for any userID larger than 499 with new default password “newpassword”
#for acc in $(awk -F: ‘{ if ($3 > 499) { print $1 }}’ /etc/passwd); do
usermod -p sal.HhR9nxBk6 $acc;
done
Reset password for [...]

How to SYNC Linux and Samba user password

Wednesday, July 2nd, 2008

In order to sync Linux user password and Samba user password, you have to configure PAM. Personally I’m using SLES9 for my testing environment and I have to configure /etc/pam.d/passwd and /etc/pam.d/sshd as following:
password required pam_smbpass.so nullok try_first_pass use_authtok
How to test?
Create a new user called testing
#useradd -m testing
Setup default password
#passwd testing
Create a new samba user
#smbpasswd [...]