Example: Security and the command line tools
Without authentication information, the command line tools receive an AccessDenied exception when you attempt to use them with security enabled.
To provide authentication data...
- Include -username and -password options...
Specify the user ID and password for an administrative user. For example, we can use a member of the admin console users with operator or administrator privileges, or the admin user ID configured in the user registry.
For example...stopNode -username adminuser -password adminpw
- Place the authentication data in a properties file that the command line tools read. The default file for this data is...PROFILE_ROOT/properties/sas.client.props
Related tasksUse command line tools