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:
Application developers can seamlessly integrate the Advantage Database install with their application install. Learn the best practices used when setting up silent installs with this seminar.
  #1  
Old June 1st, 2000, 07:29 AM
ayadava ayadava is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 ayadava User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ayadava
Hello,

i've just started with configuring my new webserver. and now i am struggling with a problem. whenever i make a new user for a domain, the can not only browse thru their own site but they can surf anywhere on my server, from the root up. (using FTP and telnet).

now when i log into my internet provider account, i only get to see my own directory.
i'ts not just that i cant browse higher up levels, but they dont ever appear in my ftp client. ( i mean i dont see /home/users/arun as my initial directory but just / or /arun)
how do they do that? i've got this really big linux/apache manual but i can't find the answer anywhere.

i'd be really grateful for any help

greetings, Arun

------------------
Arun Yadava
email: arun@deep-blue-ocean.nl
url: <A HREF="http://www.deep-blue-ocean.nl
gsm:" TARGET=_blank>www.deep-blue-ocean.nl
gsm:</A> +31625427907

Reply With Quote
  #2  
Old June 1st, 2000, 07:36 AM
ayadava ayadava is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 ayadava User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ayadava
my signature turned out weird, lets see if its better now...sorry

------------------
Arun Yadava
email: arun@deep-blue-ocean.nl
url: www.deep-blue-ocean.nl
gsm: +31625427907

Reply With Quote
  #3  
Old June 1st, 2000, 09:50 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You should get proftpd-1.2.0pre10.tar.gz from http://www.proftpd.net
The configuration file 'proftpd.conf' is Apache's httpd.conf-like.

For your quick references:
# this is the default dir when they log in (home dir)
DefaultChdir ~/
# this is the highest dir (home dir) a user can reach
DefaultRoot ~/

As for telneting, you will have to write a customize shell on your own or disable telnet for your web users.

Reply With Quote
  #4  
Old June 1st, 2000, 11:15 AM
ayadava ayadava is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 ayadava User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ayadava
thanks for your fast reply!
i'll download the pro-ftp and install it then...
right after i've fixed my httpd...it just crashed..argh

one more question, how do i disable telnet access?

greetings, Arun

------------------
Arun Yadava
email: arun@deep-blue-ocean.nl
url: www.deep-blue-ocean.nl
gsm: +31625427907

Reply With Quote
  #5  
Old June 1st, 2000, 12:07 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Let say you place those users to 'www' group and 'www' user. You can then give this a nonexistent shell. I don't run linux so I don't know how you would configure certain group/user without a shell. Please read the manpages for your particular linux distribution regarding to this.

Be sure to read the documentation of proftpd and take a close look at GroupPassword and UserPassword directives.

Reply With Quote
  #6  
Old June 1st, 2000, 12:12 PM
ayadava ayadava is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 ayadava User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ayadava
okay thanks again

i know how to create a user with a non-exsistent shell, so i'll manage
thanks for the advise!

Arun

------------------
Arun Yadava
email: arun@deep-blue-ocean.nl
url: www.deep-blue-ocean.nl
gsm: +31625427907

Reply With Quote
  #7  
Old June 2nd, 2000, 11:31 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
If you want to disable telnet completely, go to the file /etc/inetd.conf, and comment out the telnet line:

#telnet stream tcp nowait root /usr/libexec/telnetd telnetd

While you're at it you should probably comment out a few other network protocols that you don't need but are usually enabled by default:

sunrpc
auth
login
finger
netbios (especially this)

Unless you have a reason to use any specific protocol in inetd.conf its better to comment it out, as the more connections methods, the more vulnerabilities.

I usually only have ftp, pop3, smtp and sometimes telnet enabled.

Read up on Linux security; it can be a big problem if you're not careful.

Reply With Quote
  #8  
Old June 3rd, 2000, 05:28 AM
ayadava ayadava is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 ayadava User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to ayadava
thank you very much for the advice

i actually dont want telnet disabled completely, i want to be able to use it myself, and also my alliance partners should be able, but clients shouldnt be.
im thinking of installing a secure crt module or something, i've heard telnet isnt that safe.

i'll take a look if the other protocols are off, if not i'll switch them off.

again thank you for helping me out!
greetings, Arun

------------------
Arun Yadava
email: arun@deep-blue-ocean.nl
url: www.deep-blue-ocean.nl
gsm: +31625427907

Reply With Quote
  #9  
Old September 28th, 2000, 02:08 PM
andyvh andyvh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 1 andyvh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
To disble telnet access to specific users just change the shell interface in the /etc/passwd file to /bin/false
example:
bob:x:518:518::/home/bob:/bin/bash
haji:x:519:45:haji mart:/home/haji:/bin/false

Here bob can telnet in but haji cannot....
I am also wondering how to prevent ftp users from seeing the rest of my system. (I don't want to install a new ftp deamon.) Please shoot me an email if you have an answer.

Andy

Reply With Quote
  #10  
Old September 28th, 2000, 04:18 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>how to prevent ftp users from seeing the rest of my system. (I don't want to install a new ftp deamon.)

Since you haven't provided what ftp daemon you are running, I assume it's wu-ftpd. Simply run "man 8 ftpd" and "man 8 chroot".

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ftp users


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway