Reference

libnvme_sed_set_password-libnvme3(2)

Change the Admin1 password

NAME

libnvme_sed_set_password - Change the Admin1 password

SYNOPSIS

int libnvme_sed_set_password (struct libnvme_transport_handle *hdl , const struct libnvme_sed_key *key , const struct libnvme_sed_key *new_key );

ARGUMENTS

hdl

Transport handle

key

Current Admin1 password

new_key

New Admin1 password

RETURN

See the return value convention above.