Ubuntu :: Setting Up Suexec :: Reasons How Does It Work And How To Configure It?

Aug 5, 2011

My web server does not currently run Suexec. All files within the /var/www directory are owned by vsftpd and belong to nogroup. Apparently, this setup causes issues with some scripts that attempt to upload files and change files, such as the SMF Forum package.

Here's some background information that goes into further details regarding the issues I'm having:[URL]..Why would uploading a file using PHP in SMF not work with the owner being vsftpd belonging to the nogroup when the folder has been chmod to 777? I tested my own simple PHP upload script, and it was able to upload a file without issues. Yet, I've been told that my server is improperly configured if I'm not using Suexec. Why is this? Also, if I did use Suexec, what creates the users? Would I have to add them manually, or would they be created automatically as users based on their FTP login and added as subusers to the vsftpd group? Why should I use Suexec? I don't understand what's wrong with my current setup. How does it work in terms of users? Are users created and just added to a subgroup, or are they created like normal user accounts on the actual server? Do they get their own /home/username directory as well? I'm so confused about Suexec. What I've read about it doesn't make sense.[URL]..

View 1 Replies


ADVERTISEMENT

General :: Looking For Hardware Reasons Why Suspend And Hibernation Don't Work

Jan 6, 2010

My suspend-to-disk and suspend-to-RAM stopped working months ago. I've grasped at straws about why ever since, but I really don't think it's a software problem, because I've reinstalled my system (MEPIS) repeatedly. What sort of hardware failures could cause this? What should I be looking for? I notice that at boot, Linux always says "no resume image found," even if I left the system in suspension or hibernation. I can post parts of the dmesg if someone tells me what to look for; I can't display the whole thing because it's too long to fit here.

View 7 Replies View Related

Ubuntu Servers :: Suexec / Run Php As User Not Apache

Apr 4, 2010

