Socket
Socket
Sign inDemoInstall

lastlogcsv

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lastlogcsv

Converter from /var/log/lastlog to csv file.


Maintainers
1

Lastlogcsv

Tests result Build result

Converter from /var/log/lastlog to csv file.

Install from PyPI

pip3 install lastlogcsv

Install from Github

pip3 install git+https://github.com/Dashstrom/lastlogcsv

Usage

You can run the script with lastlogcsv or python3 -m lastlogcsv

usage: lastlogcsv [-h] [-i INPUT] [-o OUTPUT] [-s {L,A}] [-e]

Converter file from /var/log/lastlog to csv file.

The output format is `uid,timestamp,tine,host`.
Exemple : `1000,1582898351,pts/0,192.168.56.1`

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        lastlog file, /var/log/lastlog by default on unix system
  -o OUTPUT, --output OUTPUT
                        destination for CSV file
  -s {L,A}, --struct {L,A}
                        'A' for actual struct, 'L' for legacy
  -e, --error           display complete error

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc