FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 12th, 2007, 03:55 AM
honey bee honey bee is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Location: Isl,Pakistan
Posts: 95 honey bee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 35 m 12 sec
Reputation Power: 3
Question WU-ftpd

Hello,

I am working with wu-ftpd.I have created a system user, and i want it to be chrooted to its home directory when i ftp it.What should i do?

Reply With Quote
  #2  
Old July 12th, 2007, 01:59 PM
mantas mantas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: atlanta,ga
Posts: 255 mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 13 h 17 m 20 sec
Reputation Power: 18
What is the users home directory in the passwd file?
Check out this link

Reply With Quote
  #3  
Old July 13th, 2007, 02:21 AM
honey bee honey bee is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Location: Isl,Pakistan
Posts: 95 honey bee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 h 35 m 12 sec
Reputation Power: 3
Question

Quote:
Originally Posted by mantas
What is the users home directory in the passwd file?
Check out this link


Thanks for the reply.My user home directory is /webspace/username, i've tried
Quote:
restricted-uid *

, and it restricts my user to its home directory.

There's one more issue, when i login my ftp user, i can see the following files
Quote:
drwx------ 4 ftpp plztest 4096 Jul 12 11:42 .
drwxrwxrwx 30 root root 4096 Jul 12 11:59 ..
-rw-r--r-- 1 ftpp plztest 24 May 10 2005 .bash_logout
-rw-r--r-- 1 ftpp plztest 191 May 10 2005 .bash_profile
-rw-r--r-- 1 ftpp plztest 124 May 10 2005 .bashrc
-rw-r--r-- 1 ftpp plztest 5619 Mar 7 2005 .canna
-rw-r--r-- 1 ftpp plztest 438 May 18 2005 .emacs
-rw-r--r-- 1 ftpp plztest 120 May 22 2005 .gtkrc
drwxr-xr-x 3 ftpp plztest 4096 Jul 11 2006 .kde
-rw-r--r-- 1 ftpp plztest 658 Jan 17 2005 .zshrc


, can you please tell me , why these files are created and how can i hide them?

Reply With Quote
  #4  
Old July 19th, 2007, 11:36 PM
serverorigin's Avatar
serverorigin serverorigin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: Oxford, MS
Posts: 147 serverorigin User rank is Corporal (100 - 500 Reputation Level)serverorigin User rank is Corporal (100 - 500 Reputation Level)serverorigin User rank is Corporal (100 - 500 Reputation Level)serverorigin User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 23 h 42 m 10 sec
Warnings Level: 1
Reputation Power: 6
Can't actually hide those in ftp as a normal ls or list in FTP will show all files, including .whatever files.

Each of those files are for configuration of the different shells that have been used or configured onto the server. example: .bashrc = local bash configuration

.cshrc = local csh configuration
.emacs = local emacs configuration
.kde = local xwindows configuration - kde window mgr.

And so on

When I say 'local'...I mean individual user customization/configuration file.
__________________
ServerOrigin.Com
Advanced DDOS Protection [*] Lowest Prices!
[Specializing in IRC/IRCd Shell and Website Hosting]

Reply With Quote
  #5  
Old July 21st, 2007, 06:17 PM
simusphere simusphere is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Location: Virginia Beach
Posts: 3 simusphere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 16 m 2 sec
Reputation Power: 0
I normally use filezilla or smart_ftp as a client but I never see the dot files in the home directory listing. I know that using vsftpd the administrator can use .message files in any directory they want. Those files should never be seen with a normal directory listing. On my server they are not seen. I don't know why anyone should be able to view dot files at all on an ftp server. Must be a configuration file on the server that controls whether their viewed or not.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > WU-ftpd


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT