practice more Flashcards
(42 cards)
What file do you view in order too see the default encryption method?
/etc/login.defs
What file contains all the default settings for the network services?
/etc/xinetd.conf
How do I check a specific network services setting?
/etc/xinetd.d/telnet
How do I check all the rpc ports?
/etc/rpc
How do I check all the services that the ports are mapped too?
/etc/services
What are the steps too send another file on the network using nfs?
ensure nfs is running on both machines
create the /etc/exports file and then add the file you wanna share
/myfile 192.168.9.80(rw)
exportfs -a to share it
on the client showmount -e 192.168.0.82 to check if it’s linked
create the directory to store the share file in
mount 192.168.0.80:/myfile /home
How do I view log messages? What are the fields of it?
/etc/rsyslog.conf
Selctor action
facility.level who it going too
What are the fields of the local name resolution file?
/etc/hosts
IFA
IP FQDN Aliaas
_______ is the most widely used DNS software on the internet for domain resolution. It implements the __________ service, a DNS server to provide name resolution services or act as a n authority for a domain or a sub domain
BIND
named
What file provides a map of IP addresses to hostnames and aliases? What are its fields
/etc/hosts
IFA
What file specifies machines for name resolution?
and what are its fields?
/etc/resolv.conf
Keyword > Value > description KVD
What file controls how hostnames are resolved system wide?
/etc/nsswitch.conf
what is the main configuration file for BIND?
/etc/named.conf
What is the main configuration file for SSH? How do I prevent root login on ssh?
etc/ssh/sshd_config
how do I ssh to 192.168.0.80 and execute ls?
How do I ssh to the same address and securely copy a directory?
ssh stduent@192.168.0.80 ls -l
scp -r student@192.168.0.80 /mydir
What command is simliar to scp but must be acknowledged every step of the way?
How do cd in this mode?
Hoiw do I provide an ls of the local directory?
How dio I provide a remote directory listing?
sftp
cd
lls
ls
_______ is a suite of software developed to provide file and print sharing between different OSs
Samba
What does smbd provide for samba?
What does nmbd provide for samba?
file sharing
network printing
authentication and authorization
name resolution
service announcement
What are the three-security modes of samba?
______, it is the most common setting for a standalone file server or a domain controller. A client must logon with a valid username/password
________, Samba tries to validate the username/password by passing it to a windows domain controller
________ Samba acts as a domain member in an ADS realm. In this mode, the machine running Samba must have Kerberos installed and configured, and Samba must be joined to the ADS realm as an AD member
User
Domain
Active DIrectory
What command changes the security context of a file?
chcon -R
Where is the configuration file for Apache located?
/etc/hhtpd/conf/httpd.conf
What are the three directive groups of apache?
_____________________ conatins directives that control tyhe global operation of the Apache server process
_______________ contains directives that define the parameters of the main server, which responds to requests not handled by a virtual host
________________ contain settings for virtual host, if one exists.
Global enviroment
Main Server
Virtual Hosts
Where is the location for the apache configuration file?
How do I check it to ensure its working correctly? What command is it?
/etc/httpd/conf/httpd.conf
apachectl -l
what directive __________ works with the ServerSignature directive. By default the server sends an HTTP response header with server information to the requesting source
What does this tell you? What are the three settings you can change it too if server signature is turned on?
How do I turn off server signature to prevent apache displaying any information?
ServerTokens
How much information the server banner gives someone accessing apache
to reveal the full OS/version information (Full/OS)
to reveal only that it’s an apache service Prod(Product only)
to revael nothing
ServerTokens Full/OS
ServerTokens Prod
vi /etc/httpd/conf/httpd.conf
/ ServerSignature
ServerSignature = “off”