Enable local authentication
Local authentication allows users to login using local credentials. As an administrator you can also manage this authentication through the command line, as described in this section below.
To enable local authentication:
- Go to Admin > Authentication > Local.
- Select the Enable Local Authentication checkbox.
- Click Save.
Use localAuth.sh (on Linux) or localAuth.bat (on Windows) to manage (enable/disable) the local user authentication mechanism from command line and is available under /opt/aptare/utils which is localAuth.(sh/bat). The following table explains the various options available to manage the authentication.
Table: Options available for localAuth script
Option | Example | Description |
|---|---|---|
disable | Linux: ./localAuth.sh disable Windows: localAuth.bat disable | Immediately disables local authentication. |
enable | Linux: ./localAuth.sh enable Windows: localAuth.bat enable | Immediately enables local authentication for the user |
status | Linux: ./localAuth.sh status Windows: localAuth.bat status | Displays the current status of local authentication (disabled or enabled). It is enabled by default. |