Help shape GoConqr. What should we add next?

Quiz

Libro T7 - Administering the System

Victor Rodriguez 20 questions

Take the quiz

Questions in this quiz (20)

  1. 1When a user account has been locked using the usermod -L command, you will see what in
    the /etc/shadow file’s record for that user?
    1. AA. An x in the password field
    2. BB. An !! in the password field
    3. CC. A blank password field
    4. DD. A zero (0) at the front of the password field
    5. EE. An ! at the front of the password field
  2. 2What commands can be used to add user accounts to a Linux system? (Select three)
    1. AA. useradd username
    2. BB. adduser username
    3. CC. useradd -c "full name" username
    4. DD. usradd username
    5. EE. passwd username
  3. 3An administrator types chage -M 7 time. What is the effect of this command?
    1. AA. The time account’s password must be changed at least once every seven days.
    2. BB. All users must change their passwords at least once every seven days.
    3. CC. All users are permitted to change their passwords at most seven times.
    4. DD. The time account’s age is set to seven months.
    5. EE. The account database’s time stamp is set to seven months ago.
  4. 4What is wrong with the following /etc/passwd file entry?
    sally:x:1029:Sally Jones:/home/myhome:/bin/passwd
    1. AA. The default shell is set to /bin/passwd, which is an invalid shell.
    2. BB. The username is invalid. Linux usernames can’t be all lowercase letters.
    3. CC. The home directory doesn’t match the username.
    4. DD. Either the UID or the GID field is missing.
    5. EE. The hashed password is missing
  5. 5You want sally, who is already a member of the Production group, also to be a member of
    the Development group. What is the best way to accomplish this?
    1. AA. Use the groupadd Development sally command.
    2. BB. Use the groupadd Production sally command.
    3. CC. Manually edit the /etc/group file, and change the Development group’s record to
      Development:501:sally.
    4. DD. Use the usermod -G Development sally command.
    5. EE. Use the usermod -a -G Development sally command.
  6. 6What types of files might you expect to find in /etc/skel? (Select three.)
    1. AA. A copy of the /etc/shadow file
    2. BB. An empty set of directories to encourage good file management practices
    3. CC. A README or similar welcome file for new users
    4. DD. A starting .bashrc file
    5. EE. The RPM or Debian package management database
  7. 7What would a Linux system administrator type to remove the nemo account and its home
    directory?
    1. AA. userdel nemo
    2. BB. userdel -f nemo
    3. CC. userdel -r nemo
    4. DD. rm -r /home/nemo
    5. EE. usermod -D nemo
  8. 8Which of the following system logging codes represents the highest priority?
    1. AA. info
    2. BB. warning
    3. CC. crit
    4. DD. debug
    5. EE. emerg
  9. 9Which of the following configuration files does the logrotate program consult for its
    settings?
    1. AA. /etc/logrotate.conf
    2. BB. /usr/sbin/logrotate/logrotate.conf
    3. CC. /usr/src/logrotate/logrotate.conf
    4. DD. /etc/logrotate/.conf
    5. EE. ~/.logrotate
  10. 10You want to create a log file entry noting that you’re manually shutting down thesystem
    to add a new network card. How might you create this log entry, just prior to using
    shutdown?
    1. AA. dmesg -l "shutting down to add network card"
    2. BB. syslog shutting down to add network card
    3. CC. rsyslogd "shutting down to add network card"
    4. DD. logger shutting down to add network card
    5. EE. wall "shutting down to add network card"

Information

Description
✓ 107.1 Manage user and group accounts and related system files ✓ 107.2 Automate system administration tasks by scheduling jobs ✓ 108.1 Maintain system time ✓ 108.2 System logging
Language
Español
Views
71
Tags
lpi-1_2
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What should we add next?