1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bits Build your own server: Part 2

Discussion in 'Article Discussion' started by Tim S, 24 Jul 2007.

  1. statmonkey

    statmonkey What's a Dremel?

    Joined:
    5 Nov 2007
    Posts:
    15
    Likes Received:
    0
    B Dauterive

    In the comments of part one there was a replacement suggested on (page 5 of comments I believe) this by The Eclypse. After using it I had no further issues. Just change lines 1 and 3 as suggested.

    /code

    ServerName "YourServerName"
    ServerType standalone
    ServerIdent on "YourServerName"
    DeferWelcome on
    DefaultServer on

    DisplayLogin .welcome # Textfile to display on login
    DisplayConnect .connect # Textfile to display on connection
    DisplayFirstChdir .firstchdir # Textfile to display on first changedir

    UseReverseDNS off
    IdentLookups off

    Port 21
    Umask 022
    MaxInstances 15
    MaxClientsPerHost 3 "Only %m connections per host allowed"
    MaxClients 10 "Only %m total simultanious logins allowed"
    MaxHostsPerUser 1

    User nobody
    Group nogroup

    ScoreboardFile /var/log/scoreboard

    # Some logging formats
    LogFormat default "%h %l %u %t \"%r\" %s %b"
    LogFormat auth "%v [%P] %h %t \"%r\" %s"
    LogFormat write "%h %l %u %t \"%r\" %s %b"

    # Define log-files to use
    TransferLog /var/log/proftpd.xferlog
    ExtendedLog /var/log/proftpd.access_log WRITE,READ write
    ExtendedLog /var/log/proftpd.auth_log AUTH auth
    ExtendedLog /var/log/proftpd.paranoid_log ALL default


    AllowStoreRestart on
    AllowRetrieveRestart on
    RequireValidShell off
    PathDenyFilter "\\.ftp)|\\.ht)[a-z]+$"
    DefaultRoot /
    DenyFilter \*.*/

    ListOptions "" strict

    /code
     
  2. tetee

    tetee What's a Dremel?

    Joined:
    25 Jun 2010
    Posts:
    1
    Likes Received:
    0
    Is there anyway I can connect a printer to this server and then be able to print from windows computers?
     
  3. steveo_mcg

    steveo_mcg What's a Dremel?

    Joined:
    26 May 2005
    Posts:
    5,841
    Likes Received:
    80
    Yup, you'll need to install cups and samba and follow some fairly simple documentation. Your only problem could be this guide is using a fairly out of date version of Ubunutu (?) so some of the steps could be different.
     
Tags: Add Tags

Share This Page