Check root id (cli)
CLI tool for checking root.
Developed in C code.
Table of Contents
Installation
To install ckroot type the following
tar xvzf ckroot-x.y.z.tar.gz
cd ckroot-x.y.z/
./autogen.sh
make
sudo make install
Dependencies
ckroot requires next modules and libraries
- libc - www.gnu.org https://www.gnu.org/software/libc/
Usage
#!/bin/bash
ckroot
STATUS=$?
if [[ $STATUS -eq 0 ]]; then
# do root operations ...
else
# notify user to swith to root user
fi
exit 0
Docs
More documentation and info at
Copyright and licence
Copyright (C) 2017 - 2024 by vroncevic.github.io/ckroot
ckroot is free software; you can redistribute it and/or modify it under the same terms as GPLv3.
Lets help and support FSF.

