RHEL Linux machine-id

Содержание
Введение
Узнать machine-id
Изменить machine-id
Создать новый machine-id
Сгенерировать с помощью dbus
Статьи про RHEL

Введение

Узнать свой machine-id

cat /etc/machine-id

4ab7d70cacd0d33ca5bc9b2344e5e328

Изменить machine-id

Удалите старый machine-id

sudo rm /etc/machine-id

Сгенерируйте новый machine-id

sudo systemd-machine-id-setup

Проверьте результат

cat /etc/machine-id

Теперь желательно перезагрузиться и проверить всё ли работает правильно

Создать новый machine-id

Если вы удалили machine-id создать новый можно командой

systemd-machine-id-setup

Изменить machine-id

Если генерируется всё время один и тот же id значит скорее всего он берётся откуда-то ещё

Можно сгенерировать его самостоятельно с помощью dbus--uuidgen

rm -f /etc/machine-id
dbus-uuidgen --ensure=/etc/machine-id
dbus-uuidge --ensure
cat /etc/machine-id

Article author: Andrei Olegovich

Похожие статьи
Настройка даты и времени в RHEL
DNS в RHEL
Ошибки RHEL 7
RHEL FAQ
Установка Red Hat Enterprise Linux 7
RHEL Linux machine-id
Настройка сети в RHEL
Загрузка в безопасном режиме RHEL
Selinux RHEL Linux
RHEL Linux ulimit
Пользователи в RHEL
VNC RHEL
X Window System RHEL
xclip в RHEL
XRDP Удалённый рабочий стол в RHEL

Search this site

Subscribe to Telegram channel @aofeed to follow new articles and updates to old ones

Go to channel

@aofeed

Ask a question in the Telegram group

@aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: