A friend of mine, who has forgotten more than I'll ever learn about Unix, just F'd up his Sun Unix box. This guy thinks he knows everything, and just goes on and on about how he could walk into any company and within 30 minutes hack into their Unix sevrer and do whatever he wants to it. Well, his brilliance just showed up!
He has a Sun Sparc station with 5.8 on it. After many failed attempts to hack into it, I give him the root password so he can do whatever he wants to it. Instead of adding a new user ID for himself, he decides to change the root users shell to bash. Problem starts here. The dumbass didn't change the path, just put ba
in front of sh (used vi on the password file), logged out (second mistake) and now he can't log back in! It comes back with "No Shell"! What a tard, he didn't even think to check if bash was in /sbin
He should have stayed logged in, and telneted to it from his other system to test it before logging out, that's like rookie mistake number 1!
He can't ftp to it either, I didn't allow root to use ftp when I set it up for him. Something so simple, yet so important just fucked him up! I laughed so hard on the phone yesterday when he called me!!!