Files
OBS/2.0.1 SYSADMIN/1.0 настройка автовхода.md
2025-04-08 12:12:51 +04:00

16 lines
555 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1) Создадим директорию для «локальной» конфигурации:
```
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
```
2) Создадим файл настройки override.conf:
```
sudo nano /etc/systemd/system/getty@tty1.service.d/override.conf
```
3) Добавим в этот файл следующее содержимое:
```
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin <ВАШ_ПОЛЬЗОВАТЕЛЬ> --noclear %I $TERM
```
4) ищем строку и комментируем её
5)