Resetting / By passing OS X login password
1. Reboot
2. Hold apple + s down after you hear the chime.
3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
* mount -uw /
* rm /var/db/.AppleSetupDone
* shutdown -h now
4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again!
**************************************************************************
If the Mac is in Read only mode:
Resetting PRAM and NVRAM
1. Shut down the computer.
2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
3. Turn on the computer.
4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
6. Release the keys.
Ref: http://illshare.wordpress.com/2008/06/01/how-to-resset-administrator-password-mac-os-x/
Showing posts with label password. Show all posts
Showing posts with label password. Show all posts
Monday, July 6, 2009
Monday, December 29, 2008
Checking Password Policies in Linux
To check the list of users of linux machine, check the password or shadow password file.
cat /etc/shadow
cat /etc/passwd
cat /etc/group
cat /etc/aliases
cat /etc/sudoers
To check the policy of a user
chage -l
chage -I -1 -m 9 -M 100 -E -1
Subscribe to:
Posts (Atom)