-
What does the command
find /etc | less
do? -
What does the command
ps aux
do? -
What does the command
mii-tool
do and when would you use it? -
What does the command
host www.google.com
do? -
How do you get the MAC address of your computer?
-
What can you use dnsmasq for?
-
What is in
/etc/dnsmasq.conf
? -
What is the use of the
dhcp-option
configuration parameter of/etc/dnsmasq.conf
? -
What is the difference between chown, chgrp and chmod?
-
What would you use nmap for?
-
How do you check to see if a network service is running on your computer?
-
What does apache2ctl configtest do? When should you run it?
-
Consider this piece of configuration of apache:
AuthUserFile /etc/apache2/students AuthType Basic AuthName "Students" Require valid-user
What does it do?
What command would you use to add a new username and password to /etc/apache2/students? (you can write the entire commandline if you know it, but just the name of the command is fine)
-
You created the configuration for a new apache site in
/etc/apache2/sites-available
. How do you activate the new site? -
When do you need to add the line
Listen 443
to/etc/apache2/ports.conf
? -
What do you normally find in
/var/log/syslog
, and when would you read it? -
What does the command
smbclient //localhost/web
do? -
What does the command
sudo smbpasswd -a enrico
do? -
Where do you look for the explanation of the many directives found in
/etc/samba/smb.conf
? -
What is the purpose of the package cupsys?
-
What is the purpose of the command
iptables
? -
What is the difference between MDA, MTA and MUA?
-
In a normal mail server configuration, when should you accept a mail coming from outside your local network?
-
Suppose you are a mail software and you need to send a mail to addis@yahoo.com: how do you find out the internet host to which you should connect to send the mail?
-
What is the difference between
man 5 postconf
andman 8 postconf
? -
What is the different use of SMTP and IMAP?
-
What is a "smarthost" in the context of mail server configuration?
-
What does the command
mailq
do? -
What does the command
sudo postsuper -d ALL deferred
do? -
Postfix has four mail queues: "incoming", "active", "deferred" and "hold". What is the difference among them?
-
What does the package
dovecot
do? -
In the file
/etc/dovecot/dovecot.conf
, what is the difference between havingprotocols = imap
andprotocols = imaps
? -
What happens if I put the line
enrico@enricozini.org
in the file/home/enrico/.forward
? -
Consider this list of possible strategies for handling mail classified as spam:
- silently delete it
- refuse the mail and send a notification to the sender
- refuse the mail and send a notification to the receiver
- quarantine the e-mail
- refuse delivery with a SMTP error
- deliver with an extra header that says that it's spam
What are their advantages and disadvantages?