Description
Подсказка |
---|
The service is used for Admin Panel, Portal Constructor and NBI users authorization. Use eltex-auth-service package for installation. |
...
Примечание |
---|
The package requires eltex-radius package pre-installed. |
Предупреждение |
---|
Working with MySQL remote databaseIf eltex-auth-service is configured to work with Mysql remote server, it is necessary to change the order of package downloading for service autostart:
echo "start on runlevel [2345]" > /etc/init/eltex-radius.override
echo "start on runlevel [2345]" > /etc/init/eltex-auth-service.override
|
Service management
Operation | Command | Response |
Status check | service eltex-auth-service status
|
Подсказка |
---|
Service is running eltex-auth-service start/running, process <pid> |
Предупреждение |
---|
Service is waiting eltex-auth-service stop/waiting |
|
Service start | |
Подсказка |
---|
Service has been started eltex-auth-service start/running, process <pid> |
|
Service stop | service eltex-auth-service stop
|
Подсказка |
---|
Service has been stopped successfully eltex-auth-service stop/waiting |
|
Service restart | service eltex-auth-service restart
|
Подсказка |
---|
Service has been restarted successfully eltex-auth-service stop/waiting
eltex-auth-service start/running, process 16737
|
|
Configuration
/etc/eltex-auth-service/sql.conf
The file contains the parameters for the service to access eltex_auth_service database.
server = "localhost"
#port = 3306
login = "eltexauthservice"
password = "eltexauthpassword"
The table is stored in eltex_auth_service database. It contains the addresses of clients that have rights to send user authorization requests. If a client is not included into the table, authorization requests will be ignored. When the contents of the table is changed, restart eltex-auth-serviceNAS table