The following examples demonstrate how to enable local os security for WebSphere Application Server V4.0 and V6.x:
SecurityConfig setAuthenticationMechanism LOCALOS -userid {me secret} SecurityConfig enableSecurity
securityon myuser mypasswordUsing Jython:
securityon('myuser', 'mypassword')This command turns on local security. The securityon function checks the validity of the user and password combination, and fails the function if the combination is invalid.
Note: This action assumes that global security is fully configured before issuing this command and that you are just switching the enabled flag on and off. If global security is not yet fully configured, the command fails.
Related reference
Commands for the AdminConfig object