Загрузка...

Redhat Linux 9 Lab: Exercise 13-1 Using Live Log Monitoring and logger

https://www.youtube.com/playlist?list=PLIpLw6v7Z1qmty_yT3KQUeV5jW46Wu7hG Link playlist
Red Hat Enterprise Linux Administration
https://www.youtube.com/playlist?list=PLIpLw6v7Z1qnIUiJipjgYEHwxF16TZbCN
2023 08 15 07 25 48

Exercise 13-1 Using Live Log Monitoring and logger 1. Open a root shell. 2. From the root shell, type tail -f /var/log/messages. 3. Open a second terminal window. In this terminal window, type su - student to open a subshell as user student. 4. Type su - to open a root shell, but enter the wrong password. 5. Look at the file /var/log/messages. You see an error message was logged here. 6. From the student shell, type logger hello. You’ll see the message appearing in the /var/log/messages file in real time.
7. In the tail -f terminal, press Ctrl-C to stop tracing the messages file. 8. Type tail -20 /var/log/secure. This shows the last 20 lines in /var/log/secure, which also shows the messages that the su - password errors have generated previously.

Видео Redhat Linux 9 Lab: Exercise 13-1 Using Live Log Monitoring and logger канала Le Hoang Long Long
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять