Leave a comment at the end of this page or email contact@krishagni.com
Linux Script: Download Login Audit Report
Introduction:
Below is the code to download the login audit report. It is written in the Linux shell script.
Script:
Click on the following file to download the script |
|
---|
Configuring Attributes:
Open the file using the following command:
vi downloadLoginAuditReport.sh
Configure the below attributes, and save the file.
Attributes | Description |
---|---|
USERNAME | Login name of the user that user who is going to download the report. (e.g. admin@openspecimen.com). Note: The user has to be a Super Adminstrator. |
PASSWORD | The password of the user. (e.g. Login@#123@#) |
URL | URL of the server from which you are going to download the report. (e.g. https://example.openspecimen.org) |
FROM_DATE | From which date you are going to download the report. (e.g. 2022-12-12) |
TO_DATE | To which date you are going to download. (e.g. 2022-12-15) |
How to run
chmod +x downloadLoginAuditReport.sh
./downloadLoginAuditReport.sh
Once successfully running, it will download the zip file of the login audit report in the current working directory.
Related content
Leave a comment at the end of this page or email contact@krishagni.com