Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Foglight 5.9.5 - Command-Line Reference Guide

About the Command-Line Interface Managing the Foglight Management Server Managing the Foglight Agent Manager Managing Agents, Cartridges, and Metrics

Managing Security Entities

Foglight manages users’ access through groups and roles. Each user belongs to one or more groups and each group can have one or more roles. The set of tasks that a user has access to depends on the roles that are assigned the groups that user belongs to.

This section contains reference information on commands that can be used to manage security settings in Foglight. For complete information about the security principles in Foglight, see the Administration and Configuration Help.

assigngroup

The assigngroup command adds or removes a Foglight user account from a group. A user can belong to one or more groups.

fglcmd connection_options -cmd security:assigngroup -username user_name -groupname group_name [-remove]

connection_options

Specifies the user name and password for the Foglight Management Server, as well as the machine name and port number, if necessary. Alternatively, fglcmd can retrieve this information from a user-specific properties file. For more information on how to specify connection options on the command line, see Logging In and Setting the Scope . For details on using a properties file, see Using a Properties File to Supply Connection Information .

groupname

group_name

Specifies the name of the group to which the user account is to be added or removed.

remove

None

Indicates that the user should be removed from the group.

username

user_name

Specifies the name of the user account that is to be added or removed from the group.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:assigngroup -username Demo -groupname MyGroup
C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:assigngroup -username Demo -groupname MyGroup -remove

assignrole

The assignrole command adds or removes a Foglight role from a group. A group can have one or more roles.

fglcmd connection_options -cmd security:assignrole -groupname group_name -rolename role_name [-remove]

connection_options

Specifies the user name and password for the Foglight Management Server, as well as the machine name and port number, if necessary. Alternatively, fglcmd can retrieve this information from a user-specific properties file. For more information on how to specify connection options on the command line, see Logging In and Setting the Scope . For details on using a properties file, see Using a Properties File to Supply Connection Information .

groupname

group_name

Specifies the name of the group to which the role is to be added or removed.

remove

None

Indicates that the role should be removed from the group.

rolename

role_name

Specifies the name of the role that is to be added or removed from the group.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:assignrole -groupname MyGroup -rolename Operator
C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:assignrole -groupname MyGroup -rolename Operator -remove

creategroup

The creategroup command creates a Foglight group. A group can have one or more users, and can be assigned one or more Foglight roles. When you create a group, that group has no roles assigned to it. Use the assignrole command to add a role to a group.

NOTE: You can run this command only if the user account you are using to log into fglcmd is granted the Security role. For information about fglcmd connection options, see Logging In and Setting the Scope . For complete information about users, roles, and groups in Foglight, see the Administration and Configuration Help.
fglcmd connection_options -cmd security:creategroup -groupname group_name

connection_options

Specifies the user name and password for the Foglight Management Server, as well as the machine name and port number, if necessary. Alternatively, fglcmd can retrieve this information from a user-specific properties file. For more information on how to specify connection options on the command line, see Logging In and Setting the Scope . For details on using a properties file, see Using a Properties File to Supply Connection Information .

groupname

group_name

Specifies the name of the group that is to be created.

C:\Quest\Foglight\bin>fglcmd -usr foglight -pwd foglight -cmd security:creategroup -groupname MyGroup
Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation