I Have Deleted Systemd
unix.stackexchange.com
unix.stackexchange.com
Or, if you really want to get into the weeds, try to re-install systemd. As a learning exercise.
This is a great question on a job interview though. "What happens on a Debian machine if you 'apt remove systemd'?"
I've been a unix and linux jackofall since '96 or so, and I could not answer that question better than "probably a big mess"
Though it would certainly not be points against if they did happen to say "I tried that once just to see". That is good curiosity and tinkering, but I never happened to try it once just to see myself.
I guess it could be a valid question just to see if the response shows some flavor of shock and alarm. IE everyone is expected to say "I don't know" but if the response is blank as though the question were not remarkable, that's not encouraging.
I guess my answer would be "Holy sh... we don't have time for this, take me to the machine right now." haha Or just "I dunno but I'll clean it up."
In this day and age, a simple "apt rollback" should be enough.
What would this magical "apt rollback" do anyway? Rollback to what state? Should it rollback the auto remove and the remove? Or just the auto remove since it’s the last command?
That's how I learned that SunOS machines at the time had an extensive set of features for booting the machine (like, a built in EFI shell) and providing kernel params, so I was able to finally boot into the machine by telling the kernel to launch the user shell, which was enough to boot the machine to user space. The SunOS machines also could do pretty much everything over serial- including installing an entire OS.
suid bit is considered harmful
What's that? I should replace it with something else? .....OH! I didn't. So that's why nothing works.
Was sorely disappointed.