IS3440 CHAP 4 USER PRIVILEGES AND PERMISSIONS Flashcards Preview

IS3440 LINUX SECURITY > IS3440 CHAP 4 USER PRIVILEGES AND PERMISSIONS > Flashcards

Flashcards in IS3440 CHAP 4 USER PRIVILEGES AND PERMISSIONS Deck (46):
1

(COMMAND) ____ is a PAM module that can verify account validity based on expiration dates, time limits, or configuration files with restricted users.

(COMMAND) account

2

(COMMAND) ____ is a PAM module that can verify passwords, group memberships, and even Kerberos tickets.

(COMMAND) auth

3

(COMMAND) ____ is a command that can modify password related information for a user, such as the password's expiration date.

(COMMAND) chage

4

(COMMAND) ___ is a message bus system for interprocess communication between a variety of applications and devices.

(COMMAND) dbus

5

(COMMAND) ____ This is a useful option that lists users by the frequency of their recent logins. Found under the ck -history command it can provide extended information about recent users.

(COMMAND) --frequent

6

(COMMAND) ____ is a command that can add a group.

(COMMAND) groupadd

7

(COMMAND) ____ is a command that can delete a group.

(COMMAND) groupdel

8

(COMMAND) ____ is a command that can modify the settings of a group in the files of the shadow password suite.

(COMMAND) groupmod

9

(COMMAND) ____This is a useful option that lists last-logged-in users, by user, sessions, seat, and time. Found under the ck -history command it can provide extended information about recent users.

(COMMAND) --last

10

(COMMAND) ____ is a PAM flag that labels a configuration line that is normally ignored unless there are no other PAM flags in the file.

(COMMAND) optional

11

(COMMAND) ____ is a PAM module that can control changes to user passwords and limit the number of login attempts.

(COMMAND) password

12

(COMMAND) ____ is a PAM flag that labels a configuration line that must work for the authentication attempt to succeed. However, if the line fails, PAM continues to check the other lines in the file.

(COMMAND) required

13

(COMMAND) ____is a PAM flag that labels a configuration line that must work for the authentication attempt to succeed. However, if the line fails, PAM immediately returns a failure in the authentication attempt.

(COMMAND) requisite

14

(COMMAND) ____ is a PAM module that can control mounting and logging.

(COMMAND) session

15

(COMMAND) ____ is a command that can connect with the privileges of another group. It requires a group password in
/etc/gshadow

(COMMAND) sg

16

(COMMAND) ____is a command that can connect with the privileges of another user. Requires the password of the target user. When no target user is specified, the root administrative user is assumed.

(COMMAND) su

17

(COMMAND) ____ is a command that can connect as the administrative user if authorization is configured in
/etc/sudoers

(COMMAND) sudo

18

(COMMAND) ____ is a PAM flag that labels a configuration line. If the line works, PAM immediately returns a success message in the authentication attempt.

(COMMAND) sufficient

19

(COMMAND) ____ a command that can add a user.

(COMMAND) useradd

20

(COMMAND) ____ a command that can delete a user.

(COMMAND) userdel

21

(COMMAND) ____ a command that can modify the settings of a user in the files of the shadow password suite.

(COMMAND) usermod

22

___ is the number associated with a group name in Linux,as defined in
/etc/group and
/etc/gshadow

(GID) Group ID

23

___ is a directory service for network-baseed authentication. Its communication can be encrypted.

(LDAP) Lightweight Directory Access Protocol

24

___ is a directory service for network-based authentication. Its database can be created from the files of the shadow password suite.

(NIS) Network Information Service

25

___ is a condition where a system sends a flood of ICMP packets to a server. It may be created with the (COMMAND) ping -f

Ping storm

26

___ is a special permission commonly applied to a directory. With this, users who are members of the group that owns the directory have permissions to read and write to all files in that directory. It assigns the group owner of the directory as the group owner of all files copied to that directory.

(SGID) Set Group ID bit

27

___ is a special permission that allows others to execute the given file with the rights of the user owner of the file.

(SUID) Set User ID bit

28

___is the files that make up the local Linux password authentication database. The files are:
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
login. su
passwd

Shadow password suite

29

___ is a special permission commonly applied to a directory. With this and full permissions, all users can write to the associated directory. However, ownership is retained rousers won't be able to overwrite files copied by other users.

Sticky bit

30

___ is the number associated with a user name in Linux as defined in:
/etc/passwd

(UID) User ID

31

___ is the standard in Linux where a special group is created for every user. By default, the user and group names (along with the UID and GID numbers) are identical. The user is the only standard member of that group.

User private group scheme

32

1. Which of the following files is NOT normally readable by all users? (Written in COMMAND style)

1. /etc/passwd
2. /etc/shadow
3. /etc/group
4. /etc/login/defs

/etc/shadow

33

2. Which of the following files contains information about time limits on a password?

1. /etc/passwd
2. /etc/shadow
3. /etc/group
4. /etc/gshadow

/etc/shadow

34

3. Which of the following commands can be used to revise expiration information on a user password? (Written in COMMAND style)
1. useradd
2. passwd
3. groupmod
4. chage

chage

35

4. The ___ command searches for all files owned by the group named audio. Assume you're logged into the root administrative account.

find / -group audio
(Written in COMMAND style)

36

5. which of the following statements is true with the user private group scheme?

1. There are no private groups in Linux
2. User information in the group is private
3. The primary UID for the user is the same as the primary GID for the user.
4. Users are members of the same private group

The primary UID for the user is the same as the primary GID for the user.

37

6. Members of which of the following groups are frequently set up as printer administrators. (Select two)(Written in COMMAND style)

1. admin
2. adm
3. lpadmin
4. sys

lpadmin

sys

38

7. Which of the following commands only requires the password of a configured standard user?
(Written in COMMAND style)
1. sudoers
2. sudo
3. su
4. sg

sudo

39

8. enter the ___ command to open and edit the
/etc/sudoers file in a command-line console.

visudo
(Written in COMMAND style)

40

9. Which of the following special permissions is associated with a shared directory? That directory is NOT accessible to others who are NOT members of the group owner of that directory.

1. SUID
2. SGID
3. Sticky bit
4. Executable bit

SGID

41

10. Which of the following options in a log configuration file collects information on login attempts and failures?(Written in COMMAND style)

1. auth
2. sys
3. log
4. user

auth

42

11. Which of the following PAM modules is least related to login information? (Written in COMMAND style)

1. auth
2. account
3. passwd
4. session

session

43

12. Enter the ___ directory for PAM modules.

/lib/security/

44

13. Which of the following PolicyKit concepts is associated with configuring access rules to special desktop tools by user?

1. Implicit authorizations
2. Explicit authorizations
3. Administrative authorizations
4. PolicyKit authorizations

Explicit authorizations

45

14. which of the following PolicyKit commands can be used to identify user logins by session?
(Written in COMMAND style)

1. ck-history
2. ck-list
3. ck-launch-session
4. ck -logins

ck-history

ck-list

46

15. Which of following commands can help identify network ports used by NIS through the portmapper?(Written in COMMAND style)

1. nismap -p
2. ypbind -p
3. rpcinfo -p
4. portmap -p

rpcinfo -p