[07-Dec-2018 23:42:41 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/customizer.php on line 4 [08-Dec-2018 01:32:35 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/customizer.php on line 4 [08-Dec-2018 06:37:12 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/customizer.php on line 4 [08-Dec-2018 19:14:07 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/customizer.php on line 4 [08-Dec-2018 20:19:09 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/customizer.php on line 4 [10-Dec-2018 04:41:06 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/customizer.php on line 4 [10-Dec-2018 04:43:38 Australia/Melbourne] PHP Fatal error: Call to undefined function add_action() in /home/nite/public_html/wp-content/themes/period/inc/scripts.php on line 31 October 2018 - The Stick of Truth Press "Enter" to skip to content

Month: October 2018

How to recover sudo on Ubuntu – The importance of arguing

I made a little mistake the other night while fiddling with my laptop. In an alcohol infused rush to mount an NFS share I missed an argument while modifying groups. I was adding myself to a group that facilitates R/W access on my NFS accessed RAID. DO NOT RUN THIS user@machine$ sudo usermod USER -G GROUP Where USER and GROUP are the relevant ones for the system. The problem with this is that withou “-aG” this subsitutes GROUP as the sole group for the user. The effect of this on an Ubuntu system with only one user is that you’ve now just removed the ability to act as root, while simultaneously breaking access to anything your user needs from other groups (this will affect applications and files). My additional complication here is an encrypted disk. Fortunately, a fix quickly came to mind. Boot a live disk (Ubuntu MATE 18.04 in this case) Mount the encrypted drive, made…

Leave a Comment