MOD E03: Authentication & Authorization Flashcards

1
Q

Which of the following are not one of the three basic Linux user accounts?

  • Administrative User
  • Authentication User
  • Regular User
  • Service Account
A

Authentication User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which type of account is defined as an account having the necessary privileges to perform standard tasks on a Linux computer?

  • Administrative User
  • Authentication User
  • Regular User
  • Service Account
A

Regular User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which type of account handles things such as mail, Apache, and printing?

A

Service account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Local passwords are stored where?

(Hint: Full file path name required)

A

/etc/shadow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Another name for a root account is what?

A

super user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Passwords are encrypted and displayed as an incomprehensible string of characters known as a _________.

A

hash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Of the following what is located in the /etc/shadow file?

  • Contains a list of local users and their data
  • Defines groups and associated accounts
  • Contains encrypted passwords
  • Contains executable binaries
A

Contains encrypted passwords

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the 3rd block in the /etc/passwd file?

  • Username
  • User ID
  • GID
  • User Info
A

User ID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the 6th block in the /etc/passwd file?

  • Password
  • Shell
  • User Info
  • Home Dir
A

Home Dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What file, defined in this lesson, contains user information?

  • /etc/shadow
  • /etc/tmp
  • /etc/passwd
  • /etc/var
A

/etc/passwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What principle is applied to privileged accounts?

A

least

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following is not a safe way to manage password?

  • require the password to be changed periodically
  • reuse of old passwords
  • require that they be of some level of complexity
  • require the use of characters and symbols
A

reuse of old passwords

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command is used to add a new user?

A

useradd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What command can be utilized to add a user to the HOME_DIR?

A

useradd -d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command can be used to set passwords to expire?

Format is the full command.

A

sudo passwd -e

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What command can be utilized to delete an account along with files in the home directory of the users account?
(Format does not need to include account name)

A

userdel -r

17
Q

Where are the group names stored at?

  • /home/user
  • /etc/passwd
  • /bin/chgrp
    • /etc/profile
A

/etc/passwd

18
Q

What command can be utilized to find out what user test, UID is?

  • cd test
  • ls test
  • sudo test
  • id test
A

id test

19
Q

A user is an entity, in a Linux operating system, that can manipulate files and perform several other operations.

[TRUE / FALSE]

A

TRUE

20
Q

When rights and permissions are assigned to a group, all user accounts that are part of the group inherit the same rights and permissions.

[TRUE / FALSE]

A

TRUE