LPIC-2 Flashcards
what’s the purpose of an authoritative nameserver
holding zone data for domains
config dir of sendmail?
/etc/mail
Apache2 SSL relevant options?
SSLEngine, SSLCertificateFile, SSLCertificateKeyFile, SSLCACertificateFile
which kernel module is necessary for a DHCP server?
packet socket
What’s the name of the BIND package?
bind
You can configure a caching-only server in one of three ways. Name them.
forwarding only, full recursive or both (full recursive if forward fails)
use kill(all) to reload the config of BIND
kill -s SIGHUP or killall -s SIGHUP named
fetch the current root zone file with dig
dig . ns @a.root-servers.net > db.cache
name alternative DNS Servers
dnsmasq, djbdns and PowerDNS
use “net” to join a domain with adminstrative user “adminuser”
net join member -U adminuser
which binary utility scans your smb.conf for errors?
/usr/bin/testparm
how to display the current status of samba connections?
/usr/bin/smbstatus
name the two daemons of samba
nmbd and smbd
where are the samba logfiles stored and which naming convention is used for client logs?
/var/log/samba
client logfiles are either named after their IP or name
how would you connect to samba share “allusers” on 192.168.1.1 with username “foo” on command line?
smbclient “//192.168.1.1/allusers” -U foo
how would you show available shares on 192.168.1.1 via command line with user “bar”?
smbclient -L 192.168.1.1 -U bar
name smbclient’s option to provide user and pw from a file
-A
if you provide smbclient a auth file, which options does it have to contain and which permissions are necessary?
username, password, domain
0440 or 0600
configure your OpenVPN CA
./vars, ./clean-all, ./build-ca
create keys for OpenVPN Server and a client
./build-key-server, ./build-key
how to build the diffie-hellman parameters for OpenVPN?
./build-dh
specify the file “ca.crt” related to OpenVPN
Copy to: server and all clients
Purpose: CA certificate
Secret: No
specify the file “ca.key” related to OpenVPN
Copy to: Key signing machine only
Purpose: CA Key
Secret: yes
specify the file “dh1024.pem” related to OpenVPN
Copy to: server only
Purpose: Diffie Hellman parameters
Secret: No