+ Post New Thread
Results 1 to 6 of 6
*nix Thread, A little linux help please for a newbie... in Technical; Hi, Further to this post: http://www.edugeek.net/forums/window...tp-access.html I've hit upon a few problems I would like to resolve: 1. When I ...
  1. #1
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,301
    Thank Post
    80
    Thanked 46 Times in 32 Posts
    Rep Power
    31

    A little linux help please for a newbie...

    Hi,

    Further to this post:
    Run a simple webserver with ftp access...

    I've hit upon a few problems I would like to resolve:

    1. When I try to start the firewall it fails, the shorewall-init.log states : "Compiling /etc/shorewall/zones....." ERROR: No IP zones defined

    2. I created an initial user "sadmin" with an associated password....and I wish to have another user - how do I create a new user that can edit the website via the sftp software?

    Thanks.

  2. #2
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,301
    Thank Post
    80
    Thanked 46 Times in 32 Posts
    Rep Power
    31
    Think I've cracked item 2.

    sudo useradd -d /home/testuser -m testuser
    sudo passwd testuser

  3. #3

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Silly question, but did you setup an IP zone?

    Check /etc/shorewall/zones

    man shorewall-zones (for helppage on it)

    Steve

  4. #4
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,301
    Thank Post
    80
    Thanked 46 Times in 32 Posts
    Rep Power
    31
    Hi,

    I followed this comnmand:
    sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/

    which was slightly wrong but I correct it as the install location was different - however I checked the following files and all seemed to have info. in them...
    zones
    policy
    rules

    In the ZONES file it says:

    Zone Type
    fw firewall
    net ipv4

  5. #5

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by kennysarmy View Post
    Hi,

    I followed this comnmand:
    sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/
    And added HTTP and SSH accepts in rules file?

    Steve

  6. #6
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,301
    Thank Post
    80
    Thanked 46 Times in 32 Posts
    Rep Power
    31
    yep the rules file says:

    Ping(REJECT) net $FW
    SECTION NEW
    ACCEPT $FW net icmp
    HTTP(ACCEPT) net $FW
    SSH(ACCEPT) net $FW


    Thanks for helping out....

SHARE:
+ Post New Thread

Similar Threads

  1. [Fog] PXE Menu Help for Linux Newbie Please
    By Heebeejeebee in forum O/S Deployment
    Replies: 2
    Last Post: 12th March 2010, 01:23 PM
  2. Linux is NOT windows (for the linux noob)
    By llawwehttam in forum General Chat
    Replies: 0
    Last Post: 17th December 2009, 11:24 PM
  3. linux newbie
    By Jon in forum *nix
    Replies: 12
    Last Post: 28th April 2009, 10:26 AM
  4. Fresh Virgin Linux Newbie
    By Scotmk in forum *nix
    Replies: 9
    Last Post: 31st October 2007, 10:05 AM
  5. Replies: 30
    Last Post: 24th November 2006, 08:33 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •