LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-10-2005, 01:01 AM   #1
SystemDownfall
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 25

Rep: Reputation: 15
Shell server security


I want to serve shell accounts for some of my friends and was wondering if there was a way where they could not view any folders but their home directory but still have the ability to execute commands and programs.

Thanks in advance,
Sys
 
Old 06-10-2005, 01:18 AM   #2
kevner
LQ Newbie
 
Registered: May 2005
Location: Tuscaloosa, AL, USA
Distribution: Ubuntu 5.10
Posts: 5

Rep: Reputation: 0
chroot

you might check out the chroot command, it limits users so that they cant go higher than a certain directory, e.g. their home directory.

Im not sure if chroot still allows comands to be run from /bin or not..

hope that helps
 
Old 06-10-2005, 08:12 AM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Haven't tried this yet but it sounds cool:

http://www.packetstormsecurity.nl/fi...-0.3d.tar.html

Iron Bars SHell is a restricted Unix shell. The user can not step out of, nor access, files outside the home directory. Two ASCII configuration files are used for more control. The system administrator can define which commands may be executed by the user. No other executables are allowed. The admin also has the opportunity to define what kind of files the user may create. If a file has a certain extension (such as .mp3, .c, etc.), ibsh automatically erases it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DHCP Server security! cereal83 Linux - Security 1 05-13-2005 11:19 AM
server security jestevan Linux - Newbie 1 05-01-2005 05:44 PM
Server Security ComputerErik Linux - Security 1 04-29-2005 03:18 PM
what are the security risks using 'passwd' in shell scripts? MisterESauce Linux - Security 5 04-10-2005 01:48 PM
security tips for providing shell access with debian 3.0 stable? salami Linux - Security 2 08-18-2003 10:39 AM

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

All times are GMT -5. The time now is 09:29 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