Break Mac password

Posted: February 26, 2012 in Mac, Technology
Tags: ,

The following instruction will change any user’s password under Mac OS X. I usually need this when working on the clients’ mac machine and don’t know the password. Remember to tell them what is their new password. I usually put the password as hint if in case I forget to tell them.

Right after the startup sound press the following buttons:

Command+S

/sbin/fsck -fy
/sbin/mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist (Mac OS X 10.8 and higher)
dscl . -passwd /Users/whitsongordon newpassword
Advertisements

To disable the yellow connection bar you would need to go to the display tab in the RDP client and uncheck “Display the connection bar when in full screen mode.”
You can also change the setting in the .rdp file. The connection bar will still be visible for 5 seconds when you log on, but then it will automatically slide out of view. Moving your mouse to the top of your desktop will give you the connection bar back.

If you want to get rid of it alltogether, add this registry key to your profile:

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client
“PinConnectionBar” = REG_DWORD:0

Now the connection bar will not return, even if you move the mouse to the top of the screen.
Clicking the pushpin will change the registry key back to “PinConnectionBar” = REG_DWORD:1.

Usually the error log complains about not being able to read postgresql.conf. If you check postgres directory there is NO data folder created. In order to fix the problem you would need to follow this:

Fix:

This error is caused by the failure of initdb in creating a DB. It
fails probably due to the locale. To fix the problem:

runas /user:postgres cmd
c:
cd "\Program Files\PostgreSQL\8.3\bin"
initdb -D "c:\Program Files\PostgreSQL\8.3\data" -E UTF8 --locale=English

Don’t for get to add the locale at the end otherwise it will fail.

If you have dual boot system ubuntu and windows and you get this error unknown filesystem you would want to recover your windows first priority. You need to start your computer with extranal Ubuntu live CD or USB (if not sure ask I can explain how to create one).

once you run ubuntu then you need to open commandline (Ctrl+Shift + t) you need to be root to access root type:

sudo su

Then type following commands successively

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update && sudo apt-get install -y boot-repair && boot-repair

Once done will open the boot-repair windows with two options choose the first option ( need to be patient it will take time).Restart computer without the CD or USB and see if it fixes the problem if not then run you live ubuntu again and type’gksu boot-repair’ in the commandline. It will popup the window again and choose the second option. Restart and see if it fixes the problem if not follow the link here for further help.

Welcome

Posted: November 15, 2010 in Front Page

Very welcome to my personal web blog. Here you will find various web contents that may be helpful. Please do not hesitate to provide feedback or ask any question you may have during the visit.