practice more Flashcards
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