Skip to content

Snogyy/my_sudo

Repository files navigation

🔐 my_sudo - Recreating the sudo command 👥

Language

🎯 About the Project

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.

🚀 Features

• Execute commands as another user (default: root).
• Support for -s, -u, and -g options.
• Secure privilege escalation handling.
• Error handling

🛠️ Installation & Compilation

1️⃣ Install Required Dependencies

sudo apt-get update
sudo apt-get install build-essential

2️⃣ Clone & Compile

git clone https://github.com/Snogyy/my_sudo.git
cd my_sudo
make
./my_sudo -u user -g group command

🔗 Links

Linux sudo Documentation


Epitech students, beware of -42 !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors