mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
updated deniability tutorials
This commit is contained in:
parent
b6e810047d
commit
48096306fc
8 changed files with 91 additions and 6 deletions
|
@ -228,7 +228,6 @@ this is a test file written from live mode, into a non-system drive!
|
|||
|
||||
<p>Then we simply reboot the host OS into regular non-live mode to check if our first test file on the system drive is gone, and if the second test file on the non-system drive has been effectively saved:</p>
|
||||
<img src="2.png" class="imgRz">
|
||||
<img src="" class="imgRz">
|
||||
<p>And then we check that the first test file we created in the system drive is effectively not there anymore:</p>
|
||||
<pre><code class="nim">
|
||||
nothing@debian-tests:~$ lsblk
|
||||
|
@ -257,6 +256,49 @@ this is a test file written from live mode, into a non-system drive!
|
|||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Emergency Shutdown Script</b></h2> </br> </br>
|
||||
<p>Now in order to make sure we can shutdown the Host OS quickly, we need to have an emergency shutdown script, that can be ran by a non-root user in order to immediately shutdown the Host OS whenever we need it.</p>
|
||||
|
||||
<p>First we need to make sure the user is able to run the shutdown command:</p>
|
||||
<pre><code class="nim">
|
||||
nothing@debian:~$ su -
|
||||
Password:
|
||||
root@debian:~# visudo
|
||||
|
||||
|
||||
[...]
|
||||
|
||||
nothing ALL=NOPASSWD:/sbin/shutdown
|
||||
nothing ALL=NOPASSWD:/sbin/reboot
|
||||
|
||||
[...]
|
||||
|
||||
</pre></code>
|
||||
<p>Then we create a simple shutdown.sh script:</p>
|
||||
<pre><code class="nim">
|
||||
nothing@debian:~$ vim shutdown.sh
|
||||
nothing@debian:~$ cat shutdown.sh
|
||||
#!/bin/bash
|
||||
|
||||
/sbin/shutdown -h now
|
||||
|
||||
nothing@debian:~$ chmod +x shutdown.sh
|
||||
|
||||
</pre></code>
|
||||
<p>Then, you need to hook it up to a shortcut, such as <b>Super+R</b>, i'm going to do it in Cinnamon as this is the Desktop Environment i use:</p>
|
||||
<img src="5.png" class="imgRz">
|
||||
<img src="6.png" class="imgRz">
|
||||
<p>And thats it! you now you have a shortcut that you can use to immediately shutdown the Host OS.</p>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Footer Section +++++ -->
|
||||
|
||||
<div id="anonb">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue