If you have ever set the root password on an OSX machine using the: passwd
Command you may be wondering how to reset it back to the default;
rm /var/db/shadow/hash/FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000000*
Edit /var/db/dslocal/nodes/Default/users/root.plist
Remove the key "authentication_authority" and any values it has.
Reboot the machine.
Monday, May 28, 2012
Thursday, May 24, 2012
Configuring Centos 6.2 without a Keyboard or Mouse
Turn on Synergy
Note: replace HOSTNAME with the host that is running the synergy server (synergys).Add the following to the bottom of: /etc/gdm/Init/Default
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc HOSTNAMEexit 0
Create the file: /etc/gdm/PostLogin/Default
#!/bin/sh
/usr/bin/killall synergyc
sleep 1
exit 0
Add the following to the bottom of: /etc/gdm/PreSession/Default
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc HOSTNAME
exit 0
Enable Auto Login
Add the following to: /etc/gdm/custom.conf[daemon]
AutomaticLoginEnable=True
AutomaticLogin=YOUR_USERNAME
Subscribe to:
Posts (Atom)