Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 10th November 2006, 12:22 AM
pjviitas Offline
Registered User
 
Join Date: Nov 2006
Posts: 18
Got out of hand cutting and pasting...corrected version:

DISABLING IPTABLES
/sbin/chkconfig iptables off
/sbin/service iptables stop

DISABLING SELINUX
Set the following in the /etc/selinux/conf file:
SELINUX=disabled

ENABLING HTTPD
/sbin/chkconfig httpd on
/sbin/service httpd start

ENABLING FTP
/sbin/chkconfig vsftpd on
/sbin/service vsftpd start

CREATE WEBMASTER USER/GROUP
useradd webmaster
passwd webmaster

CHROOT WEBMASTER
Uncomment the following from the /etc/vsftpd/vsftpd.conf file:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

Create /etc/vsftpd/chroot_list file and add the following:
webmaster

RESTART FTP
/sbin/service vsftpd restart

MOVE HTML DIRECTORY OUT OF THE WAY
mv /var/www/html /var/www/html.original

CREATE A SYMBOLIC LINK BETWEEN THE HTML AND WEBMASTERS DIRECTORY
cd /var/www
ln -s /home/webmaster html
Reply With Quote
  #17  
Old 10th November 2006, 12:25 AM
pdb Offline
Registered User
 
Join Date: May 2004
Posts: 269
I hope you aren't planning to run with the firewall off all the time....
__________________
http://pdb.homelinux.net
Registered Linux User # 348314
Reply With Quote
  #18  
Old 10th November 2006, 12:37 AM
pjviitas Offline
Registered User
 
Join Date: Nov 2006
Posts: 18
I have never had problems running boxes behind a hardware firewall so far and I would never recommend anyone connecting any computer directly to the internet.

Actually, security is not my thing at all...I will listen though.

Best Regards, Hedgehog
Reply With Quote
  #19  
Old 10th November 2006, 12:40 AM
strikeforce Offline
Registered User
 
Join Date: Jun 2004
Location: Perth, Western Australia
Age: 36
Posts: 1,464
I think the essence was that most of us thought you were not going to have a firewall up and all We were just concerned for your security.
Reply With Quote
  #20  
Old 10th November 2006, 01:15 AM
pdb Offline
Registered User
 
Join Date: May 2004
Posts: 269
I guess I would put the firewall up anyway, even though it is on a "safe" network. You never know when the next big Linux virus is going to come along, if it does get in, bam, down they all go....

Hey, it could happen!
__________________
http://pdb.homelinux.net
Registered Linux User # 348314
Reply With Quote
Reply

Tags
account, ftp, setting, webmasters

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting up email account Charles Smith Using Fedora 0 22nd June 2009 11:05 PM
Setting File Permissions for user Account on FAT32 mount meatsack Using Fedora 1 25th July 2007 12:21 AM
Install into root account instead of normal user account myisty Using Fedora 1 3rd June 2007 08:27 PM
1st timer setting up an account in mysql dashdanw Servers & Networking 1 9th October 2006 04:10 PM


Current GMT-time: 07:41 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat