Loans | Payday Loan | Remortgages | Mobile Phone | Child Trust Funds
ready to work on securing my Linux [Archive] - PCMech Forums

PDA

View Full Version : ready to work on securing my Linux


Byte 2.0
11-23-2002, 12:33 AM
ok, remember I am a newbie.

Ok, I have my FTP set up, I have Apache running.

My main securty concern, when I give FTP access to a user is there a way to prevent a user from moving up the directories toward the root. Is there a way to keep the user in there own directory.

Example, I set up a user but when FTP in, they can get all the way back toward the root, of course so far I dont' think they can get in root.

Also this concerns me the amount of access, I dont' know if it is read only or read and write but that is much more then I want to give.

So if anyone can understand my problem and concern and have a solution I would love to hear it.

MaXimum SMOKE
11-23-2002, 12:39 PM
Look up the manual for change root. Command should be something like chroot, and see if implementing it takes care of the issue.

Byte 2.0
11-23-2002, 12:56 PM
I will dig into that tonight when i get home. thank you for the advise.

Byte 2.0
11-23-2002, 10:41 PM
ok, i looked in the man, for change root. root. not getting anything. any other idea? I will do a few search for other things maybe I will get lucky

Byte 2.0
11-23-2002, 10:42 PM
ok, this is funny, i had tried chroot, but nothing,
i just did a man chroot and got some info to read. Thanks.

Byte 2.0
11-23-2002, 10:48 PM
ok, i am at a dead end. any idea? I will keep searching

Statica
11-23-2002, 11:35 PM
chattr and chroot .. are must do's

Anyways .. why use ftps etc when you can use SSH

Statica
11-23-2002, 11:35 PM
In addition to the links I sent you
http://rootprompt.org/article.php3?article=821

Byte 2.0
11-23-2002, 11:47 PM
Anyways .. why use ftps etc when you can use SSH

Byte <---Looks around like a newbie. What is SSH?
I understand FTP already, i am trying to start with the basics then move from there. If i start with what i have a clue about then I can experience the enjoys of upgrading :D

BTW reading that link, that is helping. thanks