LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Home directory question (https://www.linuxquestions.org/questions/linux-software-2/home-directory-question-273491/)

BobL 01-03-2005 08:45 PM

Home directory question
 
Hi all,

A few dumb Linux newbie questions..... :)

Using Mandrake 10.0

I was simply wondering about the Home directory. I had assumed its use was for the user's personal files and programs, but I am rethinking that idea. What precisely is Home for? I mean I suppose I could download the firefox tarball and install it in a directory off Home, but I thought the /usr directory was where programs are supposed to be installed to! If any of this is giving people a chuckle, no worries. Coming in from a windows background to a real operating system is bound to produce a few questions like this.

While I am at it, when the verbose logon sequence says "starting the shorewall firewall", IS it truly started or do I have to do something further with netfilter? There is nothing server related running on the linux box like an ftp server etc.

Any help is appreciated,

BobL

zaicheke 01-03-2005 09:30 PM

/home holds the users folders.

I generally relate /home/nameOfUser to My Documents.

slakmagik 01-03-2005 10:47 PM

Yeah - $HOME holds your personal configuration data (dotfiles), your personal files, and anything you want to put there.

As far as apps, while you can certainly put them in /usr or anywhere else, /usr/local (under /usr) is specifcally where you might put add-on apps (at least that you compile yourself rather than through your distro's package management tools) but you'd need to have root access (which, on a multi-user box, you might not) whereas you can also install stuff in $HOME with your regular user account.

Not sure about shorewall, though.

-- Oh, and don't worry about the questions - it's all very confusing at first and that's okay. (Actually, it can be slightly confusing for a long time :) ) - welcome to LQ!

jlangelier 01-03-2005 11:11 PM

If it does not perform a system function, or help with system administration, and is only for me and not other users, I'd put it in my /home. Also, anything which I don't fully trust goes /home.

Anything which does a system function, or needs to be usable for more than one user, goes in /usr.

As far as Firefox goes, I installed it in /usr, because more than one user will be using it, and I trust it. But I just installed Morphon XML editor in my /home directory, because no other user's going to want to use it, and I don't know if it is stable.

That's my philosophy, anyway.

Electro 01-03-2005 11:22 PM

The directory /home is usually where all your user's data will be stored, but you can place users in another directory like /usr. The directory /usr is usually for programs, but again it can be the home of all your users.

Like in Windows, it is up to you. Where do you think it should go. In Windows, programs do not have to be installed in C:\Program Files. It can go into another directory like C:\System. See you can put programs any where you like, but the location for the program should be obvious to you when it comes time to use the program.

I place Firefox in /usr/local and I made a symbolic from /usr/local/bin to Firefox directory. This way seems obvious to me.

You do not need a firewall unless you do not have one. I suggest do not run shorewall if you already have a firewall.

The $HOME is an environment variable. It points to where ever the user has been created at.

BobL 01-04-2005 04:28 PM

Thanks for the replys....
 
Thank you all for your replies, this does indeed simplify things.

My only remaining question is with the firewall, although I don't have one except shorewall. BTW this is a single user box ( ME! :) and no one else ). The reason I am a little stuck on the firewall is in Windows I had ZoneALarm which gave adequate protection, well that and being behind a router helped too! The Linux box will also be behind a router. WIth shorewall on a single user machine, is it sufficient? Also does it have a GUI or table or layout to see what ports are blocked, what programs were blocked, or not blocked. If so, where would I find that? Sorry to be a pain but the reference manual from mandrake is not really full of security information. Last question is what is one of the better Anti Virus programs out there for Linux, I was thinking of using Fprot AV as it is free and they provide free updates but I am open to suggestions. :)

Thanks again,

BobL


All times are GMT -5. The time now is 12:56 AM.