Installing Firefox 4 On Ubuntu  

You can add the Firefox “Stable” repository and install the latest version from the command line in a terminal window. That’s actually the easiest method for most linux users. Here are the three simple commands you need to enter into the terminal.

sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade


List Default Samba Values  

Sometimes it would be nice to know the default values for your version of Samba, well it's easier than you think.
Backup your current smb.conf file:

mv /etc/samba/smb.conf{,.BU}

Create a new, empty, smb.conf file.

touch /etc/samba/smb.conf

and place the testparm output into smb.conf.defaults.

testparm -sv > /etc/samba/smb.conf.defaults

Move your old smb.conf file back into use

mv /etc/samba/smb.conf{.BU,}

Open the file to view the parameters at your leisure.

List Dovecot Default Values  

To get a detailed list of defaults for Dovecot, simply create a file with the minimal configuration, it can be named whatever you like, but must contain:

auth default {

Ours is named 'minimal.conf'; therefore, while in the same directory as your new file, to get the list you simply:

dovecot -a -c minimal.conf

However, this may be a bit unweildy, so narrowing it down with a pipe to grep will help, as in:

dovecot -a -c minimal.conf | grep myhostname
List Dovecot NON-Default Values  

To get a list parameters that have been changed, simply:

dovecot -n

Again, you can narrow down the list by piping to grep, as in:

dovecot -n | grep myhostname

Page 6 of 12