Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Originally posted by Poetics 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
I know that actually, but I want to prevent other people at home to accidentally open my file folder...
Originally posted by bngrhl I know that actually, but I want to prevent other people at home to accidentally open my file folder...
Wouldn't the best way to do that just be to set the permissions denying them access to the folder? If you hide it but don't change the permissions they can still access it, they just have to find it and then they can access it without anything stopping them. The permissions would be more secure. Permissions would actually deny them access, they will see there is a directory but cannot get into it or do anything to it.
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