beautypg.com

A.6.3 create authorization, A.6.4 create database_backup, A.6.3 – HP StorageWorks Scalable File Share User Manual

Page 302: A.6.4

background image

CLI commands

A–8

Syntax

create attribute attribute_name=attribute_value

Arguments

attribute_name

Required. Specify the name and value of a new or existing attribute.

If the attribute value contains spaces, enclose the value in double quotes.

Example

The following example creates the

nickname

attribute and sets its value to

west

:

sfs> create attribute nickname=west

See Section A.19.2 for a list of the system attributes that can be changed.

A.6.3

create authorization

The

create authorization

command creates an authorization in the database that allows a user to

run

sfsmgr

(8) commands on the HP SFS system from a remote system without a password.

Syntax

create authorization authorization_name file=filename

create authorization authorization_name user=user_address [type=type]

Arguments

authorization_name

Required. Specify the name to be used for the authorization record.

file

Specify the name of the file that contains the public key of the user’s

account on the remote system. The file must have been copied to the

HP SFS system.

user

Specify the name of the user’s account on the remote system.

type

Optional. Specify the type of public key file to be used on the remote

system. The default type is

rsa

.

Examples

The following example creates an authorization for a user whose public key file has been copied to the

HP SFS system:

sfs> create authorization fred@ms file=/tmp/id_rsa.pub

The following example creates an authorization by retrieving the public key file from the remote server:

sfs> create authorization root_10@ms [email protected] type=rsa

A.6.4

create database_backup

The

create database_backup

command creates a backup copy of the system database. If the

database has not changed since the last backup, a new backup copy will not be made.

Syntax

create database_backup