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.
2023-10-07 07:11:25 +00:00
|
|
|
# libparzel-shadow
|
|
|
|
|
2023-10-07 07:12:30 +00:00
|
|
|
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.
|
|
|
|
|