How sudo Really Works: setuid, PAM, and the sudoers File
analyst@unixshadow: ~/sudo/internals.log analyst@unixshadow:~$ sudo -l # what happens between typing sudo and getting a root shell How sudo Really Workssetuid, […]
ls -Z /var/www/htmlSELinux contexts, not just Unix permissions. When mode, owner, and bits all look right and the app still cannot read a file, the context is usually the answer — and this is where you see it.
analyst@unixshadow: ~/sudo/internals.log analyst@unixshadow:~$ sudo -l # what happens between typing sudo and getting a root shell How sudo Really Workssetuid, […]
analyst@unixshadow: ~/kernel/openai-pipeline.log analyst@unixshadow:~$ cat openai-pipeline.log # 948 ways to root, in one run 948 Root Bugs in One RunWhat OpenAI’s […]
analyst@unixshadow: ~/kernel/panic.log analyst@unixshadow:~$ crash –kdump –vmcore # the box was up, then it wasn’t Kernel Panic on a Running Systemkdump, […]
analyst@unixshadow: ~/wordpress/migrate.log analyst@unixshadow:~$ wp-migrate –old-box –new-box –dns-flip # all addresses below are placeholders — use your own Migrating WordPress to […]
analyst@unixshadow: ~/lvm/thin-pools.log analyst@unixshadow:~$ lvm-thin –layers –thick-vs-thin # seven layers between a RAID array and your files LVM Thin Pools, Explained […]
root@rhel:~# systemctl status vsftpd root@rhel:~# systemctl status vsftpd # running, jailed, and not answering for anyone it shouldn’t FTP Server […]