Archive for category Tuto
Where Microsoft Office Outlook 2007 save information and configurations
The following is a list of locations where Microsoft Office Outlook 2007 saves information.
Some of the folders might be hidden folders. To display hidden folders, do the following:
- Windows Vista
- In Windows, click the Start button, and then click Control Panel.
- Click Appearance and Personalization. Note If you are using Control Panel Classic View, double-click Folder Options, and then continue with step 4.
- Click Folder Options.
- On the View tab, under Advanced settings, under Files and Folders, under Hidden files and folders, select Show hidden files and folders.
- Microsoft Windows XP
- Click the Start button, and then click Control Panel.
- Click Folder Options.
- Click the View tab, and then click the Show hidden files and folders option.
Your configuration may not include all of the following files. Some files are created only when you customize Outlook features.
Personal Folders file (.pst)
Personal Folders files (.pst) contain your e-mail messages, calendars, contacts, tasks, and notes. You must use Outlook to work with the items in a .pst file.
When you archive Outlook information, items are saved in a .pst files.
Note Microsoft Exchange Server accounts store your information on the mail server. For Cached Exchange Mode or to work offline, copies of your items are saved in an Offline Folders file (.ost). See the Offline Folders file (.ost) section for more information. Also, some organizations allow you to export or archive your items to a .pst file.
Windows Vista drive:\Users\user\AppData\Local\Microsoft\Outlook
Microsoft Windows XP or Microsoft Windows Server 2003 drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook
Offline Folders file (.ost)
The .ost file is synchronized with the items on the server running Microsoft Exchange. Because your data remains on the Exchange server, you can recreate this .ost file on your new computer without having to back up the .ost file.
Windows Vista drive:\Users\user\AppData\Local\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook
Personal Address Book (.pab)
Windows Vista drive:\Users\user\AppData\Local\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook
Note Personal Address Books (.pab) are no longer supported by Office Outlook 2007. When you upgrade to Office Outlook 2007, you are prompted to import any .pab file into Contacts. If you choose not to import the .pab file, you can import it later by using the Import and Export command on the File menu.
Offline Address Book (.oab)
The Office Address Book (.oab) is used by Microsoft Exchange Server accounts. The Offline Address Book contains the properties of a user, such as e-mail addresses, that Outlook requires in order to send an e-mail message and display information about the user. By using the Offline Address Book, Outlook does not have to connect to Exchange in order to resolve names or open the records for each user. This reduces network traffic and improves performance.
You do not need to back up or restore this file. This is file is created and updated by Outlook.
Windows Vista drive:\Users\user\AppData\Local\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook
Command bar and menu customizations (.dat)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Outlook\outcmd.dat
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Outlook\outcmd.dat
Navigation Pane settings (.xml)
Windows Vista drive:\Users\user\AppData\Roaming\Outlook\profile name.xml
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Outlook\profile name.xml
This file includes Shortcuts, Calendar, and Contact links.
Registered Microsoft Exchange extensions (.dat)
Windows Vista drive:\Users\user\AppData\Local\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook
Outlook Contacts AutoComplete (.nk2)
AutoComplete is a feature which displays suggestions for names and e-mail addresses as you begin to type them. These suggestions are possible matches from a list of names and e-mail addresses that you have typed before, known as the AutoComplete name list.
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Outlook
Rules (.rwz)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Outlook
Note If you upgraded to Office Outlook 2007 from a version of Outlook earlier than Microsoft Outlook 2002, you might have an .rwz file on your computer’s hard disk drive. The .rwz file is no longer needed, and the information about rules is now kept on the server running Microsoft Exchange, and in the Personal Folders file (.pst) (Personal Folders file (.pst): Data file that stores your messages and other items on your computer. You can assign a .pst file to be the default delivery location for e-mail messages. You can use a .pst to organize and back up items for safekeeping.) for POP3 (POP3: A common protocol that is used to retrieve e-mail messages from an Internet e-mail server.) and IMAP (IMAP (Internet Message Access Protocol): Unlike Internet e-mail protocols such as POP3, IMAP creates folders on a server to store/organize messages for retrieval by other computers. You can read message headers only and select which messages to download.) e-mail accounts. So you can delete the file.
If you use the Rules Import and Export feature, the default location for .rwz files is drive:\Documents and Settings\user\My Documents.
Print styles (Outlprnt with no extension)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Outlook
Signatures (.rtf, .txt, .htm)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Signatures
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Signatures
Stationery (.htm)
Windows Vista drive:\Program Files\Common Files\Microsoft Shared\Stationery
Windows Vista 64-bit with Office Outlook 2007 32-bit drive:\Program Files (x86)\Common Files\Microsoft Shared\Stationery
Windows XP or Windows Server 2003 drive:\Program Files\Common Files\Microsoft Shared\Stationery
Custom forms
Windows Vista drive:\Users\user\AppData\Local\Microsoft\Forms
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Forms
Dictionary (.dic)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\UProof
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\UProof
Templates (.oft)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Templates
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Templates
Send/Receive settings (.srs)
Windows Vista drive:\Users\user\AppData\Roaming\Microsoft\Outlook
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\Application Data\Microsoft\Outlook
Message (.msg, .htm, .rtf)
Windows Vista drive:\Users\user\Documents
Windows XP or Windows Server 2003 drive:\Documents and Settings\user\My Documents
Instalando FTP (vsftpd) en RHEL 5.0 (CentOS)
Chequear si esta instalado:
[root@rhel5 ~]# rpm -q vsftpd
vsftpd-2.0.5-10.el5
Si no esta instalado, entonces via yum:
yum install vsftpd
[root@rhel5 ~]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
Note: The default anonymous ftp user home is “/var/ftp/”.
Configuracion:
Un servicio muy habitual es el ftp, sobre todo si tenemos montado un servidor Web para que los diseñadores y webmasters puedan dejar allí sus creaciones sin molestar a los administradores, nosotros. Con este objetivo, vamos a montar un servidor ftp.
Usuario: client1
Acceso a su directorio: /var/www/dominio1
Sin shell en el sistema y en un entorno chroot
Usuario: client2
Acceso a su directorio: /var/www/dominio2
Sin shell en el sistema y en un entorno chroot
Usuario: webmaster
Acceso a su directorio: /var/www
Sin shell en el sistema y en un entorno chroot
Preparación del sistema
Antes de instalar el servidor ftp vamos a crear los usuarios y securizarlos para que tengan los mínimos permisos y sólo puedan hacer lo que nosotros definamos.
Crearemos un grupo llamado ftp al cual asociaremos los usuarios.
# groupadd ftp
Creamos los usuarios con sus correspondientes características.
#useradd -g ftp -d /var/www/dominio1 -c ” Cliente 1 ” client1
#useradd -g ftp -d /var/www/dominio2 -c ” Cliente 2 ” client2
#useradd -g ftp -d /var/www -c ” webmaster ” webmaster
Les asignamos un password a los usuarios con el comando passwd. Si no tiene password no funcionará.
Ahora creamos una shell fantasma en el directorio correspondiente.
#mkdir /bin/ftp
Editamos el fichero /etc/shells y la añadimos en la ultima línea y continuación editamos el fichero /etc/passwd y buscamos las líneas donde están definidos los usuarios que hemos creado antes y les añadimos el shell falso:
client1:x:1005:1005: Cliente 1 :/var/www/dominio1:/bin/ftp
client2:x:1006:1005: Cliente 2 :/var/www/dominio2:/bin/ftp
webmaster:x:1007:1005: webmaster :/var/www:/bin/ftp
Instalación del servidor
Ahora es cuando realmente vamos a realizar la instalación del servidor con el comando apt-get.
#apt-get install vsftpd
Esto descargará los paquetes y los dejará ordenados en sus directorios correspondientes junto a los scripts de arranque y parada del servicio.
Configuración del servidor
El fichero de configuración del servidor se encuentra en /etc/vsftpd.conf. Lo editamos para configurarlo a nuestro gusto y objetivo. El contenido es algo parecido, buscamos las líneas indicadas y las modificamos:
# Example config file /etc/vsftpd.conf
#Escuchando
listen=YES
#
…………………………………………
# Desactivamos el acceso anónimo
anonymous_enable=NO
#
# Descomentamos la línea para que se puedan conectar
local_enable=YES
#
# Permitimos a usuarios locales escribir
write_enable=YES
#
# APLICA CONFIGURACIÓN UMASK
local_umask=003
#Mensajes welcome
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
……………………….
#
# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
# Se descomenta esto para crear una jaula
chroot_local_user=YES
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list
#
# Debian customization
# secure_chroot_dir=/var/run/vsftpd
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
#rsa_cert_file=/etc/ssl/certs/vsftpd.pem
userlist_enable=YES
tcp_wrappers=YES
userlist_deny=NO
A continuación creamos el fichero vsftpd.chroot_list el cual tendrá la lista de usuarios que no tendrán acceso al servidor:
# touch /etc/vsftpd.chroot_list
Volcamos los datos a este fichero desde etc/password con el comando.
# cat /etc/passwd | awk -F: ‘{ print $1 }’ > /etc/vsftpd.chroot_list
Esto nos genera un fichero con los login de usuarios del sistema del cual quitamos los que si queremos que tengan acceso y los ponemos en el fichero /etc/vsftpd.user_list.
Ejemplos de ficheros:
vsftpd.chroot_list
# usuarios con no acceso
root
daemon
bin
sys
sync
games
man
lp
mail
news
vsftpd.user_list
#usuarios con acceso
webmaster
client1
client2
Afinando aún más
Dentro del fichero de configuración (vsftpd.conf) algunas opciones interesantes que también podemos controlar son las siguientes:
#opciones de transferencia
#ancho banda por usuario anónimo 5kb
anon_max_rate=5100
#ancho de banda por usuario local 5kb
local_max_rate=5100
#número máximo clientes simultáneos
max_clients=5
#máximo conexiones por ip
max_per_ip=2
#envía al sistema
syslog_enable=yes
session_support=yes
HowTo: Install Inadyn in CentOS 5.1
Drop to the tmp directory and download the Inadyn zip file.
cd /tmp
wget http://cdn.dyndns.com/inadyn.zip
Unzip the file and copy the linux version of the inadyn file located in /bin/linux to the /usr/bin directory.
unzip inadyn.zip
cp inadyn/bin/linux/inadyn /usr/bin/inadyn
We must change the file permission
chmod 755 /usr/bin/inadyn
Create or edit the configuration file for inadyn
nano /etc/inadyn.conf
In the inadyn.conf file must look something like this.
--username yourdyndnsusername --password yourdyndnspassword --alias yoursite1.dyndns.com --alias yoursite2.dyndns.com --update_period 6000 --background
Save the configuration file and change the file permission.
chmod 640 /etc/inadyn.conf
Now, we want inadyn to start every time the system rebooted.
export EDITOR=nano
crontab -e
In the crontab, add this at the very first line.
@reboot inadyn
Done! We can run Inadyn instantly by entering inadyn command in the terminal window.