Major Yellow Dog Linux Help Needed
OK, so I managed to get FTP and HTTP working. But, there are a few security problems, and problems in general I need help with. I also want this to be as secure as possible, so any tips are appreciated. These are the 3 things I noticed and need fixed soon.
1. How do I get httpd and vsftpd start automaticly on boot/login?
2. How do I make a user account have administrative access?
3. I noticed that if user clicks around in a FTP client they can get to the rootof the system and download whatever, I want to stop this so they only have access to their directory.
Right After Login To FTP:
Then clicking on the 192.168.0.102 in the left panel results in:
Directions can be either how to do it in command line or KDE since both are available. I'll more than likely find other glitches in a while, and when I do they'll be posted here,
~Duff
1. How do I get httpd and vsftpd start automaticly on boot/login?
2. How do I make a user account have administrative access?
3. I noticed that if user clicks around in a FTP client they can get to the rootof the system and download whatever, I want to stop this so they only have access to their directory.
Right After Login To FTP:
Then clicking on the 192.168.0.102 in the left panel results in:
Directions can be either how to do it in command line or KDE since both are available. I'll more than likely find other glitches in a while, and when I do they'll be posted here,
~Duff
Comments
I'll let you come up with your own disparaging remark about your knowledge.
-Q
Anyways, I added the line to
chroot_local_user=yes to the vsftpd.conf, but I can still browse outside of the home directory. Yes, I did stop and restart the service.
~Duff
-Q
How do I mount, format, etc. a new hard drive? I'm going to have a public FTP, and I want to put it on the 2nd hard drive, and leave HTTP on the 1st.
~Duff
EDIT: Another problem. I want to boot YDL without starting X/KDE since it's a RAM hog, which I cannot seem to do. Any ideas?
-Q
PS. JaS, I'm installing the new beta in VMware, I'll see what it's got going on.
- Assuming it's primary slave: mkfs.ext3 /dev/hdb1
- Mount the HD wherever you want the ftp user's home: mount /dev/hdb1 /home/ftpuser or whatever you called the user.
- To automount, check the init scripts, I'm not sure how YDL does it.
- Edit /etc/inittab and change id:5:initdefault or similar to id:3:initdefault
Thanks, that worked perfectly, now X/KDE isn't hogging all the RAM. Lets say I want to start X, what command do I use to open/close X?
I decided not to bother with the 2nd HD for now, since I want to keep things simple.
~Duff
EDIT: Linux sucks. I have KDE closed and not touching the server, and everytime I simply reload the phpSysInfo page, another MB or so of RAM gets used. I doubt this is simply it processing the PHP.
kdm
then you can select all your display managers you have on there...