Which of the following commands could be used to set the number of days a user can maintain the same password?
A. uname
B. chfn
C. usermod
D. chpasswd
Answer: C
Learn More :
CompTIA
- An administrator wants to create a script that installs NewFonts.rpm on several desktop computers. The script should check if the RPM is already installed. Which of the following commands would determine if NewFonts.rpm is already installed?
- A Linux server is to be used as a Web server. Which of the following is the BEST way to configure its Ethernet adapter?
- The IDS (Intrusion Detection System) reports many events that are not security incidents. Which of the following is the term for these types of events?
- A production Web server is experiencing an unusually large amount of new incoming TCP connections. Which of the following is MOST likely the problem?
- Users are unable to print to a remote printer on a Linux server. The technician determines that all of the users and machines have the right to print to the server. The permissions on the printer's spool directory are set to allow access to all users. Users can print to other printers on the server. Which of the following is MOST likely the problem?
- Which of the following commands will display a list of system hardware after the Linux system boots?
- Using the BASH shell, which of the following commands will set number of entries in the command history to 1000?
- A Linux administrator is trying to set up a server that provides the MOST secure communication for remote administration. Which of the following is the BEST choice for this situation?
- A technician is creating MPEG-2 video files in Linux. In addition to a video card with input source, which of the following multimedia components is also required?
- In which of the following runlevels is X Windows started by default?
- A business wants to be able to track all Websites that are visited by its employees. Which of the following Linux packages would BEST serve this need?
- A user wants to install Linux as a dual-boot option on the second hard drive on the primary IDE controller. Which of the following devices would be the target of the Linux partitioning?
- The administrator wants to deny ICMP traffic from being forwarded. Which of the following commands would accomplish this?
- For troubleshooting, a technician needs to boot an SMP (Symmetric Multi-Processor) system to use a single CPU. Which of the following is the correct parameter to pass to the kernel at boot time?
- Which of the following is necessary for a user to scan images from a flatbed scanner?
- Which of the following syslog keywords has the highest priority?
- Which is the correct way to define a default route to 10.10.10.1 for a Linux host?
- Users begin reporting that they receive 'Unable to resolve hostname' error messages. Which of the following daemons should the administrator verify is running?
- A system report indicates that /var is full. Which of the following is the MOST likely resolution to the problem?
- The company wants to have its laptops perform a clean shutdown of the Linux operating system when the power button is pressed. Which of the following modules must be installed to accomplish this?
- Before performing a new Linux server installation, what part of the installation should be planned and documented?
- A new tape drive has been added to a Linux system. Which of the following commands can be used to verify that the tape drive is operational?
- The directory /home is on an ext2 file system. The owner is able to delete other files in the directory, but all attempts by the owner of /home/owner/A to delete the one file result in the output: bash: A: Permission denied Given the file listing: -rw-r--r-- 1 owner owner 5 Jun 13 12:14 A Which of the following should be checked next in order to diagnose this problem?
- Which of the following can be used to view username, UID (User ID), GID (Group ID), full name, home directory, and default shell information?
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.