/
Linux Script: Download Login Audit Report
Got feedback or spotted a mistake?

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

 

Click on the following file to download the script

 

Configuring Attributes:

  1. Open the file using the following command: vi downloadLoginAuditReport.sh

  2. Configure the below attributes, and save the file.

Attributes

Description

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

  1. chmod +x downloadLoginAuditReport.sh

  2. ./downloadLoginAuditReport.sh

Once successfully running, it will download the zip file of the login audit report in the current working directory.

Related content

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com