Linux Server (3)

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What xinetd file could you edit to configure the telnet daemon?

/etc/xinetd.d/telnet

What is the default anonymous home directory for the FTP server on SLES?

/srv/ftp

What is the default document root directory on an SLES system for the Apache Web server?

/srv/www/htdocs

What CUPS log stores remote printing requests?

/var/log/cups/access_log

What is the main configuration file for the PureFTPd FTP server?

etc/pure=ftpd/pure-ftpd.conf

What file can you place in your home directory to create a forwarder entry for your email?

forward

What address would you use in your web browser to administer your local CUPS server?

http://servername:631/admin

What FTP command can be used to change the current working directory on the FTP client?

led

Which command may be used to create printer classes?

lpadmin

What command may be used to mount the acctg shared directory on the server arfa to the local /mnt director y using SMB?

mount -t cifs //arfa//acctg/mnt

You have recently modified the /etc/aliases file. What command can you run to update your MTA with the changes?

newaliases

What of the following are valid commands for testing DNS name resolution? (Choose all that apply)

nslookup, dig, and host

What command can you run to manually synchronize your time with the NTP time sources listed in /etc/ntp.conf?

ntpdate

What two commands can you run to activate changes made to the /etc/samba/smb.conf file?

rcsmb restart and rcnmb restart

What term refers to the hop distance that a time server is from a real-time source such as an atomic clock?

stratum

What commands can you use to check the /etc/samba/smb.conf file for errors?

testparn

What file can contain directory-specific access restrictions for Apache?

.htaccess

Provided that your xinetd daemon is configured to use TCP wrappers for telnet connections, what lines could you add to the /etc/hosts allow and /etc/hosts.deny files to allow only the host arfa the ability to use the telnet utility when connecting to your server?

/etc/hosts.allow: in.telnetd: arfa and /etc/hosts.deny: in.telnetd: ALL

What record in a DNS zone file is used to map names to IP addresses for hosts on the network?

A

What Apache file is used to log web server hits?

Access_log

Which packages must you have installed for your computer to function as a DNS server? (Choose all that apply)

Bind, bind-chrootenv, and bind-utils

How does a slave DNS server know that changes have been made on the master DNS server?

By querying the serial number in the SOA on the master DNS server

Which of the following are technologies that can be used to generate dynamic content with the Apache Web server? (Choose All That Apply)

CGI programs, PERL, PHP

Which command can you use to insert new entries into MySQL database tables?

Mysql

What Apache directive is used to set the IP address and port for an Apache virtual host?

NameVirtualHost

What protocol does an MUA typically use to send e-mails to an MTA?

SMTP

What hosts are allowed to connect to the following directory? <Directory /var/www/website> Order allow,deny Deny from all </Directory>

No hosts

What two protocols do MUAs typically use to retrieve e-mails from across the network?

POP and IMAP

Which of the following are common MTAs in Linux? (Choose all that apply)

Postfix and Sendmail

What determine the default length of time that a name resolution result is cached on your computer?

The TTL in the SOA record on the DNS server

When you try to send a print job to the printer p1, you receive an error message stating that the print queue is unavailable. What command can you use to allow print jobs to enter the print queue for p1?

accept pl

What two tags are used in the /etc/squid/squid.conf file to control access to Web content?

acl and http_access

What is the TLD for www.sample.domain.com?

com


Ensembles d'études connexes

COBIT 2019 Foundation Exam question & answers

View Set

Prep U Management of Patients with Urinary Disorders

View Set

Chapter 14 - Bonds and Long-Term Notes

View Set

Section 6-2: Hinduism and Buddhism

View Set

Legal Foundations of Business Chapter 17

View Set

Pragmatic Ways to Solve Workplace Accidents and Crimes.

View Set