hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : chrooting
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

chrooting

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-05-2006, 08:52 PM
IceCreamMan IceCreamMan is offline
Web Hosting Master
 
Join Date: May 2006
Posts: 556

chrooting


Hi,

I've been fighting with this for a while... I've managed to give a user his own filesystem and such... When a user ssh's into the box they are put directly into /var/chroot/home/user which is fine and im happy with that! BUT if the user types cd / they are not in THERE file system but the main file system! Does anyone know how to do this?! Thanks for anyone who can tell me!

Reply With Quote


Sponsored Links
  #2  
Old 06-06-2006, 12:55 AM
fastdeploy fastdeploy is offline
Web Hosting Master
 
Join Date: Apr 2004
Location: SF Bay Area
Posts: 875
Quote:
Originally Posted by 9212
Hi,

I've been fighting with this for a while... I've managed to give a user his own filesystem and such... When a user ssh's into the box they are put directly into /var/chroot/home/user which is fine and im happy with that! BUT if the user types cd / they are not in THERE file system but the main file system! Does anyone know how to do this?! Thanks for anyone who can tell me!
This may be harder than you think; look here:

http://www.tjw.org/chroot-login-HOWTO/

Reply With Quote
  #3  
Old 06-06-2006, 11:20 AM
IceCreamMan IceCreamMan is offline
Web Hosting Master
 
Join Date: May 2006
Posts: 556
Yes,
I've tried that but can't seem to get the user to login. I managed to modify it a lot so the user is logged into there chrooted enviorment and I think it may work after I modfiy a few things.

Reply With Quote
Sponsored Links
  #4  
Old 06-06-2006, 09:00 PM
dordal dordal is offline
Junior Guru Wannabe
 
Join Date: Dec 2005
Posts: 68
What OS is this on?

Reply With Quote
  #5  
Old 06-06-2006, 09:24 PM
brc_csf brc_csf is offline
Junior Guru
 
Join Date: Nov 2005
Posts: 214
You should check http://linux-vserver.org/

Reply With Quote
  #6  
Old 06-06-2006, 09:29 PM
Shock Hosts Shock Hosts is offline
Web Hosting Master
 
Join Date: Oct 2005
Posts: 1,308
This can be done even on Shared Accounts. You just need a home made file manager than you can go to / and access any files you like.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?