• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/6

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

6 Cards in this Set

  • Front
  • Back

$1, $5, $6 (As displayed in /etc/shadow)

$1 = MD5, $5=sha256, $6=sha512

Command to change default password hash algorithm

"sudo authconfig --passalgo=<type> --update"

Command to lock a user and their password (and how to confirm)

"sudo passwd -l <username>"


"cat /etc/passwd | grep <username>" - Confirm "!!" before password hash type.

The 3 fields that make up the password information in "/etc/shadow" and what are they separated by?

1. Hash type (md5, sha256, sha512)

2. Salt


3. Password combined with salt and encrypted




Separated by $


Command to view password expiration information.

"chage -l <username>"

Path to be set for users that do not require interactive login and where is it set?

/sbin/nologin


Set in /etc/passwd


Can be set with:


sudo useradd -s /sbin/nologin


sudo usermod -s /sbin/nologin