Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46645 > unrolled thread
| Started by | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| First post | 2013-05-31 22:30 -0700 |
| Last post | 2013-06-04 14:58 +0300 |
| Articles | 6 on this page of 126 — 21 participants |
Back to article view | Back to comp.lang.python
Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-05-31 22:30 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-01 15:38 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-01 00:49 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-01 17:56 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-01 01:31 -0700
Re: Apache and suexec issue that wont let me run my python script Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2013-06-01 11:03 +0200
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-01 02:19 -0700
Re: Apache and suexec issue that wont let me run my python script Paul Kölle <paul@subsignal.org> - 2013-06-02 13:51 +0200
Re: Apache and suexec issue that wont let me run my python script Anssi Saari <as@sci.fi> - 2013-06-03 18:20 +0300
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 01:13 +0300
Re: Apache and suexec issue that wont let me run my python script Michael Torrie <torriem@gmail.com> - 2013-06-03 17:23 -0600
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 02:33 +0300
Re: Apache and suexec issue that wont let me run my python script Michael Torrie <torriem@gmail.com> - 2013-06-03 22:45 -0600
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-04 17:51 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 03:12 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 03:17 -0700
Re: Apache and suexec issue that wont let me run my python script Benjamin Schollnick <benjamin@schollnick.net> - 2013-06-04 06:21 -0400
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 03:56 -0700
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 14:04 +0300
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 04:09 -0700
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 14:27 +0300
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 04:36 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 04:38 -0700
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 14:42 +0300
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 04:48 -0700
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 15:11 +0300
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 05:54 -0700
Re: Apache and suexec issue that wont let me run my python script Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-04 20:41 -0400
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 05:57 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-04 23:10 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 06:17 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 00:33 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 07:40 -0700
Re: Apache and suexec issue that wont let me run my python script Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-04 15:49 +0100
Re: Apache and suexec issue that wont let me run my python script Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-04 17:06 +0200
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 01:11 +1000
Re: Apache and suexec issue that wont let me run my python script Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-04 11:29 -0400
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 10:02 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 03:09 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 10:12 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 08:12 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 20:55 -0700
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-04 21:34 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 21:40 -0700
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-04 21:59 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 22:11 -0700
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-04 22:23 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 22:58 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 17:01 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 21:35 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 18:09 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 01:26 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 18:41 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 01:53 -0700
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-05 01:58 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 19:05 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:14 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 19:27 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:32 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 19:41 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:46 -0700
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-05 02:49 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 03:32 -0700
Re: Apache and suexec issue that wont let me run my python script Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-05 14:23 +0100
Re: Apache and suexec issue that wont let me run my python script Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-06 03:57 +0000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 21:08 -0700
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 11:04 +0200
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:19 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 19:31 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:37 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 19:48 +1000
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-05 02:52 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 20:12 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 03:30 -0700
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 12:37 +0200
Re: Apache and suexec issue that wont let me run my python script Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-06-05 12:39 +0200
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 04:07 -0700
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-05 04:11 -0700
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 13:14 +0200
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 04:19 -0700
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 13:37 +0200
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 02:33 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 10:02 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 03:16 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 10:29 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 03:47 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 11:08 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 04:16 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 11:22 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 11:34 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 04:46 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 11:53 -0700
Re: Apache and suexec issue that wont let me run my python script Zero Piraeus <schesis@gmail.com> - 2013-06-05 14:52 -0400
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 11:58 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 05:13 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 12:18 -0700
Re: Apache and suexec issue that wont let me run my python script rusi <rustompmody@gmail.com> - 2013-06-05 11:55 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 12:03 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 05:03 +1000
Re: Apache and suexec issue that wont let me run my python script Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 15:29 -0400
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 04:37 +1000
Re: Apache and suexec issue that wont let me run my python script Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-05 19:19 -0400
Re: Apache and suexec issue that wont let me run my python script rurpy@yahoo.com - 2013-06-05 17:57 -0700
Re: Apache and suexec issue that wont let me run my python script Tim Chase <python.list@tim.thechases.com> - 2013-06-05 21:02 -0500
Re: Apache and suexec issue that wont let me run my python script rurpy@yahoo.com - 2013-06-06 11:03 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 02:24 +1000
Re: Apache and suexec issue that wont let me run my python script Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 12:35 -0400
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 10:07 -0700
Re: Apache and suexec issue that wont let me run my python script Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-05 14:25 +0100
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-05 19:19 +1000
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 11:29 +0200
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:33 -0700
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 11:55 +0200
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 03:21 -0700
Re: Apache and suexec issue that wont let me run my python script Heiko Wundram <modelnine@modelnine.org> - 2013-06-05 12:33 +0200
Re: Apache and suexec issue that wont let me run my python script alex23 <wuwei23@gmail.com> - 2013-06-05 01:59 -0700
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 02:06 -0700
Re: Apache and suexec issue that wont let me run my python script Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-05 14:16 +0100
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 07:35 -0700
Re: Apache and suexec issue that wont let me run my python script Serhiy Storchaka <storchaka@gmail.com> - 2013-06-05 17:46 +0300
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 07:56 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 02:37 +1000
Re: Apache and suexec issue that wont let me run my python script Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 10:05 -0700
Re: Apache and suexec issue that wont let me run my python script Chris Angelico <rosuav@gmail.com> - 2013-06-06 03:19 +1000
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 16:13 +0300
RE: Apache and suexec issue that wont let me run my python script Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 14:58 +0300
Page 7 of 7 — ← Prev page 1 2 3 4 5 6 [7]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-05 07:56 -0700 |
| Message-ID | <87951bdb-5e41-4e32-8912-ae82c9b035d3@googlegroups.com> |
| In reply to | #47082 |
Τη Τετάρτη, 5 Ιουνίου 2013 5:46:57 μ.μ. UTC+3, ο χρήστης Serhiy Storchaka έγραψε: > 05.06.13 11:09, Chris Angelico написав(ла): > > > Oh, and I changed the root password, since the current one was sent in > > > clear text across the internet. Nikos, the new password has been > > > stored in /home/nikos/new_password - you should be able to access that > > > using your non-root login. I recommend you change it immediately. > > > > What are permission modes of /home/nikos and /home/nikos/new_password? nikos@superhost.gr [~/www]# pwd /home/nikos/www nikos@superhost.gr [~/www]# ls -ld ../ drwx--x--x 24 nikos nikos 4096 Jun 5 11:28 ..// nikos@superhost.gr [~/www]#
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-06-06 02:37 +1000 |
| Message-ID | <mailman.2745.1370450274.3114.python-list@python.org> |
| In reply to | #47002 |
On Thu, Jun 6, 2013 at 12:46 AM, Serhiy Storchaka <storchaka@gmail.com> wrote: > 05.06.13 11:09, Chris Angelico написав(ла): >> >> Oh, and I changed the root password, since the current one was sent in >> clear text across the internet. Nikos, the new password has been >> stored in /home/nikos/new_password - you should be able to access that >> using your non-root login. I recommend you change it immediately. > > > What are permission modes of /home/nikos and /home/nikos/new_password? I didn't actually fiddle with that, but you're right, I ought to have ensured that the password file was mode 600. However, I don't think it would have made a lot of difference; mainly I was wanting to guard against randoms on the internet, not actual legit users of his system (and even they may well not have shell access). ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-05 10:05 -0700 |
| Message-ID | <4e6be3f5-8840-49b7-8385-e9ad9a14b50e@googlegroups.com> |
| In reply to | #47109 |
Τη Τετάρτη, 5 Ιουνίου 2013 7:37:47 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε: > On Thu, Jun 6, 2013 at 12:46 AM, Serhiy Storchaka <storchaka@gmail.com> wrote: > > > 05.06.13 11:09, Chris Angelico написав(ла): > > >> > > >> Oh, and I changed the root password, since the current one was sent in > > >> clear text across the internet. Nikos, the new password has been > > >> stored in /home/nikos/new_password - you should be able to access that > > >> using your non-root login. I recommend you change it immediately. > > > > > > > > > What are permission modes of /home/nikos and /home/nikos/new_password? > > > > I didn't actually fiddle with that, but you're right, I ought to have > > ensured that the password file was mode 600. However, I don't think it > > would have made a lot of difference; mainly I was wanting to guard > > against randoms on the internet, not actual legit users of his system > > (and even they may well not have shell access). I grant shell access to very new account i create but some of my customers dont evn know the existance of linux, and the other that do, have no idea of what a shell access is. But i grant them the ability just in cae for future usage. Most of them are doign the work via cPanel tools.
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-06-06 03:19 +1000 |
| Message-ID | <mailman.2749.1370452753.3114.python-list@python.org> |
| In reply to | #47114 |
On Thu, Jun 6, 2013 at 3:05 AM, Νικόλαος Κούρας <nikos.gr33k@gmail.com> wrote: > I grant shell access to very new account i create but some of my customers dont evn know the existance of linux, and the other that do, have no idea of what a shell access is. But i grant them the ability just in cae for future usage. > > Most of them are doign the work via cPanel tools. I would strongly recommend NOT giving shell access, then. The chances are low that they'll ever need it, and you improve your security significantly by closing it off. On Thu, Jun 6, 2013 at 3:07 AM, Νικόλαος Κούρας <nikos.gr33k@gmail.com> wrote: > Τη Τετάρτη, 5 Ιουνίου 2013 7:35:48 μ.μ. UTC+3, ο χρήστης Joel Goldstick έγραψε: > >>To solve the OPs problems once and for all, I believe we need to know his >social security number and his mother's maiden name. (Yes, i know SSN is for US >but... ) > > Even if i gibe you that info, what can you possibly expect to happen? > Gain access to my Gmail account because you stuck in its security question? What about: gain access to your bank account the same way? How would you feel about random people on the internet having the ability to transfer money on your behalf? ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
|---|---|
| Date | 2013-06-04 16:13 +0300 |
| Message-ID | <mailman.2646.1370351605.3114.python-list@python.org> |
| In reply to | #46892 |
[Multipart message — attachments visible in raw view] — view raw
> Date: Tue, 4 Jun 2013 05:57:54 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr33k@gmail.com > To: python-list@python.org > > root@nikos [~]# nano /usr/local/apache/conf/httpd.conf > > and altering user nobody to user root. > > root@nikos [~]# service httpd restart > [Tue Jun 04 15:56:42 2013] [warn] module rpaf_module is already loaded, skipping > Syntax error on line 175 of /usr/local/apache/conf/httpd.conf: > Error:\tApache has not been designed to serve pages while\n\trunning as root. There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n > root@nikos [~]# > > What can i do? You don't need to run httpd as root. In fact it's risky. You can use another user with less privileges to run it like nobody or something else you see fit. I don't think the suggestion to rebuild the server is good, but I don't know how cPanel works so it's just a guess.
[toc] | [prev] | [next] | [standalone]
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
|---|---|
| Date | 2013-06-04 14:58 +0300 |
| Message-ID | <mailman.2639.1370347111.3114.python-list@python.org> |
| In reply to | #46876 |
[Multipart message — attachments visible in raw view] — view raw
> Date: Tue, 4 Jun 2013 04:36:06 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr33k@gmail.com > To: python-list@python.org > > Τη Τρίτη, 4 Ιουνίου 2013 2:27:25 μ.μ. UTC+3, ο χρήστης Carlos Nepomuceno έγραψε: > > The httpd processes are run by user 'nobody'. You have to change your httpd.conf to assign the correct user or change the owner of the log file to nobody. > > > > On httpd.conf look for the following directives: > > User root > > Group root > > Why some httpd run as root(first two) and the rest as nobody? The root processes are run by init during startup. The nobody processes are started by the first httpd processes based on httpd.conf settings. > What is user 'nobody' anyways? Just a user with no shell access. > root@nikos [/home/nikos/www/data/apps]# nano /usr/local/apache/conf/httpd.conf > root@nikos [/home/nikos/www/data/apps]# cat /usr/local/apache/conf/httpd.conf | grep 'User root' > root@nikos [/home/nikos/www/data/apps]# cat /usr/local/apache/conf/httpd.conf | grep 'user root' > root@nikos [/home/nikos/www/data/apps]# cat /usr/local/apache/conf/httpd.conf | grep 'group root' > root@nikos [/home/nikos/www/data/apps]# cat /usr/local/apache/conf/httpd.conf | grep 'Group root' > > Doesn't seem to be there. You have to edit httpd.conf and change the User and Group directives. They currently are set to nobody, so you have to look for ' User nobody' and ' Group nobody'. Take care while editing httpd.conf. Make a backup copy just in case. ;)
[toc] | [prev] | [standalone]
Page 7 of 7 — ← Prev page 1 2 3 4 5 6 [7]
Back to top | Article view | comp.lang.python
csiph-web