Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Systems > Linux / BSD / OS X

Reply
 
LinkBack Thread Tools Display Modes
Old 12-17-2003, 03:03 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
jail ssh to users home directory?

how can i jail ssh to a user's home directory?
__________________
Mike
sde is offline   Reply With Quote
Old 12-17-2003, 05:07 PM   #2 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
isnt is something like

USERNAME:x:USERID:GROUPID::HOME-DIR:/bin/jail-bash

in /etc/passwd?

you just have them use that shell.
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 12-17-2003, 08:16 PM   #3 (permalink)
Epsilon
Regular Contributor
 
Epsilon's Avatar
 
Join Date: Mar 2003
Location: Las Vegas, NV
Posts: 127
Epsilon is on a distinguished road
By 'jail' do you mean chroot? I'm not familiar with the term jail.
__________________
--Epsilon--
Epsilon is offline   Reply With Quote
Old 12-17-2003, 09:17 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
yeah, chroot is the same thing

thanks matt, we will try this.
__________________
Mike
sde is offline   Reply With Quote
Old 12-17-2003, 09:22 PM   #5 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
/bin/jail-bash isnt the real thing, but you know what i mean, right?
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 01-10-2004, 10:09 AM   #6 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
Actually "jailing" is a kernel controlled environment for FreeBSD.

Just thought I'd clear that up.
Kernel_Killer is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 12:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting