CentOS Linux machine-id

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

Introduction

Узнать свой 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

Похожие статьи
CentOS
Network Configuration
Date Time
X Window System CentOS
XRDP: Remote Desktop
VNC: Remote Desktop
Change machine-id
Change ulimit
xclip: Buffer
docker-ce: install in CentOS 8
FAQ
Errors
Install virtual CentOS on Ubuntu
Docker container CentOS with SSH access
Setting the date and time in CentOS
Installing docker-ce in CentOS 8
CentOS
CentOS Linux machine-id
Network Configuration в CentOS
News CentOS
Selinux CentOS Linux
ulimit CentOS
X Window System CentOS
xclip в CentOS
Remote Desktop в CentOS

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: