Quick Notes

From Secure Computing Wiki
Revision as of 06:29, 24 July 2007 by Ecrist (Talk | contribs)

Jump to: navigation, search

This page is to list all of those quick, often one-line, commands or hints that help during the course of system administration.

MediaWiki Notes

This section is for all the stuff you can do or need to do with Media Wiki that isn't found in an easy location.

Command Line Foo

iPhone Notes

Windows (Bleh) Notes




Postfix How-To


Link sudo to /usr/bin/sudo

# ln -s /usr/local/bin/sudo /usr/bin/sudo


  • No Scroll Tabs: goto about:config, set browser.tabs.tabMinWidth=1
  • Close on Tab: goto about:config, set browser.tabs.closeButtons=1

MySQL Stuff

  • Forcibly change a user's password: SET PASSWORD FOR user=PASSWORD('password');
  • Add New Database User: GRANT ALL PRIVILEGES ON db.table to 'user'@'host' IDENTIFIED BY 'password';
    • You can use % to denote ANY host
    • % purposely EXCLUDES localhost. If you want a local host account you'll need to create two - one for local and one for others.


Apple Remote Desktop 3.1

Serial: xard-030-000-r-keg-bag-psn-mzo-tfd-uha-h