rh 1443
directory search permission
ACL permissions on a directory are the same as a file, but apply to the directory. The ke difference is the inclusion of the execute permission on the entries (when appropriate) to allow this.
no
Can UID 1005, controller, and GID 2210 execute this file?
systemd-tempfiles
In Red Hat Enterprise Linux 7 systemd provides a more structured, and configurable, method to manage temporary directories and files called
systemd-tmpfiles
Temporary files can be managed with this system in RHEL 7.
The %pre and %post
These sections in the Kickstart configuration file sections can contain scripting that customizes installations
^cat
To have a regular expression match the work cat but only if it occurs at the beginning of the line in a given file, you would use:
False
True or False: Ext4 file sstems created on Red Hat Enterprise Linux 7 do not have the acl option enabled by default
False
True or False: Ext4 file systems created on Red Hat Enterprise 7 have the acl option disabled by default
False
True or False: Only the root user can set a positive nice level (0 to 19)
True
True or False: Only the root user can use renice to lower a nice level
False
True or False: RHEL is limited to only the vi and vim text editors.
True
True or False: The getfacl command can be used as an input setfacl
True. This restricts any existing permissions that exceed the mask, but does nothing to permissions that are less permissive than the mask.
True or false: An ACL mask can be explicitly set on a file or directory to limit the maximum effective permissions for named users, the group-owner, and named groups
True
True or false: Regular users are only allowed to set positive nice levels and can only raise the nice level on their existing process (can't lower them).
True
True or false: The output from getfacl can be used as input to setfacl
True
True or false: chmod has no effect on any group permessions for files with ACL settings, but it updates the ACL mask
It allows one to add or modify a group or named group's ACL where "name" is a place holder for the group name of GID for a named group. The permissions would be read and write
What does the following command do? setfacl -m g:name:rw file
cron
What is preferred over at for scheduling recurring jobs?
Read only
What permissions does the group sodor have?
Read an write
What permissions does the user with UID 1005 have?
-r
which option of grep allows one to search for data matching the regular expression recursively to a group of files or directories?
one
A regular expression of c.t will look for data containing a c, followed by any ____ character, followed by a t.
KickstarT
A system admin can automate the installation of RHEL using this feature
Kickstart
A system administrator can automate the installation of Red Hat Enterprise Linux using a feature called this
Kickstart configuration files
Anaconda uses these configuration files so that it knows how to install Red Hat
^Au.*U
Aug 19 13:45:41 Updated: lvm2-libs-2.02.95-10.el6_3.3.x86_64
Installed
Aug 19 17:33:15 Installed: wireshark-gnome-1.2.15-2el6-2.1x86_64
crontab -e
Cronjobs are useful for scheduling recurring jobs. Which command will edit the cron jobs?
cat coat court
Given the following data: cat dog coat cunning court dogma basketball If you used c.*as the regular expression while searching this file, then what results would show?
no
Given the following: [student@serverx steamies]# getfacl roster.txt # file: roster.txt # owner: student # group: controller user::rwx user:james:--- user:1005:rwx #effective:rw- group::rwx #effective:rw- group:sodor:r-- group:2210:rwx #effective:rw- mask::rw- other::--- Does the James user have an permissions?
Read, write, and execute
Given the following: [student@serverx steamies]# getfacl roster.txt # file: roster.txt # owner: student # group: controller user::rwx user:james:--- user:1005:rwx #effective:rw- group::rwx #effective:rw- group:sodor:r-- group:2210:rwx #effective:rw- mask::rw- other::--- What does the file's owner have as permissions?
student
Given the following: [student@serverx steamies]# getfacl roster.txt # file: roster.txt # owner: student # group: controller user::rwx user:james:--- user:1005:rwx #effective:rw- group::rwx #effective:rw- group:sodor:r-- group:2210:rwx #effective:rw- mask::rw- other::--- What is the file's owner?
. (dot character)
Regular expressions use this character as the unrestricted wildcard character
Error
Jan 25 16:02:46 serverX pulseaudio[30014]:main.c:Unable to contact D-Bus: org.freedesktop.DBux.Error.l connection refused
error
Jan 27 10:38:47 serverX NetworkManager[2179]:ifcfg-wlan:error:Missing SSID
s$
Jan 27 10:39:57 serverX ntpd[2464]: time reset -0.252602 s
LOCATION
Once a Kickstart method is chosen, the installer must be told where the Kickstart file is located. This is done by passing a ks=____________ argument to the installation kernel.
atq or at -l
One can use this command to view an overview of the pending jobs for that given user.
at
One of the solutions available to users of a Red Hat Enterprise Linux system for scheduling future tasks is this.
dog dogma
Suppose that a user was looking through the following file of data: cat dog concatenate dogma category educated boondoggle vindication chilidog Applying the regular expression ^dog to the data would yield the following matches:
/etc/crontab and /etc/cron.d/*
System cron jobs are defined in these two locations
/etc/crontab and /etc/cron.d/*
System cron jobs are defined in two locations which are:
/root/anaconda-ks.cfg
The Anaconda installer creates a file called this that contains the Kickstart directives that can be used to generate the freshly installed system
timezone
The Kickstart command used to specify NTP servers is:
Access control lists
These allow fine-grained permissions to be allocated to a file, beyond the standard Linux file permissions.
process scheduler
The part of the Linux kernel that performs the rapid switching between processes on a single core (giving a user the impression that there are more processes running at the same time) is called this.
vim
The version of vi that is shipped with Red Hat Enterprise Linux 7 is called this.
time-slicing
The way Linux (and other operating systems) can actually run more processes (and threads) than there are actual processing units available is by employing a technique called this.
renice
This command can be used to change the nice level of an existing process.
atrm <job number>
This command can be used to remove a scheduled job.
yy
This command will "yank" aka copy the current line (while using vim) where the cursor is located
vi
This is one of the older, but most widely used text editors for any given Linux system.
Anaconda
This is the Red Hat installer that needs to be told how to install a system: partition disks, configure network interfaces, select which packages to install, etc.
:q!
This is the command (keys) used while editing a file using vim to quit the current file and ignore any saved changes
setfacl
This is the command used to add, modify, or remove ACLs on files and directories
getfacl
This is the command used to display the ACL settings on a file
getfacl
This is the command used to display the ACL settings on a file or directory
system-config-kickstart
This is the name of the utility used to configure the kickstart configuration file
-20 to 19
This is the range of nice levels.
vim
This is the version of vi, the text editor, that is shipped with Red Hat Enterprise Linux 7
:wq
This key (inside of vim) is used to save and quit the current file.
u
This key (inside of vim) is used to undo an action.
at
This one of the solutions that can be used in RHEL for scheduling future tasks
-r
This option (flag) to the grep command applies the search of data matching a regular expression recursively to a group of files of directories
%packages
This section in the Kickstart configuration file contains details about which packages and package groups should be installed, and which packages shouldn't be installed.
i
This the option(key) you use to switch to "Insert" mode in order to add content to a given file when editing that file using vim
ksvalidator
This utility checks for syntax errors in a Kickstart configuration
echo "date>~/myjob"|at now +3min
This will schedule a task for 3 minutes in the future. The task should write a timestamp to /home/student/myjob
renice
To change the priority level(nice level) of an existing process, you would use:
sched
To change the priority of given processes in Linux, you can use the following command (this one is when you first execute a process
r
To replace a character that is under the cursor (while editing a file using vim), you would use this key followed by a new character
grep 'test' /var/log/test
What command can be used to fetch the word "test" from /var/log/test
crontab crontab -e
What command can be used to manage cron jobs? What is the option to edit?
Read and write
What is the maximum permissions possible for all named users?
Anaconda
What is the name of RHEL installer
Execute the command /usr/local/bin/yearly_backup at exactly 9 a.m. on February 2nd, every year.
What would the following cron job do? 0 9 2 2 * /usr/local/bin/yearly_backup
3 jobs 28,29,27 student
When looking at the following command: [student@desktopX ~]$atq 28 Mon Feb 2 05:13:00 2015 a student 29 Mon Feb 3 16:00:00 2014 h student 27 Tue Feb 4 12:00:00 2014 a student How many hobs are there? What are the job numbers? What is the user?
-10
Which of the following processes would have the highest priority on their nice level (-10, 0, 1, 12)
user:mary:rx file
Which of the following would represent the ACL operation for a named user with read and execute permission for a file? user:mary:rx file, g::rw file, user::x file, user:bob:xrw
top and ps
Which two commands can be used to view a list of processes and their niceness levels?
root
Which user is allowed to set negative nice levels and lower the existing nice level on existing processes?
system-config-kicksart
You can create a Kickstart configuration file with this utility
ksvalidator
You can modify an existing Kickstart configuration file with a text editor and check its syntax with this
Higher and Lower
___________(higher or lower) nice levels indicate less priority (the process easily gives up its CPU usage for others), while_______________(higher or lower) nice levels indicate a higher priority (the process is less inclined to give up the CPU).
| (pipe)
grep can be used in conjunction with other commands using this symbol
^i
io scheduler deadline registered
This command is used to add, modify, or remove standard ACLs on files and directories
setfacl