LinuxQuestions.org
Visit Jeremy's Blog.
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 12-12-2006, 03:58 PM   #1
haiders
Member
 
Registered: Sep 2006
Posts: 62

Rep: Reputation: 15
Create special login shell Restricted access


I'm trying to create a user account which will only have access to that users home directory and nothing else. Do I need a special login shell? I'm running centos-release-4-2.1.
 
Old 12-12-2006, 04:08 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,818
Blog Entries: 54

Rep: Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991
Check the LQ FAQ: Security references for "chroot" stuff?
 
Old 12-13-2006, 07:41 AM   #3
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
in addition to chroot you should also have a look at "rbash" or "Restricted Bash"
 
Old 12-13-2006, 09:37 AM   #4
haiders
Member
 
Registered: Sep 2006
Posts: 62

Original Poster
Rep: Reputation: 15
That is a great reference, however chroot seems kind of extensive. I don't need to create an entire "environment" for a user, just a temporary login to access a file system and run basic commmands. I think rbash may be the way to go. Any good articles for rbash that you're aware of would bel helpful. Thanks!
 
  


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
need more restricted shell then rbash redss Linux - General 3 01-26-2006 10:55 AM
create a highly restricted acount pi_squared Linux - Newbie 1 11-22-2004 05:43 PM
Restricted Shell in RedHat 6.2 yuzuohong Linux - General 1 03-20-2003 10:06 AM
Restricted shell Rocket01 Linux - Software 3 01-23-2003 10:37 PM
Restricted Shell johnlee Linux - Security 3 10-29-2001 09:02 AM


All times are GMT -5. The time now is 05:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration