LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-20-2004, 09:33 PM   #1
Equin
Member
 
Registered: Oct 2004
Location: Merrimack, NH
Distribution: Ubuntu / Apple
Posts: 46

Rep: Reputation: 15
Question Shell Restrictions


I'm trying to provide people with shell access via SSH to my Fedora Core 2 server.

What I'm trying to do is restrict people from leaving their home directories while in the shell. Because these people also have web hosting, I've had to put their folders in the /var/www/html directory. I can set the permissions of the "html" directory so they cannot use the "list" command, but I cannot make it so they are unable to execute it because then the html files or other sub directories won't work.

I'm hoping somebody can help me with the answer

Thanks much,
-Equin
 
Old 10-21-2004, 11:46 AM   #2
anacOndazz
LQ Newbie
 
Registered: Oct 2004
Location: Europe
Distribution: Knoppix
Posts: 18

Rep: Reputation: 0
ssh

hi dude,

I sugest you do some reading about file permissions. It's just a matter of setting the right permissions. 2 give you a hint., when u remove a x ( execute ) permission of a directory , you make that directory innacessible 2 other users...but if i were you i would have a serious reading , giving the fact that "FILE PERMISSIONS " is the backbone of linux security. A simple mistake can mean a big breach in Ur system > ...so get on red hat's docs > file permissions ( user + group ) and have a go .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User name restrictions AndeAnderson Linux - Newbie 4 04-11-2005 03:29 PM
password restrictions Dr Gutiemouth Linux - Security 1 11-04-2004 01:39 PM
Samba IP Restrictions gigglesnorter Linux - Networking 1 07-01-2004 03:52 AM
Restrictions X3781 Linux - General 1 01-07-2003 12:55 PM
command restrictions keevitaja Linux - Newbie 4 09-12-2002 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration