Re: Serious Privileges Problem: Please Help

2009-11-10 Thread Victor Subervi
For others who discover this error, here's what happened as I've traced it: 1) I never before had built a python interpreter on my Windoze box. That was kind of silly, since I was uploading to my server every time I wanted to test. So I built on my Windoze box. Thereafter, Windoze assumed that all

Re: Serious Privileges Problem: Please Help

2009-11-10 Thread Scott David Daniels
Dave Angel wrote: Victor Subervi wrote: On Mon, Nov 9, 2009 at 2:30 PM, Victor Subervi victorsube...@gmail.comwrote: On Mon, Nov 9, 2009 at 2:27 PM, Rami Chowdhury rami.chowdh...@gmail.comwrote: snip Hold everything. Apparently line-endings got mangled. What I don't ... What I've

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Victor Subervi
Did you give up on me? V On Sun, Nov 8, 2009 at 12:40 PM, Victor Subervi victorsube...@gmail.comwrote: [r...@13gems angrynates.com]# chcon -R -h unconfined_u:object_r:httpd_sys_content_t global_solutions/* Then I surfed to http://209.216.9.56/global_solutions/index.py [r...@13gems

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Simon Forman
On Mon, Nov 9, 2009 at 12:44 PM, Victor Subervi victorsube...@gmail.com wrote: Did you give up on me? V Please don't top-post. -- http://mail.python.org/mailman/listinfo/python-list

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Rami Chowdhury
On Mon, 09 Nov 2009 09:44:24 -0800, Victor Subervi victorsube...@gmail.com wrote: Did you give up on me? V On Sun, Nov 8, 2009 at 12:40 PM, Victor Subervi victorsube...@gmail.comwrote: [r...@13gems angrynates.com]# chcon -R -h unconfined_u:object_r:httpd_sys_content_t global_solutions/*

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Victor Subervi
Of course. Let me start with some updates to httpd.conf, which didn't help anyway: VirtualHost *:80 ServerAdmin m...@creative.vi DocumentRoot /var/www/html/angrynates.com ServerName angrynates.com Options +ExecCGI -IncludesNoExec Directory /var/www/html/angrynates.com/global_solutions Options

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Rami Chowdhury
On Mon, 09 Nov 2009 10:36:31 -0800, Victor Subervi victorsube...@gmail.com wrote: Of course. Let me start with some updates to httpd.conf, which didn't help anyway: VirtualHost *:80 ServerAdmin m...@creative.vi DocumentRoot /var/www/html/angrynates.com ServerName angrynates.com Options

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Victor Subervi
On Mon, Nov 9, 2009 at 1:53 PM, Rami Chowdhury rami.chowdh...@gmail.comwrote: On Mon, 09 Nov 2009 10:36:31 -0800, Victor Subervi victorsube...@gmail.com wrote: Of course. Let me start with some updates to httpd.conf, which didn't help anyway: VirtualHost *:80 ServerAdmin

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Rami Chowdhury
On Mon, 09 Nov 2009 11:24:33 -0800, Victor Subervi victorsube...@gmail.com wrote: On Mon, Nov 9, 2009 at 1:53 PM, Rami Chowdhury rami.chowdh...@gmail.comwrote: On Mon, 09 Nov 2009 10:36:31 -0800, Victor Subervi victorsube...@gmail.com wrote: Of course. Let me start with some updates to

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Victor Subervi
On Mon, Nov 9, 2009 at 2:30 PM, Victor Subervi victorsube...@gmail.comwrote: On Mon, Nov 9, 2009 at 2:27 PM, Rami Chowdhury rami.chowdh...@gmail.comwrote: On Mon, 09 Nov 2009 11:24:33 -0800, Victor Subervi victorsube...@gmail.com wrote: On Mon, Nov 9, 2009 at 1:53 PM, Rami Chowdhury

Re: Serious Privileges Problem: Please Help

2009-11-08 Thread Victor Subervi
restorecon didn't change ls -lZ output Can you give me the exact command for chcon? It complains there are too few arguments, and I couldn't figure it out. Does this really matter? I moved the selinux folder and its contents as well as sent an echo 0... command to kill it. Furthermore,

Re: Serious Privileges Problem: Please Help

2009-11-08 Thread Rami Chowdhury
On Saturday 07 November 2009 23:59:23 Victor Subervi wrote: restorecon didn't change ls -lZ output Did the suggested changes to the Apache configuration help at all? Can you give me the exact command for chcon? It complains there are too few arguments, and I couldn't figure it out. For

Re: Serious Privileges Problem: Please Help

2009-11-08 Thread Rami Chowdhury
On Sunday 08 November 2009 05:44:31 Victor Subervi wrote: [r...@13gems angrynates.com]# chcon -u unconfined_u -r object_r -t httpd_sys_content_t global_solutions chcon: can't apply partial context to unlabeled file global_solutions Please advise. Try 'chcon -R -h

Re: Serious Privileges Problem: Please Help

2009-11-08 Thread Victor Subervi
[r...@13gems angrynates.com]# chcon -R -h unconfined_u:object_r:httpd_sys_content_t global_solutions/* Then I surfed to http://209.216.9.56/global_solutions/index.py [r...@13gems angrynates.com]# tail /var/log/messages Nov 8 04:26:02 13gems syslogd 1.4.1: restart. [r...@13gems angrynates.com]#

Serious Privileges Problem: Please Help

2009-11-07 Thread Victor Subervi
I have a serious privileges problem that is making it impossible to serve python pages on a CentOS server. It appears that nobody on the CentOS discussion list has a solution to this problem. I'm desperate and hoping someone on this list can help. [Fri Nov 06 11:50:40 2009] [error] [client

Re: Serious Privileges Problem: Please Help

2009-11-07 Thread Rami Chowdhury
On Saturday 07 November 2009 06:13:11 Victor Subervi wrote: I have a serious privileges problem that is making it impossible to serve python pages on a CentOS server. It appears that nobody on the CentOS discussion list has a solution to this problem. I'm desperate and hoping someone on this

Re: Serious Privileges Problem: Please Help

2009-11-07 Thread Victor Subervi
httpd.conf: VirtualHost *:80 ServerAdmin m...@creative.vi DocumentRoot /var/www/html/angrynates.com ServerName angrynates.com Options +ExecCGI -IncludesNoExec Directory /var/www/html/angrynates.com/global_solutions/* Options +ExecCGI AllowOverride Options AllowOverride FileInfo #AddHandler

Re: Serious Privileges Problem: Please Help

2009-11-07 Thread Rami Chowdhury
On Saturday 07 November 2009 13:51:06 Victor Subervi wrote: httpd.conf: VirtualHost *:80 ServerAdmin m...@creative.vi DocumentRoot /var/www/html/angrynates.com ServerName angrynates.com Options +ExecCGI -IncludesNoExec Directory /var/www/html/angrynates.com/global_solutions/* You may