I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them.

The first method I found is update-rc.d to add new services to startup, which aims on the /etc/init.d folder and its contents.

The other one I found is to edit .conf files in the /etc/init folder.

What's the recommended way to enable / disable / add services and why?

Could you please give a short bulletproof step by step example on how to add a service in Ubuntu and enable and disable it?


Question: Unprotect a Word Document
Answer: One possible solution.  I think there are others as well.


Open a protected document in MS Word
Save as "Web Page (*.htm; *.html)", close Word
Open html-document in any Text-Editor
Search &lt;w:UnprotectPassword&gt; tag, the line reads something like that: &lt;w:UnprotectPassword&gt;ABCDEF01&lt;/w:UnprotectPassword&gt; (password is already in hex-format)
Keep the "password" in mind
Open original document (.doc) with any hex-editor
Search for hex-values of the password, which is stored in reverse order. (e.g. If password is 0xAB 0xCD 0xEF 0x01.  Then the password is in the .doc file as 0x01 0xEF 0xCD 0xAB)
Overwrite all 4 double-bytes with 0x00, Save, Close
Open document with MS Word, Select "Tools / Unprotect Document" (password is blank)