How to hide directories and files from users?

Booting, installing, newbie
Post Reply
Message
Author
Max Money AWA
Posts: 16
Joined: Sun 04 Aug 2013, 21:14

#16 Post by Max Money AWA »

Thanks for the replies. I'm going to look over the suggestions, except for the "rm -rf" one. Thanks.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#17 Post by Semme »

This works well as not everyone is gonna know what you know- the commands to open it.

Code: Select all

sh-4.1# encfs -o nonempty ~/.unassuming_named_folder ~/unassuming_named_folder
Creating new encrypted volume.
Please choose from one of the following options:
 enter "x" for expert configuration mode,
 enter "p" for pre-configured paranoia mode,
 anything else, or an empty line will select standard mode.
?> p

Paranoia configuration selected.

Configuration finished.  The filesystem to be created has
the following properties:
Filesystem cipher: "ssl/aes", version 2:2:1
Filename encoding: "nameio/block", version 3:0:1
Key Size: 256 bits
Block Size: 1024 bytes, including 8 byte MAC header
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File data IV is chained to filename IV.
File holes passed through to ciphertext.

-------------------------- WARNING --------------------------
The external initialization-vector chaining option has been
enabled.  This option disables the use of hard links on the
filesystem. Without hard links, some programs may not work.
The programs 'mutt' and 'procmail' are known to fail.  For
more information, please see the encfs mailing list.
If you would like to choose another configuration setting,
please press CTRL-C now to abort and start over.

Now you will need to enter a password for your filesystem.
You will need to remember this password, as there is absolutely
no recovery mechanism.  However, the password can be changed
later using encfsctl.

New Encfs Password: 
Verify Encfs Password: 
sh-4.1#
When done it's like this to unmount:

Code: Select all

fusermount -u unassuming_named_folder
Then this again to access:

Code: Select all

encfs ~/.unassuming_named_folder ~/unassuming_named_folder
EncFS Password:
EASY? 50/50.. Not if you don't frequent a shell.

Could it be automated? :roll: Probably..

ping -q SFR

Is there a GUI? Yep.

More? Yep.

Post Reply