Which two methods of changing kernel parameters can you use to modify values for the running system?
Examine this command:
# ssh -L 5011:127.0.0.1:80 bob@10.10.2.20 -f sleep 30
Which two are true upon execution?
You must add an additional swap device and you add this entry to /etc/fstab:
/.swapfile none swap defaults 0 0
Examine these commands and output:
# dd if=/dev/zero of=/.swapfile bs=1024 count=1048576
1048576+0 records in
1048576+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.32499 s, 248 MB/s
# swapon -a
swapon: /.swapfile: insecure permissions 0644, 0600 suggested.
swapon: /.swapfile: read swap header failed
Which two actions must you perform to add this swap device?
Which two are true about using Ksplice?
Examine this command:
$ podman run –name=oracleshell -it oraclelinux:8 -slim
Which two statements are true upon execution?
Examine these commands executed by root:
# mkdir -p /jail /jail/bin /jail/lib64
# cp $(which bash) /jail/bin/
# ldd $(which bash)
linux-vdso.so.1 (0x00007ffd574f5000)
libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fb458c2c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fb458a28000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb458666000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb459177000)
# cp /lib64/libtinfo.so.6 /jail/lib64/
# cp /lib64/libdl.so.2 /jail/lib64/
# cp /lib64/libc.so.6 /jail/lib64/
# cp /lib64/ld-linux-x86-64.so.2 /jail/lib64/
# chroot /jail
What is the output from the cd, pwd, and ls commands?
Examine this segment of /etc/rsyslog.conf:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don’t log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg :omusrmsg:*
Now examine this log output:
less
Nov 9 20:32:16 server02 sudo[4570]: pam_unix(sudo:session): session opened for user opc (uid=0)
Nov 9 20:32:17 server02 sudo[4570]: pam_unix(sudo:session): session closed
Nov 9 20:32:24 server02 unix_chkpwd[4661]: password check failed for user
Nov 9 20:32:24 server02 su[4581]: pam_unix(su:auth): authentication failed; logname= uid=1000 euid=0 tty=pts/0 ruser=opc rhost= user=root
Which setting enabled the reporting of this log file output?
Which three are features of the btrfs file system?
Which two directories store PAM authentication modules?
Which three statements are true about DNF modules?
Examine the contents of the /etc/exports file on an NFS server:
/status *(rw,async)
/usr/shared/tools *(all-squash,anonuid=501,anongid=501,ro)
/projects/big *(ro) pteam(rw)
The NFS server exports /usr/shared/tools to NFS clients. Which statement is true?
Which statement is true about slice units?
Which two statements are true about kernel boot parameters?
Which two features does a user private group provide?
Which mdadm command creates a RAID-1 device consisting of two block volumes and one spare device?
Which two statements are true about the at and batch commands?
Which two statements are true about control groups (cgroups) in Oracle Linux 8?
Which command produces human-readable timestamps in kernel ring buffer messages?