![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Just limiting FTP?
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Apr 2003
Location: Hollyweird, CA
Posts: 747
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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?
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |