lastlog

Crates.iolastlog
lib.rslastlog
version0.2.3
sourcesrc
created_at2022-12-05 08:24:25.810116
updated_at2023-01-02 05:41:45.169515
descriptionSimple rust crate to read linux lastlog
homepage
repositoryhttps://github.com/imgurbot12/lastlog
max_upload_size
id730090
size19,790
Andrew Scott (imgurbot12)

documentation

README

lastlog

Simple crate for retrieving latest last-login records on a UNIX system

The basic usage looks like:

use lastlog::{search_uid, search_username};

fn main() {
  let result1 = search_uid(1000);
  let result2 = search_username("foo");
}

NOTE: this functionality is only designed to work with UNIX systems that support either utmp/wtmp or lastlog database types.

Commit count: 10

cargo fmt