ACIT 2421 - FINAL

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/326

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:34 PM on 4/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

327 Terms

1
New cards

Which command sets "other" permissions to r-x?

chmod o=rx file

2
New cards

Which command sets "other" permissions to r-x?

chmod o=rx file

3
New cards

Which command sets "other" permissions to r-x?

chmod o-r-w file

4
New cards

Which command sets "other" permissions to r-x?

chmod o=r+x file

5
New cards

Which numeric chmod sets "other" to r-x?

chmod 775 file

6
New cards

Only one set (user, group, other) can be changed at once using symbolic method.

False

7
New cards

Which methods can chmod use? (2)

octal; symbolic

8
New cards

The chown command can change both owner and group.

True

9
New cards

The user sysadmin can read a file because they own it.

True

10
New cards

The user sysadmin can change permissions because they own it.

True

11
New cards

Octal values for permissions

r=4, w=2, x=1

12
New cards

Which permissions allow all users to add, view, delete in a directory?

777

13
New cards

A user cannot delete a file if they do not own it.

False

14
New cards

Execute permission on a directory allows (3)

cd into directory; use in path; create files with write

15
New cards

Execute permission on a file allows you to

run the file as a script

16
New cards

Who can use chgrp on a file?

file owner and root

17
New cards

Who can change user ownership with chown?

only root

18
New cards

Who can use chmod on a file?

file owner and root

19
New cards

Execute permission is never set by default on files.

True

20
New cards

Which commands set owner to sam and group to administrators?

chown sam.administrators myFile; chown sam:administrators myFile

21
New cards

Changing group ownership with chown is root only.

False

22
New cards

File owner always has same or higher permissions than others.

False

23
New cards

Which command lists hidden files with ownership?

ls -la

24
New cards

The /tmp directory allows any user to create temporary files.

True

25
New cards

Sticky bit purpose

prevents deleting files you don’t own in shared directories

26
New cards

Set sticky bit on /shared

chmod 1777 /shared

27
New cards

Setuid allows

run command as file owner

28
New cards

Set setuid on /usr/bin/program

chmod 4755 /usr/bin/program

29
New cards

Setgid allows (2)

run as group owner; new files inherit directory group

30
New cards

Set setgid on /shared

chmod 2777 /shared

31
New cards

Which listing shows setgid on directory?

drwxrwsrwx

32
New cards

Effect of setgid on directory

new files inherit directory group

33
New cards

Deleting source breaks hard link.

False

34
New cards

Hard link must be on same filesystem.

True

35
New cards

Deleting source breaks symbolic link.

True

36
New cards

Symbolic link must be on same filesystem.

False

37
New cards

Create a hard link

ln file link

38
New cards

Create a symbolic link

ln -s file link

39
New cards

Which ls commands show directory itself only? (2)

ls -ld; ls -d

40
New cards

Which directories allow any user temp files? (2)

/tmp; /var/tmp

41
New cards

Which files contain user account information? (choose two)

/etc/passwd /etc/shadow

42
New cards

Which user can view the /etc/shadow file?

The root user

43
New cards

Which command will display the UID, GID and groups your current user belongs to?

id

44
New cards

Each user belongs to at least one group.​ True or False?

True

45
New cards

Which command will display the users that are currently logged in to the system?

who

46
New cards

The sudo command allows regular users to…

…execute commands as another user.

47
New cards

Which of the following commands will display the group(s) a user belongs to?

id

48
New cards

Which of the following commands will display the groups that the user bob belongs to?

id bob

49
New cards

The /etc/group file follows what structure?

group_name:password_placeholder:GID:user_list

50
New cards

A GID is associated with a group name. True or False?

True

51
New cards

A user can belong to…

At least 16 groups

52
New cards

Sudo privileges can be used to specify which user can use the sudo command to execute commands as other users. True or False?

True

53
New cards

In distributions that do not allow the root user to login directly or via the su command… True or False?

True

54
New cards

Which of the following commands will display how long the system has been running since the last boot? (choose two)

uptime w

55
New cards

The /etc/shadow file contains plain-text passwords. True or False?

False

56
New cards

Which command can be used to view the /etc/passwd file entries?

getent

57
New cards

All Linux systems allow administrators to log in as root. True or False?

False

58
New cards

What is the default user for the su command?

The root user

59
New cards

Which command would allow a user to execute commands as root?

sudo

60
New cards

File permissions cannot be edited by the root user. True or False?

False

61
New cards

Which command is used to display only the user’s primary group?

id -g

62
New cards

Traditional UNIX systems allowed users to belong to how many groups?

16

63
New cards

What would an account with the UID 376 typically be used for?

System service access.

64
New cards

Usernames cannot be the same as group names. True or False?

False

65
New cards

To display the group(s) a user belongs to, use this command:

id

66
New cards

Which command will display the groups that the root user belongs to?

id root

67
New cards

Value of 0 in the “minimum” password aging field means the user cannot change their password. True or False?

False

68
New cards

The “Epoch” began on January 1, 1970. True or False?

True

69
New cards

The last command displays reboot records…

By default

70
New cards

Sudo privileges allow users to execute commands as another user. True or False?

True

71
New cards

When using sudo, the command prompts for the user’s own password. True or False?

True

72
New cards

The first line of this command displays uptime since reboot.

w

73
New cards

The /etc/shadow file contains encrypted passwords. True or False?

True

74
New cards

Which command can be used to view the /var/log/wtmp file entries?

last

75
New cards

UIDs 1-499 are usually reserved for what kind of users?

System accounts, such as server processes

76
New cards

If a user is deleted, the files and directories that the user owned…

…will show a UID as the owner, but not user name.

77
New cards

Which option for useradd specifies UID?

-u

78
New cards

Which option for useradd specifies supplementary groups?

-G

79
New cards

On a system that does not use UPG… True or False?

True

80
New cards

Which command adds group extra to bob’s secondary groups (without removing others)?

usermod -aG extra bob

81
New cards

Which options for usermod specify group IDs? (choose two)

-G -g

82
New cards

For non-root users, passwd can only change their own password. True or False?

True

83
New cards

groupmod can change a group name. True or False?

True

84
New cards

groupmod can change a group GID. True or False?

True

85
New cards

groupmod can add users to a group. True or False?

False

86
New cards

Which command modifies a group?

groupmod

87
New cards

Which command shows most recent logins?

last

88
New cards

Which file contains encrypted user password info?

/etc/shadow

89
New cards

Which file contains user IDs?

/etc/passwd

90
New cards

Which file does groupadd use to determine new GID?

/etc/group

91
New cards

Which command prevents bob from logging in?

usermod -L bob

92
New cards

What directory contains user home directories?

/home

93
New cards

GIDs under 500 (or 1000) are reserved for what?

System use

94
New cards

If a user is deleted, files they owned…

…may be important for others in the organization

95
New cards

Which option sets a different primary group in useradd?

-g

96
New cards

On a system using UPG, UID must not equal GID. True or False?

False

97
New cards

Which option unlocks a user account?

-U

98
New cards

Which option sets login shell in useradd?

-s

99
New cards

Which command adds extra group to jane (keeping others)?

usermod -aG extra jane

100
New cards

Which option sets primary group ID in usermod?

-g