Наша панель для управления серверами ходит на них по SSH. Проверка сервисов, чтение конфигов, мониторинг, и почти в каждом шаге есть sudo. В сентябре очередь SSH-задач начала забиваться. В ней стояло 42 задачи, и новые ждали старта по несколько минут. Читать далее
Sudo-rs, a memory safe implementation of sudo and su, allows users to not have to enter authentication at every sudo attempt, but instead only requiring authentication every once in a while in every terminal or process group. Only once a configurable timeout has passed will the user have to re-authenticate themselves. Supporting this functionality is a set of session files (timestamps) for each user, stored in `/var/run/sudo-rs/ts`. These files are named according to the username from which the sudo…
The Kubernetes kubelet component in versions 1.1-1.16.12, 1.17.0-1.17.8 and 1.18.0-1.18.5 do not account for disk usage by a pod which writes to its own /etc/hosts file. The /etc/hosts file mounted in a pod by kubelet is not included by the kubelet eviction manager when calculating ephemeral storage usage by a pod. If a pod writes a large amount of data to the /etc/hosts file, it could fill the storage space of the node and cause the node to fail.
Для начала необходимо установить пакет CUPS (Common UNIX Printing System), который служит для управления принтерами и заданиями на печать. Выполните следующие команды в терминале:sudo apt update - обновляем список доступных пакетов. sudo apt install cups -y - устанавливаем CUPS без запроса подтверждения. sudo systemctl start cups - запускаем CUPS-сервис. sudo systemctl enable cups - добавляем CUPS в автозагрузку. Читать далее