Slashdot is powered by your submissions, so send in your scoop
Nickname:
Password:
Is it April 1st already or has systemd actually started assimilating all of the functionality of the Linux kernel??
Actually, the 'magic' in su is in the kernel. Basically, since it's marked suid root, the kernel sets the uid on the new process to root before it even starts running. The program itself just then decides if it is willing to do anything for you.
There may be more comments in this discussion. Without JavaScript enabled, you might want to turn on Classic Discussion System in your preferences instead.
The road to ruin is always in good repair, and the travellers pay the expense of it. -- Josh Billings
Is it April 1st already? (Score:-1, Flamebait)
Is it April 1st already or has systemd actually started assimilating all of the functionality of the Linux kernel??
Re: (Score:3)
Re:Is it April 1st already? (Score:2)
Actually, the 'magic' in su is in the kernel. Basically, since it's marked suid root, the kernel sets the uid on the new process to root before it even starts running. The program itself just then decides if it is willing to do anything for you.