A parser for the /etc/shadow - file on Linux systems
This repository has been archived on 2023-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Eric-Paul Ickhorn 22dcaa9714 Added source code 2023-10-07 09:12:30 +02:00
inc Added source code 2023-10-07 09:12:30 +02:00
src Added source code 2023-10-07 09:12:30 +02:00
.gitignore Initial commit 2023-10-07 07:11:25 +00:00
LICENSE Initial commit 2023-10-07 07:11:25 +00:00
README.md Added source code 2023-10-07 09:12:30 +02:00
build.bash Added source code 2023-10-07 09:12:30 +02:00
main.c Added source code 2023-10-07 09:12:30 +02:00

README.md

libparzel-shadow

A simple parser for reading the /etc/shadow-file on a linux-system. The API should be self-explanatory for anyone in the know of the concept of iterators.

Building

Run bash build.bash <PROFILE> where profile can be one of small, release or debug. Alternatively, the script can just be started for getting a prompt of what should be done.

After that, the binary files can be removed using bash build.bash cleanup.

Test Executable

The test executable writes out the names of all users in the file at /etc/shadow to STDOUT. It needs superuser permission.

TO-DO

Currently, only the user can be read out by the parser. More isn't needed at the moment. Once more is needed, it will be done.