LINUX SECURITY, DATA AND ACCESSIBILITY
Which port does nmap scan by default? - Answers -TCP
You need to run graphical apps from a remote SSH server and have them display
locally on this host.
Complete the command to do this. - Answers -ssh -X
You want to set the maximum password aging interval for user bbyrne to 60. Complete
the command to do this. - Answers -chage --maxdays 60 bbyrne
There are various commands to identify users who have logged in or who are currently
logged in to the system.
Match each command with what it does. - Answers -w = Display who is logged in to the
system and identify what they are working on
last -i = Display the IP address information
who = Identify which users have currently logged in to the system and from where
last = Verify which users last logged in to the machine
You want to set a memory limit for user bbyrne of 200000 MB. Complete the command
to do this. - Answers -ulimit -m 200000 bbyrne
Complete the command to do this. - Answers -gpg --output /dbyrne_pubkey.gpg --
export dbyrne@skillsoft.com
You want to control screen inactivity.
Click the System Settings icon that you use to access these settings. - Answers -
Brightness and Lock
What is the sudoers file used for? - Answers -To configure which administrative type
commands are runnable by regular users and from which stations.
There are various commands used to select data by joining two or more tables.
Match each command to a description of what it does. - Answers -show tables
command = View the required tables
use command = Use the database
, show columns statement = Display the structure of the tables
mysql command = Launch the MySQL database prompt
Which command do you use to search for special permission bit in the root-level files? -
Answers -find / .perm -u+s
You've been asked to create a report displaying all records and all fields from
employees table.
Complete the command to do this. - Answers -select * from
You want to configure keyboard accessibility.
Click the System Settings icon that you use to access these settings. - Answers -
Universal Access
Which command do you use to display open files within a given subdirectory path? -
Answers -lsof -D
You need to sort data returned from a select statement by customer name.
Complete the command to do this. - Answers -select customername
You want to group data returned from a select statement by state and count the
numbers of customers in each state.
Complete the command to do this. - Answers -select state,
count(customers.customername)
Which command do you use to display a new field with data in SQL? - Answers –select
Which command should you use to display both listening and non-listening sockets on
your Linux system? (Tip: enter the command as if in Command Prompt.) - netstat -a
Use netstat -a to identify listening and non-listening sockets on a Linux system. A
socket is an endpoint of a bidirectional communication flow across a computer network.
Be aware of the other common netstat options:
-l lists listening sockets.
-s displays statistics for each protocol.
-i displays a table of all network interfaces.
Which command should you use to scan for open TCP ports on your Linux system?
(Tip: enter the command as if in Command Prompt.) - nmap -sT
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GEEKA. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.99. You're not tied to anything after your purchase.