Eric-Paul Ickhorn 22dcaa9714 | ||
---|---|---|
inc | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.bash | ||
main.c |
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.