Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-15-2004, 09:40 PM   #1
x2dio
Confirmed User
 
Join Date: Jun 2003
Posts: 101
Unix Help!

How can i lock a subdomain user to its home directory?


is just for 1 account I don't need it on the entire server.


Running Ensim 3.5 / Linux 7.3

Thanks
__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
203814376
x2dio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2004, 09:42 PM   #2
x2dio
Confirmed User
 
Join Date: Jun 2003
Posts: 101
Im also looking for some reliable server Admins out there, please contact me at


AOL " flashlvl " must have some references too.


__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
203814376
x2dio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2004, 09:43 PM   #3
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
Just limiting FTP?
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2004, 09:45 PM   #4
xxxoutsourcing
Confirmed User
 
Join Date: Oct 2003
Posts: 3,888
SSH and/or FTP SFTP
__________________

xxxoutsourcing.com
ICQ:119936 | Aim:xxxoutsourcing | MSN:msn@ xxxoutsourcing.com | Yahoo:xxxoutsourcing
Submitters, Designers, Programmers, Cartoonist, Creative Writers, Video & Photo Editors
Convert your Paysite into a cartoon site convert2toons.com
xxxoutsourcing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2004, 09:51 PM   #5
fsfaz
Confirmed User
 
Join Date: Apr 2003
Location: Hollyweird, CA
Posts: 747
Best of luck being completly successful locking him down on a shell (ssh). You can try chmod'ing but it doesn't always work properly.

With FTP, not sure what FTP server your using and since your running Ensim, I'm not familiar with it. You may want to look up the documentation on the FTP Server your running or you can try this:

Create a file with your favorite editor called "ftpchroot" in /etc and put just the users name in the file.

May work but I doubt it.

Post the FTP server your using and maybe we can help.
fsfaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-15-2004, 10:32 PM   #6
x2dio
Confirmed User
 
Join Date: Jun 2003
Posts: 101
Using PROFTPD
__________________
<hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
203814376
x2dio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2004, 11:05 AM   #7
fsfaz
Confirmed User
 
Join Date: Apr 2003
Location: Hollyweird, CA
Posts: 747
Quote:
Originally posted by x2dio
Using PROFTPD

It's called chroot and here's the man page on the directive.

Note: Not sure where the config file is located espeically since you are running Ensim.


http://www.proftpd.org/docs/directiv...faultRoot.html
fsfaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2004, 11:10 AM   #8
AndrewKanuck
Confirmed User
 
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
chroot and jail are the tools you'd need - I could have sworn that Ensim locked accounts into their private directory; or was that just a lie they told during marketing?
__________________
AndrewKanuck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2004, 11:38 AM   #9
icedemon
Confirmed User
 
Join Date: Jun 2003
Location: Lutz, FL
Posts: 1,022
Here is what you do for ProFTPd.

SSH to your server. Look for the proftpd.conf file. It's usually in /etc/proftpd.conf. You can do a "locate proftpd.conf" if it isn't in the /etc directory. Open it with vi or pico.
pico -w /etc/proftpd.conf
Add this
DefaultRoot ~
This will chroot them to their home directory that is listed in /etc/passwd
You might want to open /etc/passwd with vi or pico to make sure their home directory is where you want it.
__________________
Clips4Sale.com
icedemon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.