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 wrote: On Mon, Nov 9, 2009 at 2:27 PM, Rami Chowdhury wrote: Hold everything. Apparently line-endings got mangled. What I don't ... What I've diagnosed as happening when a python script with Windows li

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-09 Thread Dave Angel
Victor Subervi wrote: On Mon, Nov 9, 2009 at 2:30 PM, Victor Subervi wrote: On Mon, Nov 9, 2009 at 2:27 PM, Rami Chowdhury wrote: Hold everything. Apparently line-endings got mangled. What I don't understand is why I didn't see them when I opened the file to edit, and why th

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Victor Subervi
On Mon, Nov 9, 2009 at 2:30 PM, Victor Subervi wrote: > > On Mon, Nov 9, 2009 at 2:27 PM, Rami Chowdhury > wrote: > >> 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 >> >wrote: >>> >>> On Mon, 09 Nov 2

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Rami Chowdhury
On Mon, 09 Nov 2009 11:24:33 -0800, Victor Subervi wrote: On Mon, Nov 9, 2009 at 1:53 PM, Rami Chowdhury wrote: 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: Se

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Victor Subervi
On Mon, Nov 9, 2009 at 1:53 PM, Rami Chowdhury wrote: > 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: >> >> >> ServerAdmin m...@creative.vi >> DocumentRoot /var/www/

Re: Serious Privileges Problem: Please Help

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

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: ServerAdmin m...@creative.vi DocumentRoot /var/www/html/angrynates.com ServerName angrynates.com Options +ExecCGI -IncludesNoExec Options +ExecCGI AllowOverride All AllowOverride FileInfo #AddHandler mod_pytho

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Rami Chowdhury
On Mon, 09 Nov 2009 09:44:24 -0800, Victor Subervi wrote: Did you give up on me? V On Sun, Nov 8, 2009 at 12:40 PM, Victor Subervi wrote: [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_s

Re: Serious Privileges Problem: Please Help

2009-11-09 Thread Simon Forman
On Mon, Nov 9, 2009 at 12:44 PM, Victor Subervi 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 Victor Subervi
Did you give up on me? V On Sun, Nov 8, 2009 at 12:40 PM, Victor Subervi wrote: > [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 /v

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]# t

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 unconfined_u:object_r:http

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 chc

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, [r...@13g

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: > > > ServerAdmin m...@creative.vi > DocumentRoot /var/www/html/angrynates.com > ServerName angrynates.com > Options +ExecCGI -IncludesNoExec > You may want to change this to: If you want regular expression syn

Re: Serious Privileges Problem: Please Help

2009-11-07 Thread Victor Subervi
httpd.conf: ServerAdmin m...@creative.vi DocumentRoot /var/www/html/angrynates.com ServerName angrynates.com Options +ExecCGI -IncludesNoExec Options +ExecCGI AllowOverride Options AllowOverride FileInfo #AddHandler mod_python .py #PythonHandler mod_python.publisher #PythonDebug On #l

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 thi