Archive for August, 2008

*nix: Turn off onscreen logging

sudo jed /etc/sysctl.conf
add this line: kernel.printk = 0 4 1 7
run this: sudo sysctl -p

Ubuntu / *nix: Gain root privileges (w/o password) and a root shell.

Select Recovery mode the version of the kernel that you wish to boot.
Select the line that starts with kernel and type e to edit the line.
Go to the end of the line and add init=/bin/bash to the end of the line.
Press enter key to exit edit mode.
Type b to boot into single user mode.
This causes the system to boot the kernel and run /bin/bash instead of its standard init.
You need to remount partitions to write
‘mount -rw -o remount /

Synchronize Mozilla Weave with MyDisk

Note: To synchronize weave with MyDisk you do not need weave account at Mozilla.

1. In Firefox - Tools/Weave/Preferences/Account make sure you are sign off. This prevents a lot of error messages you may get later.
2. Create new account at www.mydisk.se - for example: mydiskrocks
3. Login to www.mydisk.se using the account and password from step 2
4. Once you are inside mydisk.se make a folder called weave (folder creation make take some time as reported by other users).
5. In Firefox - Tools/Weave/Preferences/Advanced for server location put https://mydisk.se/mydiskrocks/weave/ (last slash is important)
6. In Firefox - Tools/Weave/SignIn
- for username put mydiskrocks (mydisk account name)
- for password put xxxxxxxxxxx (mydisk password)
- for encryption passphrase put whatever you want (cannot be the same as the password)
- click SignIn (takes some time since weave will have to create the sync folder structure at mydisk.se)