CentOS 5 Server :: Ftp Server With Folder Access Restrictions
Dec 10, 2010
'm a bit familiar with Centos as I have set up few website on this environment but I have never actually installed, and especially, configure ftp server. Now I need to do this. Simply I need to be able to create an access account for a user and then restrict access to only one folder within the website (idea is to allow this user to upload images via ftp). I did google for ftp servers and read about vsftpd but I couldn't find any tutorial on how exactly make it work with folders and specific users.
I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.
Im using CentOs on a remote server. I've recently installed phpmyadmin but cant access from [URL] I checked the files and found only 3 folders in /var/lib/phpmyadmin -config / save / upload - all of them empty. Whenever I try intstall phpmyadmin again it just says its already installed and up to day.
I have Apache installed on CentOS 4.5. My website have to play music on page and i have to show the file path. Eg : my website is in /var/lib/apache/webapp/mywebsite and my music folder is in : /music/myfile.wav and i want to play music on this /music folder and allow guest to download file. How can i do this?
I have searched other post on here and they appear to be relevant but when I enter in the exact same commands it denies relay access to everyone. I have also used the postmap command to refresh the database.
Below is my main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname.
I seem to be able to install / configure Postfix server in 10 minutes as an MTA for a single domain but my struggle is really understanding the maps / restrictions which even after reading "The Book of Postfix" is not very clear to me:
[Code]....
My question is between those commonly used three maps above, what are the difference between them and how do I know when to use one over the other? Can someone clearly explain them to me? Here's what I have in my 'main.cf' but honestly I couldn't tell you if they're correct or now:
I'm trying to configure notifying 'sys admins' cellulars about some events in clients IT infrastructure. In linux env it would be ease, just to use 'mail' cmd but need solution for windows env in this case.
I have RAID Controller running under windows xp and its raid array sotfware has feature to notify about events by email. I found some free solutions on the internet but most of them are shareware and if are freeware, they have limitations e.g. nr of sent emails per day.
Is there some free smtp server that I can use with no limitations?
I know am going to sound silly but got to ask the following.I have been using Ubuntu for several years successfully & want to switch my five servers to Centos 5.4.I have installed a working version but I seemed to be missing something & cannot find anything on the net.
Background - a) Running Vmware 2.0 b) installed Centos 5.4 on a virtual server with 1024 meg memory and 40Gig oh HD c) I can use printer on nework d) I see folders on network e) I can ping other devices/websites from Centos server and I can ping Centos server from other devices, share folders, etc d) Installed Webmin successfully, I think. e) I have several domain names registered and 5 static public IP addresses
Issue - a) I cannot access web server from outside the server, in other words, much like in Ubuntu after all configuration has been done, I can go to any computer on network and type in http://192.168.1.100 and I'll return a test page that says IT WORKS!. is this done differently in Centos. B) when I tried https:192.168.1.100:10000 to access webmin, again I get time out error.
Questions - a) are there any settings am missing? obviously! b) am I missing software? I hear you can install a Cpanel type software. c) Is there a guide that can walk me through process to setup host names, domain name, IP addresses, etc d) If you can give me steps to follow I can have something to do some research.
Heres what I have and what I am looking to do. I have a PC with a single core 2 Ghz Pentium processor and 1 gb of RAM. Its pretty limited in what it can do and run. It has two physical HDDs one a 250 GB SATA and the other a 160GB SATA. One the two hard drives I have the following partition structure:
160 GB HDD 28 GB Ubuntu OS Partition 2 GB Swap Partition 130 GB Free Partition (EXT4 but empty) 250 GB HDD 250 GB Free Partition (EXT4 but empty)
What I would like to do is the following: 1. Strip down Ubuntu 10.04 to where only the bare minimums run and system resources (Since they are so scarce on this system anyway) be readily available 2. Have the system run solely as a Samba File server for all other computers in the house to read and write to 3. Allow other "known" systems to access the shared folder without authentication, but any system with an unknown name, should have to authenticate first 4. Have the 130 GB from HDA and 250 GB from HDB, be presented as one network drive of 380 GB as opposed to two of 130 and 250 gb respectively
Are these things that are possible for a person of mid level understanding of Linux? How would one set about achieving all of the above goals?
I configure named and stumble upon the following problem: named is serious about user rights, every config file named uses should be named:named. I set rights to named:named as follows, but they get changed to root:named when I restart named as root. The same thing happens with SELinux context. This results in access denied type errors.
Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.
I've recently installed CentOS 5, because I needed a good OS to run VMware Server. Just a heads up, I'm not very familiar with RH/CentOS distros, I usually use Arch Linux. My VMware install went fine, config is standard settings. Now I'm trying to access the VMware Infrastructure Web Access using port 8222 (http) and 8333 (https), but it's a no go. I'm connecting from another machine on the LAN, as the CentOS box is headless. I restarted the vmware services, and they seem to be launching fine. I don't know much about VMware though. I verified with netstat and ports 8222 and 8333 are listening.
Actually i have to make one share folder on linux in such way that user should only read the documents from shared folder and they should not take prints of that folder.could any one telme what server i should use.?samba or nfs?how can i stop client users to stop taking prints from that shared folder.
This is my first post, I hope I'm the the right place. I installed mysql mysql-server php-mysql perl-DBD-mysql libdbi-dbd-mysql via "yum install -y" on a server running CentOS 5.3 X86_64 The install completes successful with no errors, but once I start mysqld via "chkconfig --level 35 mysqld on" ; "service mysqld start" There are no errors in /var/log/mysqld.log netstat shows mysqld listening on 3306 and localhost is in /etc/hosts
I'm using ssh2 a PHP extension to create a new folder on my server, however if I try and set the permissions of that folder above the default of 0755 it creates the folder with that default setting.
It seems like there is some setting preventing me creating a folder with higher permissions e.g 0777.
Is there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.
I installed samba server in my external HDD. But it is not shown in system ----> Administration. Is there any problem. Then How to give permission to access home folder.
I can't seem to load anything in the CGI bin, it gives me a 403 forbidden for the cgi bin folder, and also when i try to load the hello.pl it wont load it just shows a blank document. permissions are set to 755 and i reuploaded the files via ftp too
heres my httpd: # ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" #
CENTOS 5.4 hp server 380G4 Fresh install I can ssh into the server from within the company, I can access the "website" on 192.168.1.110 (server static IP) command line on the server I can ping google.com What I cannot do is reach the server from outside the company, router, forwarded port 22 and www to 192.168.1.110
I use no-ip for my dynamic IP forwarding, this is all setup correctly.
I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
I'm planning to use a virtual CentOS box for web development (to use the same software as on the real server). I configured Samba to have root guest access to /var/www/ but it doesn't let me in /var. Chmod 777 doesn't help. Nethertheless, I have full access to /sbin and /etc.
I am using a CentOS 5.4 server for Snort (it's actually using the easyIDS config). I'm trying to modify some things, and I've noticed that I can't seem to download any files. WGET, FTP, etc... all just time out. It's not a network firewall issue, as I've been monitoring the logs and see no blocked traffic, and other machines on the subnet can get outside with no problems. I checked the Cent firewall using the setup command, and it says it is disabled as well. I'm very new to linux, so I'm wondering how I can troubleshoot this? The wget and ftp errors just say the connection timed out, but I'm not sure why.
I am having a time at trying to get a simple FTP setup to my Var/www/html folder for my canned Joomla website. I can log in anon with no write permissions, but it will not log in using any users I have setup on the server. I've googled a bunch, but nothing to correct my 530 authentication failure when I try to log in as one of my user accounts for the server.