Welcome to my_sudo, a project aimed at recreating the sudo command in C. This implementation was developed in duo and allows users to execute commands with elevated privileges and supports additional options.
• Execute commands as another user (default: root).
• Support for -s, -u, and -g options.
• Secure privilege escalation handling.
• Error handling
sudo apt-get update
sudo apt-get install build-essentialgit clone https://github.com/Snogyy/my_sudo.git
cd my_sudo
make
./my_sudo -u user -g group commandEpitech students, beware of -42 !