Feature request: create disk from image without root password

In my experiments with the Linode API, it seems that if I specify an image when using the Disk Create API, then I must also specify a root_pass. Specifying an image without a root_pass gives an API error.

I would prefer my root accounts to have no password, and instead use a StackScript or some other automation to install suitable authorized_keys files for public-key authentication.

I would also like to be able to create disks from images without any interference from Linode at all. For example, I would like to be able to use images to create disks that are not boot/root disks.

Can you please make the root_pass parameter of the Disk Create API optional when creating a disk from an image or StackScript?

1 Reply

Hey there,
I tried to create a Disk using the API without a root password and got the same error, I will
definitely pass your request to the de development team.
An option is to disable the root password after you create your Disk. You can disable the root password for most distributions by running a passwd -d root or editing your /etc/shadow file.
Here is a post on stack overflow about it.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct