Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

systemd-machine-id-setup(1) [centos man page]

SYSTEMD-MACHINE-ID-SETUP(1)				     systemd-machine-id-setup				       SYSTEMD-MACHINE-ID-SETUP(1)

NAME
systemd-machine-id-setup - Initialize the machine ID in /etc/machine-id SYNOPSIS
systemd-machine-id-setup DESCRIPTION
systemd-machine-id-setup may be used by system installer tools to initialize the machine ID stored in /etc/machine-id at install time with a randomly generated ID. See machine-id(5) for more information about this file. This tool will execute no operation if /etc/machine-id is already initialized. If a valid D-Bus machine ID is already configured for the system, the D-Bus machine ID is copied and used to initialize the machine ID in /etc/machine-id. If run inside a KVM virtual machine and a UUID is passed via the -uuid option, this UUID is used to initialize the machine ID instead of a randomly generated one. The caller must ensure that the UUID passed is sufficiently unique and is different for every booted instanced of the VM. Similarly, if run inside a Linux container environment and a UUID is set for the container this is used to initialize the machine ID. For details see the documentation of the Container Interface[1]. OPTIONS
The following options are understood: -h, --help Prints a short help text and exits. --version Prints a short version string and exits. EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise. SEE ALSO
systemd(1), machine-id(5), dbus-uuidgen(1) NOTES
1. Container Interface http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface systemd 208 SYSTEMD-MACHINE-ID-SETUP(1)

Check Out this Related Man Page

SYSTEMD-MACHINE-ID(1)					     systemd-machine-id-setup					     SYSTEMD-MACHINE-ID(1)

NAME
systemd-machine-id-setup - Initialize the machine ID in /etc/machine-id SYNOPSIS
systemd-machine-id-setup DESCRIPTION
systemd-machine-id-setup may be used by system installer tools to initialize the machine ID stored in /etc/machine-id at install time with a randomly generated ID. See machine-id(5) for more information about this file. This tool will execute no operation if /etc/machine-id is already initialized. If a valid D-Bus machine ID is already configured for the system the D-Bus machine ID is copied and used to initialize the machine ID in /etc/machine-id. If run inside a KVM virtual machine and a UUID is passed via the -uuid option this UUID is used to initialize the machine ID instead of a randomly generated one. The caller must ensure that the UUID passed is sufficiently unique and is different for every booted instanced of the VM. Similar, if run inside a Linux container environment and a UUID is set for the container this is used to initialize the machine ID. For details see the documentation of the Container Interface[1]. OPTIONS
This tool does not take any options or arguments. EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise. SEE ALSO
systemd(1), machine-id(5), dbus-uuidgen(1) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer NOTES
1. Container Interface http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface systemd 10/07/2013 SYSTEMD-MACHINE-ID(1)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

How to get IP Address of machine?

Is there any API call to get IP Address of a machine? I know there is function which returns name of the machine, gethostname(). But I need the IP. Thanks & Regards, Ahsan (7 Replies)
Discussion started by: Ahsan
7 Replies

2. IP Networking

how to retrieve IP address of a machine

hi is there is any command that retrieves the IP address of a machine. Also is there any function in c that does the same. thankx (5 Replies)
Discussion started by: mridula
5 Replies

3. UNIX for Advanced & Expert Users

View file on distant machine

Hello everybody, I have a program that connects to a distant machine using a specific port. Then inetd executes a command on that distant machine (M2). What I'd like to do is write a scipt that, given the port, it gives me the command executed. (The script should be launched on the local... (5 Replies)
Discussion started by: Majid
5 Replies

4. UNIX for Dummies Questions & Answers

PC connection to an old UNIX machine

Hello folks, I've got a problem I've found to be quite difficult to solve. Recently I bought an old UNIX machine from the late eighties, a DIAB1100 with a Motorola 68K processor. I've used Linux for a while now, so I know the basics of that OS and thought it would be interesting to see a real... (8 Replies)
Discussion started by: tonyingesson
8 Replies

5. IP Networking

connecting to Unix from windows - help

Hello, I have a requirement like - I need to connect to specific Unix machine.That machine authenticates the user who is logging in. I am accessing from XP machine. Is possible to supply the Username & Password along with Host name and port, from Windows command prompt? If so how? (13 Replies)
Discussion started by: cassiel
13 Replies

6. HP-UX

Need help on Bus error(coredump)

Hi all, I am quite weak in C but I need to get some work done. Hope someone can help me out. I keep getting this error when i try to run my C application in my HP-UX 10.20 machine. Some code snippet: Month(DBTime) =====This is a function which will return variable "CutOffTime" to be use... (5 Replies)
Discussion started by: Vision©
5 Replies

7. Shell Programming and Scripting

Setting of two time formats in one machine

Hi, Is it possible to set the two time formats in a single machine. My machine time is in EST and the logs are in PST. What would be the issue, and how to make change of this.? (5 Replies)
Discussion started by: gsiva
5 Replies

8. UNIX for Dummies Questions & Answers

How can I find one file in other machine?

Hi all, I logged in one machine. I want to find one file in other machine. However, I don't know exactly which and where the machine is. I used nmap command to search all available hosts in this network range. I got two available machines through this action. But I still can't find the file I want... (8 Replies)
Discussion started by: w062611
8 Replies

9. Shell Programming and Scripting

Little formatting help needed.

I have a following string. "machine=IFLMUD5HP0581&group1=Stop" I have created 2 variables namely machine and action. machine should contain IFLMUD5HP0581 action should contain Stop How do i write a script for the same. (7 Replies)
Discussion started by: pinga123
7 Replies

10. Emergency UNIX and Linux Support

Copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive I don't want to mount. Is there any way we can do it. Regards Naree (34 Replies)
Discussion started by: naree
34 Replies

11. Programming

Segmentation fault in fopen when in write mode.

Hi All, Although this code is quite long but it does not require one to understand the logic of the code. I am trying to run this code on my Linux machine using gcc. But when this line is executed: output_pointer = fopen ( file_name , "w" );I get segmentation fault. I've been breaking my head... (17 Replies)
Discussion started by: shoaibjameel123
17 Replies

12. UNIX for Advanced & Expert Users

How to know endianness of a machine

hi I have a ubuntu machine and want to know the endianness of the system.... How would i get to know..... The information of my machine is: uname -a 42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 201 1 i686 i686 i386 GNU/Linux and lsb_release -a No LSB modules are available.... (6 Replies)
Discussion started by: Ankita Singlaa
6 Replies

13. UNIX and Linux Applications

Version of Jdk on my machine

Hello, Please, i ask what command linux used to know the version of jdk installed on my machine ? Thank you so much. (8 Replies)
Discussion started by: chercheur857
8 Replies

14. UNIX for Dummies Questions & Answers

How to set DPI as 90x90 for XVFB Display?

when i am connecting to AIX machine from Windows XP through Xmanager am getting dots per inch problem and here we are connecting to AIX machine using X Server virtual frame buffer . Please set 90x90 dots per inch to X Server virtual frame buffer. (10 Replies)
Discussion started by: prathap.g
10 Replies

15. Programming

Changing script to work with freeBSD

hi all, i have made my machine a freeBSD machine instead of a centos machine and my script doesnt work anymore and i was wondering if anyone can help me into why, i thought the commands are the same, here it is - #!/bin/bash source=/vol/cha-work/_ARCHIVE/to_be_archived/audio... (9 Replies)
Discussion started by: robertkwild
9 Replies