| ▲ | mwalser 12 hours ago | ||||||||||||||||||||||
> If I read it correctly (but could be mistaken), it runs with setuid root I am certain you are mistaken. I couldn't find anything that hints at notepad running with elevated privileges. | |||||||||||||||||||||||
| ▲ | dijit 12 hours ago | parent [-] | ||||||||||||||||||||||
People very often run notepad as administrator (anything launched from administrative powershell instances will run like this). In fact, if you enabled developer mode on your computer there's a registry key that gets set to run notepad as admin, it's: `runas /savecred /user:PC-NAME\Administrator “notepad %1”` in HKEY_CLASSES_ROOT-> * -> shell -> runas (new folder) -> (Default) And, if I'm not totally mistaken, notepad also has the ability to reopen files as administrator, but I don't remember how to invoke it. Regardless, notepad is a very trusted application and is often run as Administrator. Often it's more trusted than any other utility to modify system files. | |||||||||||||||||||||||
| |||||||||||||||||||||||