hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Whats the command?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Whats the command?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-04-2001, 12:59 AM
Nextel Nextel is offline
Disabled
 
Join Date: Nov 2001
Posts: 1

Whats the command?


Hey! Hows it going? Had a quick question. I have been struggling for the past day trying to figure this out, but no luck

What is the command using addduser to create an FTP account, with no shell access and that the person cannot CDUP from their FTP program?

Please help!!
Thanks in advance.

-James

Reply With Quote


Sponsored Links
  #2  
Old 11-04-2001, 09:38 AM
RutRow RutRow is offline
Web Hosting Guru
 
Join Date: Mar 2001
Location: California
Posts: 332
useradd -s /bin/false USERNAME

Then add /bin/false to /etc/shells.

As far as not being able to CDUP, that depends on the ftp daemon you run. For ProFTPD, I use DefaultRoot ~ in my config file.

Reply With Quote
  #3  
Old 11-07-2001, 06:16 PM
comphost comphost is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 41
FTP CHROOT

read how to ftp chroot the ftp

for example using FreeBSD and their normal ftpd


you would use the ftponly shell i think its /usr/bin/ftponly

you would then edit /etc/ftp.chroot and add all groups
or individual logins to this file

say you use group hostingclient for all your clients
then you would put

@hostingclients

or for group hosting clients and individual simply put

@hostingclients
usename

If you chroot a user then you must be sure to have your
ftp re-compiled with internal LS so they can view files
otherwise nothing will show up as they dont see
/bin/ls

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Prolexic Reports Key Holes in Popular DDoS Attack Tool Dirt Jumper Web Hosting News 2012-08-14 14:48:14
OnApp Adds VMware Support with OnApp Cloud Version 3.0 - HostingCon 2012 Web Hosting News 2012-07-17 15:49:06
InterNetX Launches Server Administration Software Web Hosting News 2011-12-22 22:06:48


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?