Anisa Training Pack Security Level1
Anisa Training Pack Security Level1
1
سرفصلهای دوره آموزشی
LPIC-1
Topic 101: System Architecture
101.1 Determine and configure hardware settings
Weight: 2
The following is a partial list of the used files, terms and utilities:
• /sys/
• /proc/
• /dev/
2
• modprobe
• lsmod
• lspci
• lsusb
Weight: 3
The following is a partial list of the used files, terms and utilities:
• dmesg
• journalctl
• BIOS
• UEFI
• bootloader
• kernel
• initramfs
• init
3
• SysVinit
• systemd
The following is a partial list of the used files, terms and utilities:
• /etc/inittab
• shutdown
• init
• /etc/init.d/
4
• telinit
• systemd
• systemctl
• /etc/systemd/
• /usr/lib/systemd/
• wall
Weight: 2
The following is a partial list of the used files, terms and utilities:
• / (root) filesystem
• /var filesystem
• /home filesystem
• /boot filesystem
5
• EFI System Partition (ESP)
• swap space
• mount points
• partitions
Weight: 2
The following is a partial list of the used files, terms and utilities:
6
102.3 Manage shared libraries
Weight: 1
The following is a partial list of the used files, terms and utilities:
• ldd
• ldconfig
• /etc/ld.so.conf
• LD_LIBRARY_PATH
Weight: 3
7
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• /etc/apt/sources.list
• dpkg
• dpkg-reconfigure
• apt-get
• apt-cache
Weight 3
• Install, re-install, upgrade and remove packages using RPM, YUM and
Zypper.
• Obtain information on RPM packages such as version, status, depen-
dencies, integrity and signatures.
8
• Determine what files a package provides, as well as find which package
a specific file comes from.
• Awareness of dnf.
The following is a partial list of the used files, terms and utilities:
• rpm
• rpm2cpio
• /etc/yum.conf
• /etc/yum.repos.d/
• yum
• zypper
Weight: 1
9
product.
• Awareness of cloud-init.
The following is a partial list of the used files, terms and utilities:
• Virtual machine
• Linux container
• Application container
• Guest drivers
• SSH host keys
• D-Bus machine id
Weight: 4
• Use single shell commands and one line command sequences to per-
form basic tasks on the command line.
• Use and modify the shell environment including defining, referencing
and exporting environment variables.
• Use and edit command history.
• Invoke commands inside and outside the defined path.
10
The following is a partial list of the used files, terms and utilities:
• bash
• echo
• env
• export
• pwd
• set
• unset
• type
• which
• man
• uname
• history
• .bash_history
• Quoting
Weight: 2
• Send text files and output streams through text utility filters to modify
the output using standard UNIX commands found in the GNU textutils
package.
11
The following is a partial list of the used files, terms and utilities:
• bzcat
• cat
• cut
• head
• less
• md5sum
• nl
• od
• paste
• sed
• sha256sum
• sha512sum
• sort
• split
• tail
• tr
• uniq
• wc
• xzcat
• zcat
Weight: 4
12
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• cp
• find
• mkdir
• mv
• ls
• rm
• rmdir
• touch
• tar
• cpio
• dd
• file
• gzip
• gunzip
• bzip2
• bunzip2
• xz
• unxz
• file globbing
13
103.4 Use streams, pipes and redirects
Weight: 4
The following is a partial list of the used files, terms and utilities:
• tee
• xargs
Weight: 4
14
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• &
• bg
• fg
• jobs
• kill
• nohup
• ps
• top
• free
• uptime
• pgrep
• pkill
• killall
• watch
• screen
• tmux
15
103.6 Modify process execution priorities
Weight: 2
The following is a partial list of the used files, terms and utilities:
• nice
• ps
• renice
• top
Weight: 3
Description: Candidates should be able to manipulate files and text data using regular
expressions. This objective includes creating simple regular expressions containing
several notational elements as well as understanding the differences between basic
and extended regular expressions. It also includes using regular expression tools to
perform searches through a filesystem or file content.
16
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• grep
• egrep
• fgrep
• sed
• regex(7)
Weight: 3
Description: Candidates should be able to edit text files using vi. This objective
includes vi navigation, vi modes, inserting, editing, deleting, copying and finding
text. It also includes awareness of other common editors and setting the default
editor.
17
Key Knowledge Areas:
• vi
• /, ?
• h,j,k,l
• i, o, a
• d, p, y, dd, yy
• ZZ, :w!, :q!
• EDITOR
Weight: 2
18
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• fdisk
• gdisk
• parted
• mkfs
• mkswap
Weight: 2
19
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• du
• df
• fsck
• e2fsck
• mke2fs
• tune2fs
• xfs_repair
• xfs_fsr
• xfs_db
Weight: 3
20
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• /etc/fstab
• /media/
• mount
• umount
• blkid
• lsblk
104.4 Removed
Weight: 3
21
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• chmod
• umask
• chown
• chgrp
Weight: 2
Description: Candidates should be able to create and manage hard and sym-
bolic links to a file.
• Create links.
• Identify hard and/or soft links.
• Copying versus linking files.
• Use links to support system administration tasks.
22
The following is a partial list of the used files, terms and utilities:
• ln
• ls
104.7 Find system files and place files in the correct location
Weight: 2
The following is a partial list of the used files, terms and utilities:
• find
• locate
• updatedb
• whereis
• which
• type
• /etc/updatedb.conf
23
Topic 105: Shells and Shell Scripting
Weight: 4
The following is a partial list of the used files, terms and utilities:
• source
• /etc/bash.bashrc
• /etc/profile
• env
• export
• set
• unset
• ~/.bash_profile
• ~/.bash_login
• ~/.profile
• ~/.bashrc
24
• ~/.bash_logout
• function
• alias
Weight: 4
25
The following is a partial list of the used files, terms and utilities:
• for
• while
• test
• if
• read
• seq
• exec
• ||
• &&
Weight: 2
26
The following is a partial list of the used files, terms and utilities:
• /etc/X11/xorg.conf
• /etc/X11/xorg.conf.d/
• ~/.xsession-errors
• xhost
• xauth
• DISPLAY
• X
Weight: 1
The following is a partial list of the used files, terms and utilities:
• KDE
• Gnome
• Xfce
27
• X11
• XDMCP
• VNC
• Spice
• RDP
106.3 Accessibility
Weight: 1
The following is a partial list of the used files, terms and utilities:
28
Topic 107: Administrative Tasks
107.1 Manage user and group accounts and related system files
Weight: 5
The following is a partial list of the used files, terms and utilities:
• /etc/passwd
• /etc/shadow
• /etc/group
• /etc/skel/
• chage
• getent
• groupadd
• groupdel
• groupmod
• passwd
• useradd
• userdel
• usermod
29
107.2 Automate system administration tasks by scheduling jobs
Weight: 4
The following is a partial list of the used files, terms and utilities:
• /etc/cron.{d,daily,hourly,monthly,weekly}/
• /etc/at.deny
• /etc/at.allow
• /etc/crontab
• /etc/cron.allow
• /etc/cron.deny
• /var/spool/cron/
• crontab
• at
• atq
• atrm
• systemctl
• systemd-run
30
107.3 Localisation and internationalisation
Weight: 3
The following is a partial list of the used files, terms and utilities:
• /etc/timezone
• /etc/localtime
• /usr/share/zoneinfo/
• LC_*
• LC_ALL
• LANG
• TZ
• /usr/bin/locale
• tzselect
• timedatectl
• date
• iconv
• UTF-8
• ISO-8859
• ASCII
• Unicode
31
Topic 108: Essential System Services
Weight: 3
The following is a partial list of the used files, terms and utilities:
• /usr/share/zoneinfo/
• /etc/timezone
• /etc/localtime
• /etc/ntp.conf
• /etc/chrony.conf
• date
• hwclock
• timedatectl
• ntpd
• ntpdate
• chronyc
• pool.ntp.org
32
108.2 System logging
Weight: 4
• /etc/rsyslog.conf
• /var/log/
• logger
• logrotate
• /etc/logrotate.conf
• /etc/logrotate.d/
• journalctl
33
• systemd-cat
• /etc/systemd/journald.conf
• /var/log/journal/
Weight: 3
• ~/.forward
• sendmail emulation layer commands
• newaliases
• mail
• mailq
• postfix
• sendmail
• exim
34
108.4 Manage printers and printing
Weight: 2
The following is a partial list of the used files, terms and utilities:
Weight: 4
35
Key Knowledge Areas:
The following is a partial list of the used files, terms and utilities:
• /etc/services
• IPv4, IPv6
• Subnetting
• TCP, UDP, ICMP
Weight: 4
36
• Configure ethernet and wi-fi network using NetworkManager.
• Awareness of systemd-networkd.
The following is a partial list of the used files, terms and utilities:
• /etc/hostname
• /etc/hosts
• /etc/nsswitch.conf
• /etc/resolv.conf
• nmcli
• hostnamectl
• ifup
• ifdown
Weight: 4
37
The following is a partial list of the used files, terms and utilities:
• ip
• hostname
• ss
• ping
• ping6
• traceroute
• traceroute6
• tracepath
• tracepath6
• netcat
• ifconfig
• netstat
• route
Weight: 2
38
The following is a partial list of the used files, terms and utilities:
• /etc/hosts
• /etc/resolv.conf
• /etc/nsswitch.conf
• host
• dig
• getent
Weight: 3
39
The following is a partial list of the used files, terms and utilities:
• find
• passwd
• fuser
• lsof
• nmap
• chage
• netstat
• sudo
• /etc/sudoers
• su
• usermod
• ulimit
• who, w, last
Weight: 3
Description: Candidates should know how to set up a basic level of host se-
curity.
40
The following is a partial list of the used files, terms and utilities:
• /etc/nologin
• /etc/passwd
• /etc/shadow
• /etc/xinetd.d/
• /etc/xinetd.conf
• systemd.socket
• /etc/inittab
• /etc/init.d/
• /etc/hosts.allow
• /etc/hosts.deny
Weight: 4
41
The following is a partial list of the used files, terms and utilities:
• ssh
• ssh-keygen
• ssh-agent
• ssh-add
• ~/.ssh/id_rsa and id_rsa.pub
• ~/.ssh/id_dsa and id_dsa.pub
• ~/.ssh/id_ecdsa and id_ecdsa.pub
• ~/.ssh/id_ed25519 and id_ed25519.pub
• /etc/ssh/ssh_host_rsa_key and ssh_host_rsa_key.pub
• /etc/ssh/ssh_host_dsa_key and ssh_host_dsa_key.pub
• /etc/ssh/ssh_host_ecdsa_key and ssh_host_ecdsa_key.pub
• /etc/ssh/ssh_host_ed25519_key and ssh_host_ed25519_key.pub
• ~/.ssh/authorized_keys
• ssh_known_hosts
• gpg
• gpg-agent
• ~/.gnupg/
42
سرفصلهای دوره آموزشی
LPIC-2
Topic 200: Capacity Planning
Weight: 6
43
The following is a partial list of the used files, terms and utilities:
• iostat
• netstat
• w
• top
• sar
• processes blocked on I/O
• blocks out
• vmstat
• pstree, ps
• Isof
• uptime
• swap
• blocks in
Weight: 2
44
The following is a partial list of the used files, terms and utilities:
• diagnose
• predict growth
• resource exhaustion
Weight: 2
• /usr/src/linux/
• /usr/src/linux/Documentation/
• zImage
• bzImage
• xz compression
45
201.2 Compiling a kernel
Weight: 3
• /usr/src/linux/
• Kernel Makefiles
• Kernel 2.6.x/3.x make targets
• Customize the current kernel configuration.
• Build a new kernel and appropriate kernel modules.
• Install a new kernel and any modules.
• Ensure that the boot manager can locate the new kernel and associat-
ed files.
• Module configuration files
• Use DKMS to compile kernel modules.
• Awareness of dracut
• mkinitrd
• mkinitramfs
• make
• make targets (all, config, xconfig, menuconfig, gconfig, oldconfig,
mrproper, zImage, bzImage, modules, modules_install, rpm-pkg, bin-
rpm-pkg, deb-pkg)
46
• gzip
• bzip2
• module tools
• /usr/src/linux/.config
• /lib/modules/kernel-version/
• depmod
• dkms
Weight: 4
47
Terms and Utilities:
• /lib/modules/kernel-version/modules.dep
• module configuration files in /etc/
• /proc/sys/kernel/
• /sbin/depmod
• /sbin/rmmod
• /sbin/modinfo
• /bin/dmesg
• /sbin/lspci
• /usr/bin/lsdev
• /sbin/lsmod
• /sbin/modprobe
• /sbin/insmod
• /bin/uname
• /usr/bin/lsusb
• /etc/sysctl.conf, /etc/sysctl.d/
• /sbin/sysctl
• udevmonitor
• udevadm monitor
• /etc/udev/
Weight: 3
48
Key Knowledge Areas:
• Systemd
• SysV init
• Linux Standard Base Specification (LSB)
• /usr/lib/systemd/
• /etc/systemd/
• /run/systemd/
• systemctl
• systemd-delta
• /etc/inittab
• /etc/init.d/
• /etc/rc.d/
• chkconfig
• update-rc.d
• init and telinit
Weight: 4
49
Key Knowledge Areas:
• mount
• fsck
• inittab, telinit and init with SysV init
• The contents of /boot/, /boot/grub/ and /boot/efi/
• EFI System Partition (ESP)
• GRUB
• grub-install
• efibootmgr
• UEFI shell
• initrd, initramfs
• Master boot record
• systemctl
50
202.3 Alternate Bootloaders
Weight: 2
• syslinux
• extlinux
• isolinux.bin
• isolinux.cfg
• isohdpfx.bin
• efiboot.img
• pxelinux.0
• pxelinux.cfg/
• uefi/shim.efi
• uefi/grubx64.efi
51
Topic 203: Filesystem and Devices
Weight: 4
• /etc/fstab
• /etc/mtab
• /proc/mounts
• mount and umount
• blkid
• sync
• swapon
• swapoff
52
203.2 Maintaining a Linux filesystem
Weight: 3
• mkfs (mkfs.*)
• mkswap
• fsck (fsck.*)
• tune2fs, dumpe2fs and debugfs
• btrfs, btrfs-convert
• xfs_info, xfs_check, xfs_repair, xfsdump and xfsrestore
• smartd, smartctl
53
203.3 Creating and configuring filesystem options
Weight: 2
• /etc/auto.master
• /etc/auto.[dir]
• mkisofs
• cryptsetup
54
Topic 204: Advanced Storage Device Administration
Weight: 3
• mdadm.conf
• mdadm
• /proc/mdstat
• partition type 0xFD
55
204.2 Adjusting Storage Device Access
Weight: 2
• Tools and utilities to configure DMA for IDE devices including ATAPI and
SATA
• Tools and utilities to configure Solid State Drives including AHCI and
NVMe
• Tools and utilities to manipulate or analyse system resources (e.g. in-
terrupts)
• Awareness of sdparm command and its uses
• Tools and utilities for iSCSI
• Awareness of SAN, including relevant protocols (AoE, FCoE)
• hdparm, sdparm
• nvme
• tune2fs
• fstrim
• sysctl
• /dev/hd*, /dev/sd*, /dev/nvme*
• iscsiadm, scsi_id, iscsid and iscsid.conf
• WWID, WWN, LUN numbers
56
204.3 Logical Volume Manager
Weight: 3
• /sbin/pv*
• /sbin/lv*
• /sbin/vg*
• mount
• /dev/mapper/
• lvm.conf
57
Topic 205: Network Configuration
Weight: 3
• ip
• ifconfig
• route
• arp
• iw
• iwconfig
• iwlist
58
205.2 Advanced Network Configuration and Troubleshooting
Weight: 4
• ip
• ifconfig
• route
• arp
• ss
• netstat
• lsof
• ping, ping6
• nc
• tcpdump
• nmap
59
205.3 Troubleshooting Network Issues
Weight: 4
• ip
• ifconfig
• route
• ss
• netstat
• /etc/network/, /etc/sysconfig/network-scripts/
• ping, ping6
• traceroute, traceroute6
• mtr
60
• hostname
• System log files such as /var/log/syslog, /var/log/messages and the
systemd journal
• dmesg
• /etc/resolv.conf
• /etc/hosts
• /etc/hostname, /etc/HOSTNAME
• /etc/hosts.allow, /etc/hosts.deny
Weight: 2
61
Terms and Utilities:
• /usr/src/
• gunzip
• gzip
• bzip2
• xz
• tar
• configure
• make
• uname
• install
• patch
Weight: 3
62
Terms and Utilities:
• /bin/sh
• dd
• tar
• /dev/st* and /dev/nst*
• mt
• rsync
Weight: 1
• /etc/issue
• /etc/issue.net
• /etc/motd
• wall
• /sbin/shutdown
• systemctl
63
Topic 207: Domain Name Server
Weight: 3
The following is a partial list of the used files, terms and utilities:
• /etc/named.conf
• /var/named/
• /usr/sbin/rndc
• kill
• host
• dig
64
207.2 Create and maintain DNS zones
Weight: 3
• /var/named/
• zone file syntax
• resource record formats
• named-checkzone
• named-compilezone
• masterfile-format
• dig
• nslookup
• host
65
207.3 Securing a DNS server
Weight: 2
• /etc/named.conf
• /etc/passwd
• DNSSEC
• dnssec-keygen
• dnssec-signzone
66
Topic 208: Web Services
Weight: 4
67
Terms and Utilities:
Weight: 3
68
Terms and Utilities:
Weight: 2
• squid.conf
• acl
• http_access
69
208.4 Implementing Nginx as a web server and a reverse proxy
Weight: 2
• Nginx
• Reverse Proxy
• Basic Web Server
• /etc/nginx/
• nginx
Weight: 5
70
Key Knowledge Areas:
• Samba 4 documentation
• Samba 4 configuration files
• Samba 4 tools and utilities and daemons
• Mounting CIFS shares on Linux
• Mapping Windows user names to Linux user names
• User-Level, Share-Level and AD security
Weight: 3
71
Key Knowledge Areas:
• /etc/exports
• exportfs
• showmount
• nfsstat
• /proc/mounts
• /etc/fstab
• rpcinfo
• mountd
• portmapper
72
Topic 210: Network Client Management
Weight: 2
• dhcpd.conf
• dhcpd.leases
• DHCP Log messages in syslog or systemd journal
• arp
• dhcpd
• radvd
• radvd.conf
73
210.2 PAM authentication
Weight: 3
• /etc/pam.d/
• pam.conf
• nsswitch.conf
• pam_unix, pam_cracklib, pam_limits, pam_listfile, pam_sss
• sssd.conf
Weight: 2
74
Key Knowledge Areas:
• ldapsearch
• ldappasswd
• ldapadd
• ldapdelete
Weight: 4
• OpenLDAP
• Directory based configuration
• Access Control
• Distinguished Names
• Changetype Operations
• Schemas and Whitepages
• Directories
• Object IDs, Attributes and Classes
75
Terms and Utilities:
• slapd
• slapd-config
• LDIF
• slapadd
• slapcat
• slapindex
• /var/lib/ldap/
• loglevel
Weight: 4
76
Terms and Utilities:
Weight: 2
77
211.3 Managing Remote E-Mail Delivery
Weight: 2
• /etc/dovecot/
• dovecot.conf
• doveconf
• doveadm
Weight: 3
78
Key Knowledge Areas:
• /proc/sys/net/ipv4/
• /proc/sys/net/ipv6/
• /etc/services
• iptables
• ip6tables
Weight: 2
79
Key Knowledge Areas:
• vsftpd.conf
• important Pure-FTPd command line options
Weight: 4
80
Terms and Utilities:
• ssh
• sshd
• /etc/ssh/sshd_config
• /etc/ssh/
• Private and public key files
• PermitRootLogin, PubKeyAuthentication, AllowUsers, PasswordAu-
thentication, Protocol
Weight: 3
81
Terms and Utilities:
• telnet
• nmap
• fail2ban
• nc
• iptables
212.5 OpenVPN
Weight: 2
• OpenVPN
• /etc/openvpn/
• openvpn
82
سرفصلهای دوره آموزشی
LPIC3-303
Topic 325: Cryptography
325.1 X.509 Certificates and Public Key Infrastructures
Weight: 5
83
The following is a partial list of the used files, terms and utilities:
Weight: 4
Description: Candidates should know how to use X.509 certificates for both
server and client authentication. Candidates should be able to implement
user and server authentication for Apache HTTPD. The version of Apache
HTTPD covered is 2.4 or higher.
84
Terms and Utilities:
Weight: 3
• cryptsetup
• cryptmount
• /etc/crypttab
85
• ecryptfsd
• ecryptfs-* commands
• mount.ecryptfs, umount.ecryptfs
• pam_ecryptfs
Weight: 5
86
Terms and Utilities:
Weight: 3
87
• Exec-Shield and IP / ICMP configuration
• Limit resource usage
• Work with chroot environments
• Drop unnecessary capabilities
• Be aware of the security advantages of virtualization
• grub.cfg
• chkconfig, systemctl
• ulimit
• /etc/security/limits.conf
• pam_limits.so
• chroot
• sysctl
• /etc/sysctl.conf
Weight: 4
88
Key Knowledge Areas:
• auditd
• auditctl
• ausearch, aureport
• auditd.conf
• auditd.rules
• pam_tty_audit.so
• chkrootkit
• rkhunter
• /etc/rkhunter.conf
• maldet
• conf.maldet
• aide
• /etc/aide/aide.conf
89
326.3 User Management and Authentication
Weight: 5
• nsswitch.conf
• /etc/login.defs
• pam_cracklib.so
• chage
• pam_tally.so, pam_tally2.so
• faillog
• pam_sss.so
90
• sssd
• sssd.conf
• sss_* commands
• krb5.conf
• kinit, klist, kdestroy
Weight: 4
91
• ipa-server-install, ipa-client-install, ipa-replica-install
• ipa-replica-prepare, ipa-replica-manage
Weight: 3
• getfacl
• setfacl
• getfattr
• setfattr
92
327.2 Mandatory Access Control
Weight: 4
93
327.3 Network File Systems
Weight: 3
• /etc/exports
• /etc/idmap.conf
• nfs4acl
• mount.cifs parameters related to ownership, permissions and security
modes
• winbind
• getcifsacl, setcifsacl
94
Topic 328: Network Security
Weight: 4
• radiusd
• radmin
• radtest, radclient
• radlast, radwho
• radiusd.conf
• /etc/raddb/*
• nmap
• wireshark
• tshark
• tcpdump
• ndpmon
95
328.2 Network Intrusion Detection
Weight: 4
• ntop
• Cacti
• snort
• snort-stat
• /etc/snort/*
• openvas-adduser, openvas-rmuser
• openvas-nvt-sync
• openvassd
• openvas-mkcert
• /etc/openvas/*
96
328.3 Packet Filtering
Weight: 5
• iptables
• ip6tables
• iptables-save, iptables-restore
• ip6tables-save, ip6tables-restore
• ipset
• nft
• ebtables
97
328.4 Virtual Private Networks
Weight: 4
• Configure and operate OpenVPN server and clients for both bridged
and routed VPN networks
• Configure and operate IPsec server and clients for routed VPN net-
works using IPsec-Tools / racoon
• Awareness of L2TP
• /etc/openvpn/*
• openvpn server and client
• setkey
• /etc/ipsec-tools.conf
• /etc/racoon/racoon.conf
98