Bash 07 Whitelisting users with Arrays
Автор: Kilts and Computers
Загружено: 2022-11-03
Просмотров: 64
Описание:
In this video, the Kilt Guy shows you how to do some whitelisting of users with arrays in the bash shell
Commands used in the shell:
getent
awk
whoami
tr
sort
uniq
for
0:00 Intro
0:21 Why whitelisting users can be important
1:50 Creating an array of users from /etc/passwd
4:08 Creating an array to whitelist specific users, starting with the current user
5:13 Adding to the whitelist array
6:16 Testing both arrays
7:00 Walking through the steps needed for the third array, which does not include the whitelisted users
7:50 Demonstrating the weakness of 'uniq -u' without 'sort'
9:15 Creating the new array using a 'for' loop
11:39 Demonstrating how the 'for' loop populates the array
14:37 Outro
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: