Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

storauth user -mod

&pagelevel(5)&pagelevel

Modifies the attributes and authorization of a user already contained in the StorMan repository.

This command is restricted to the administrator i.e. StorMan users disposing of the role StorAdmin. Only the function to change the user’s own password is supported for every StorMan user.

If a parameter is not specified, the corresponding attribute is not changed.

Syntax

storauth user –mod –name user [–passwd passwd ] [–newpasswd newpasswd ][–newrole role]

Parameters

–name user

Specifies the StorMan user to be modified.

–passwd passwd

Specifies the password of the StorMan user to be modified. On M2000 no password is specified for the StorMan user.

–newpasswd newpasswd

Specifies a new password for the specified StorMan user.

–newrole role

Specify a new role for the StorMan user (StorAdmin or Info). Any eventually existing StorMan role is replaced by the new one. 

StorMan role StorAdmin cannot be replaced if there is only one StorMan user with this role.

Return codes

Error Code

Name                                                          

Error Type

0

STORMAN_OK

Function successful.

3

STORMAN_VER_NOT_SUPP

Version not supported.

7

STORMAN_INV_PARAMETERS

Specified parameters invalid.

13

STORMAN_COMMUNIC_ERROR

Error in StorMan communication between client and server

16

STORMAN_FAULT

Unexpected error in function.

18

STORMAN_NOT_FOUND

Specified host could not be found.

20

STORMAN_ALREADY_EXISTS

Object already exists in repository

36

STORMAN_AUTH_FAILED

User / password for StorMan not valid