![]() |
How to hide files in Linux
I want to know how to hide a folder or a certain file in Red Hat 9
|
Code:
mv <filename> <.filename> |
I should point out, in case bngrhl doesn't know, that a "ls -a" will still find the hidden files. The specific directory could just have no read or execute permissions to hide it from different users
-- Poetics |
hi guys! How could i get/put files during an ssh session?:)
|
Quote:
ummm...use sftp: |
Quote:
|
Quote:
|
Hi, bngrhl, I'm hoping for purposes of this reply, that the stuff
you want to hide isn't something you have previously agreed not to put on the box, OK :-) "Hiding" files is best done by using standared UNIX permissions, which of course == Linux permissions. If you want only "somebunny" to have access to a file, it should be owned by somebunny (the user) and permissions on that directory (owned by somebunny) should be "700" HOWEVER, root can always access any file on the system AND SO anyone who boots from a floppy or CD (i.e. Knoppix, which is ubiquitous nowadays) ) and who can mount your filesystem from their kernel can see those files in somebunny's directory. If you have a serious snooping problem at home, the only real solution is to make the box itself not available. You might want to consider encryption (e.g. GnuPG) of files. It's also possible to encrypt entire filesystems but I have NO experience with that. Also, the horrible truth is that there are legal problems with encrypting your own files on your own PC in some countries (but I cannot recall the details) |
permissions, AND a hidden folder would be better to keep your mum from seeing your masses of pr0n.. I mean.. "personal files"..
encryption, yes, I must look into that also! |
| All times are GMT -5. The time now is 10:08 AM. |