When we run php scripts that move/rename/etc files, the script does not have access to write to files in our web root. Changing permissions to 777 fixes the problem, but obviously this is not an option..I've been reading up about suexec, phpsuexec, and suphp, but we can't seem to figure any of this out.In phpinfo(),the Server API reads: Server API Apache 2.0 Handlerbut on another server (where everything works, it reads : Server API CGI/FastCGIIs there ANY way to achieve this?

View 2 Replies View Related

Red Hat / Fedora :: Using Symlinks With SuExec

May 26, 2010

I just got a new server dedicated running php5 and SUExec. I understand the concept. INstead of running as "nobody", PHP scripts run as the user of that website. This also means I don't have to have some special directory where I set permissions to 775 or 770 with group=nobody etc just to upload files via PHP .. since PHP will upload files just as the user would using FTP. OK, great so far, and more security, I'm all for it.

View 1 Replies View Related

Ubuntu Installation :: Reasons For Becoming Slow ?

Mar 10, 2010

Now a dayz I am observing that mUbuntu performance was not satisfactory. My ubuntu is daily up to date. What was the reasons for my Ubuntu becoming slow?

View 2 Replies View Related

Server :: Apache2 - Suexec Error: Command Not In Docroot (/usr/bin/php-cgi)

Jul 7, 2010

Basically when I try execute a PHP script with SuexecUserGroup set, I get the following error:

uid: (501/uname) gid: (501/501) cmd: php-cgi
command not in docroot (/usr/bin/php-cgi)

Without SuexecUserGroup set, they work fine, but obviously aren't executed as the script's owner.

Here's one of the domain's configs:

Code:

<VirtualHost *:80>
ServerName www.domain
ServerAlias domain

[code]...

For a bit of background info, the end result i'm trying to achieve is for files that get uploaded via a php script to be owned by the user account that owns the script rather than by the apache user.

View 1 Replies View Related

Server :: Setup SuEXEC So That CGI Scripts Are Ran As The Backuppc User?

Sep 1, 2010

Apache/2.2.3
CentOS release 5.4 (Final)
BackupPC-3.1.0-6.el5

So im setting up backuppc but do not want Apache to run as the backuppc user. To get round this I need to setup suEXEC so that CGI scripts are ran as the backuppc user. This seems fine and I do have the module loaded,

1. I have configured my config files as said here
2. I have read that DOC_ROOT for suEXEC is set to /var/www I need to change this to /home/www - as a quick fix i have a symbolic link from /var/www to /home/www.

3. To confirm what DOC_ROOT is and check where the log file will be as suggested on many sites I run "/usr/sbin/suexec -V" but I get nothing back, it does not list any config.

4. Group and Owner for "/usr/share/BackupPC" is backuppc

[Code]...

View 1 Replies View Related

Ubuntu :: Configure Evolution To Work With MS Exchange But Cannot Get It To Work?

Apr 20, 2011

I am trying to configure evolution to work with MS Exchange but cannot get it to work. I also have an android phone which is dead easy to configure, but I've tried so may settings but cannot get evolution to connect. Anyone also having had this problem and finally solved it? I also tried DavMail with no luck.

View 6 Replies View Related

Fedora Servers :: Suexec Set Up In Apache, Snippits From Httpd.conf?

Jun 25, 2011

I'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:

Code:
LoadModule suexec_module modules/mod_suexec.so
...

[code]....

View 3 Replies View Related

Fedora :: Benefits / Reasons To Upgrade To F15

Jun 8, 2011

What are the benefits to upgrading to F15 from F14 if any? Has there been some huge step forward in performance, security or some other reason that makes it worth while to upgrade? I know many people make the move simply because they wish to have the latest and greatest, but is there any reason specifically to upgrade to the latest and greatest?

View 14 Replies View Related

General :: Cron Job Not Running / Possible Reasons For This?

Oct 15, 2009

I have 3 cronjobs set up on my Unix server . Out of which 2 cron jobs run the same script but at different times and the other one runs another script.
So in the 2 jobs which are set to run PMDaily.sh for eg , One runs on Sunday at 8AM and the other runs monday to friday at 6 AM . How ever the Sunday cronjob works (runs through the crontab) but the Cron job set for Monday to Friday is not working. However manually if i run this script it workd perfectly.

Please let me know what could be the possible reasons for this?

View 2 Replies View Related

Programming :: Reasons For Program To Be Killed?

Feb 15, 2011

when i try to run a program in linux it runs and prints some messages successfully but in the middle it shows the message 'Killed' and stops running. what may be the reasons for this..?

View 2 Replies View Related

Ubuntu Installation :: Keeping Software Updated For Security Reasons?

Jan 7, 2010

I've recently built a VM appliance using Ubuntu 8.04 that is given to customers for an easy deployment of our software. Ubuntu works great in a VM and its perfect for our software (which is a web application).

Some customers are paranoid (rightfully so) and they will run a vulnerability assessment on the web application. A particular customers' assessment fails as it finds that the appliance isn't running the latest version the Apache web server. I thought that just running "apt-get upgrade" would upgrade all of the software packages to the latest so that failures in the assessment caused by outdated software packages would be resolved... However this is not the case...

I realize that there is a probably a whole process for submitting/approving the latest versions of software packages in Ubuntu, that then get pushed to the repositories - But how does this work? What exactly does "apt-get upgrade" do if it doesnt upgrade packages to the latest?

For example: I need Apache 2.2.11 to fix a particular vulnerability. But when running apt-get upgrade, it doesnt actually upgrade the Apache version number (or any of the other packages). I'm stuck on Apache 2.2.8, and I can't find a .DEB installer for 2.2.11 or later.

View 5 Replies View Related

Ubuntu Networking :: Configure Wireless Setting With Linksys Router?

May 30, 2011

I have a Linksys WAG54G2 Router - this is set up and was working fine with Xp and my Apple I phone.I have just changed over from XP to Ubuntu, and am having difficulty in configuring wireless settings to accept UBUNTU.The hard wired Ethernet connection works fine.

View 2 Replies View Related

General :: System Rebooting On Its Own / Where To Check For Reasons?

Nov 4, 2010

I have NFS fileserver that has served me well for more than year. But recently I noticed that it has started to reboot on its own very frequently, almost once a day! It is most likely not a power related issue as I tried changing UPS/power sources, but no help!So my question is:Is there any log file where I can check which is causing the reboot? There may not be a single logfile, but I need some point to start the investigation!

View 3 Replies View Related

Debian Installation :: SVN - Port 22 Restricted For Security Reasons

Jul 1, 2010

I was trying to install subversion on my machine which have lenny installed on it but when I tried to forward port 22. I got a message connection refused and when I tried to open it in iceweasel it shown me that the port has been restricted for security reasons. I wish to enable it but don't know how to.

View 1 Replies View Related

CentOS 5 :: Proxy Configure Setting - Cannot Ping Any Website

Aug 4, 2009

I am trying to install a router on my CentOS 5 box, while i have properly configured IP address, Subnet, Default GW and DNS, I am at the point of trying to set up the Proxy. I have added a line: "proxy=http:ip_address:8080/" to the file of "/etc/yum.conf" The Proxy server here does not require any username nor password however I still cannot ping any website, while I tried to ping 74.125.45.100 (google.com) it returns the following message:

[Code]....

View 1 Replies View Related

Fedora Networking :: Random Wireless Dropouts With No Obvious Reasons

May 23, 2010

Has anyone experienced random wireless dropouts? Like one minute, you are connected and then not, with no obvious reason as to why it happened, just network manager popping up requesting a password to reconnect.

View 3 Replies View Related

Software :: Setting Up CUPS / Configure Cupsd.conf For Security?

Apr 21, 2010

Using Debian Lenny.I am new to printing with Linux and would like some help with CUPS. I have CUPS set up to work with my printer.I read through the documentation, but still have some problems.

1. How should I configure cupsd.conf for security?

Quote:

Portwalling

* By default, cups will listen on every interface. Unless you want to offer your printer to the world, you must block this.Although you can firewall this (and that is a good idea anyway),you can also not have cups listen on your Internet connection.This also prevents any possibility of a root exploit from the Internet. Of course, you still have internal crackers to worry about...

* In cups.conf, comment out the lines:
Port 80
Port 631
* Replace them with:
Listen 127.0.0.1:631
code....

How do I create a symbolic link between programs?When I opened Xpp it said Printer:destination not available.

4. Can I adjust the text size on text, pdf or html files with Cups or do I need another program for this?

View 3 Replies View Related

Ubuntu Servers :: Lucid: Mailgraph + Dspam - X Suexec - "500 Internal Server Error"

Jun 17, 2010

I am setting a Lucid mail server, and got dspam and mailgraph installed. dspam requires suexec module for apache, but it breaks mailgraph with "500 Internal Server Error":

[Code].....

View 1 Replies View Related

Ubuntu :: Tried Every Setting Could Think Of, But SMTP Just Won't Work?

Jun 25, 2010

Thunderbird 3 just won't work: I've tried every setting I could think of, but SMTP just won't work (POP works fine though)Does anyone know how to setup SMTP?

Code:
LoadPlugin: failed to initialize shared library /home/j/.mozilla/plugins/libflashplayer.so [/home/j/.mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS32]

[code]....

View 9 Replies View Related

Ubuntu :: Setting Up The Email Client To Work With Hotmail?

Feb 16, 2010

I have recently installed Ubuntu 9.10 on laptop behind XP and Win7. No problems at all so far. Even got wireless to work (awesomeness). But trying to set up the email program it continues to say there's a problem. I'm trying to use Hotmail. And the way the email wizard? is set up it's a little off for me. I'm not too experienced with Ubuntu, or Linux for that matter. Mainly a Microsoft OS user. give me the info on setting up the email client to work with Hotmail?

View 4 Replies View Related

Ubuntu Networking :: Setting Up Work Loopback Server

Mar 24, 2010

I'm setting up a loopback server for work related testing. I have a small program that needs to be executed through telnet from about 200 IP's on the same network. On the server, I have to set a static ip, enable telnet login, and place my 2 program files in the appropriate folders so it will run. I have been on this for 2-3 days and haven't got far.

My /etc/Network/interfaces file is this...
Auto lo
iface lo inet loopback

The rest of terminal is filled up with these, and it states that the file only has 32 characters. I don't know if this is a privilege issue or not. I've read several threads on telnet, and lots of arguments about ssh, but I can't run ssh, so I need to enable telnet. There is not a security issue. I run a private network where the only valuable resource would probably be the text file with my IP address on it. Its also accessed by people that have very limited networking knowledge and no linux knowledge...

So,
Set static IP
Setup telnet server...
Any takers?

View 3 Replies View Related

Ubuntu Multimedia :: Setting Up Icecast2 Permission - It Does Not Work?

Jul 7, 2011

I'm trying to setup icecast2 so that I can stream music from MPD to other computers in my local network.I have MPD all setup, but I'm having trouble getting icecast to work.I believe its a permission problem.I've been trying to follow this tutorial but I have been unable to get it to work.I've looked at numerous other tutorials and haven't been able to find different that fixed my problems.

https://wiki.archlinux.org/index.php...g_With_Icecast

when I run:

Code:
icecast2 -b -c /etc/icecast2/icecast.xml the result is:

Code:
Starting icecast2
Detaching from the console
I/O error : Permission denied
I/O error : Permission denied
I/O warning : failed to load external entity "/etc/icecast2/icecast.xml"[code]....

View 3 Replies View Related

General :: Can't Get Wireless To Work - Setting?

Feb 20, 2010

I have just downloaded Ubuntu today on a dell inspiron 1525 but I cannot get the wireless to work I know very little about linux but want to learn

View 14 Replies View Related

Ubuntu Installation :: Proseed.cfg Mirror Setting Didn't Work?

Apr 13, 2011

i want to install ubuntu10.10 x64 by pxe, so i have following proseed.cfg. and system should install using mirror 10.1.1.2/ubuntu/ubuntu10.10/x64 according to preseed.cfg. But it always report "Bad archive mirror". i could ping 10.1.1.2 and could get file by "wget" from 10.1.1.2.

# Locale sets language and country.
d-i debian-installer/locale string en_us
# Keyboard selection.
d-i console-setup/ask_detect boolean false

[Code]...

View 1 Replies View Related

OpenSUSE :: Setup A Conky Setting At Work?

Jul 18, 2011

i would like to set up a conky setting at my work so when employees call me for questions they can just give me the info that is visually on the screen from conky that i want instead of having them look for it, i have done some conky in ubuntu , it is very easy , just install it then enter codes in the text editor, and BAM done, now on opensuse looking at this thread Conky - Hardware Monitor it looks ALOT harder, is there a easier way around this big mess of codes and what not.

View 9 Replies View Related

Ubuntu :: How To Configure To Work Program Heritage Try Wine?

Jan 14, 2010

I want to now is it possible to use and how to configure to work program My Heritage try Wine?Please help its important to me.P.S I'am totaly noob regarding Ubuntu netbook remix

View 4 Replies View Related

Ubuntu Networking :: Setting Up IPSec VPN Server On 8.10 LTS To Work With IPhone Clients?

Apr 3, 2010

I've searched through google, and all I can find are instructions on how to set up a L2TP/IPSec VPN that works with macs and iPhones. I'm NOT trying to set up an L2TP/IPSec VPN. I'm trying to set up a pure-ipsec vpn.

The iPhone IPSec client is a built-in cisco client, I believe. I'm staying away from L2TP and PPTP because I need multicast packets to go through. *edit: wow, i just noticed that the title says "8.10 LTS". Oops! I obviously mean "8.04 LTS". Gah, the lack of sleep got to me.

View 6 Replies View Related

Networking :: Configure VPN But It Dont Want To Work?

Jun 18, 2010

I try to configure VPN but it dont want to work.

This is scheme:
Code:
10.10.1.90 <--> externalIP1 <--> MY external IP
My /etc/ipsec.conf where I type setkey -f
Code:
cat /etc/ipsec.conf
flush;
spdflush;

[Code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved