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 useroot
without even providing the password for that account! But thanks to one bit inside file permissions,sudo
can exist without any of this.
Discussion
Sign in or Join to comment or subscribe