https://github.com/vroncevic/ckroot
:penguin: Check root id
https://github.com/vroncevic/ckroot
bash c linux root shell
Last synced: 3 months ago
JSON representation
:penguin: Check root id
- Host: GitHub
- URL: https://github.com/vroncevic/ckroot
- Owner: vroncevic
- License: gpl-3.0
- Created: 2017-05-12T07:34:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T15:07:20.000Z (about 2 years ago)
- Last Synced: 2025-10-27T08:45:27.092Z (8 months ago)
- Topics: bash, c, linux, root, shell
- Language: Shell
- Homepage: https://vroncevic.github.io/ckroot/
- Size: 985 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Check root id (cli)
CLI tool for checking root.
Developed in [C](https://en.wikipedia.org/wiki/C_(programming_language)) code.
**Table of Contents**
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage](#usage)
- [Docs](#docs)
- [Copyright and licence](#copyright-and-licence)
### Installation
To install **ckroot** type the following
```bash
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/](https://www.gnu.org/software/libc/)
### Usage
```bash
#!/bin/bash
ckroot
STATUS=$?
if [[ $STATUS -eq 0 ]]; then
# do root operations ...
else
# notify user to swith to root user
fi
exit 0
```
### Docs
[](https://ckroot.readthedocs.io/en/latest/?badge=latest)
More documentation and info at
* [ckroot.readthedocs.io](https://ckroot.readthedocs.io)
### Copyright and licence
[](https://www.gnu.org/licenses/gpl-3.0)
Copyright (C) 2017 - 2024 by [vroncevic.github.io/ckroot](https://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.
[](https://my.fsf.org/)
[](https://my.fsf.org/donate/)