Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

you could put a cron entry by dumping a file into /etc/cron.d/

run any command as any user once a minute



Or put something into /etc/profile.d and run at every shell startup, or put something into /etc/ld.so.conf.d and inject code into every process started on the system, or put something into /etc/init.d and run at every boot... (continue ad infinitum)

If you let code overwrite the files that make up your system configuration, you're going to have a Bad Time on any OS; this isn't somehow specific to Windows and the registry.


    /etc/inittab
You could probably replace the executables for the ttys, potentially having a keylogger for every userinput on the terminal?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: