Learn rtpg.co

Writing your own sudo  ↦

Learn how sudo works by writing your own version in Python!

One might think that sudo is actually some binary deeply integrated into the kernel, relying on a special purpose-built system call to achieve its functionality. After all, it lets you use root without even providing the password for that account! But thanks to one bit inside file permissions, sudo can exist without any of this.


Sign in or Join to comment or subscribe

0:00 / 0:00