PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > apache user run limited ps command on linux ES 4.0
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

apache user run limited ps command on linux ES 4.0

Réponse
 
LinkBack Outils de la discussion
Vieux 14/05/2006, 08h59   #1
avivi.ori@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apache user run limited ps command on linux ES 4.0


  Réponse avec citation
Vieux 14/05/2006, 12h27   #2
Roy Schestowitz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

__/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 07:59 \__

> Hi all,
>
> I have a perl cgi that works fine on RH linux 7.2 with httpd 2.0.46
> One of the things it do is running the ps -ef command for system
> monitoring.
>
> When i moved that script to RH ES 4.0 with httpd 2.0.52
> The apache user is running a limited ps -ef command.
> It only showes the apache ps command itself.
>
> couldent figure out why.
> Any ideas?
>
> Thanks In Advane,
> Ori


It is possible that this option is not supported on the new Linux
distribution. I suggest that you run:

,----[ Command ]
| man ps
`----

See if -ef is listed among the options. If not, use the existing option to
achieve what you are after. Different variants of ps seem to exist, so your
mileage may vary. You can install something that is similar to what you used
to have.

Hope it s,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com | GNU/Linux ¦ PGP-Key: 0x74572E8E
11:25am up 16 days 18:22, 12 users, load average: 0.16, 0.38, 0.58
  Réponse avec citation
Vieux 14/05/2006, 12h27   #3
Roy Schestowitz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

__/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 07:59 \__

> Hi all,
>
> I have a perl cgi that works fine on RH linux 7.2 with httpd 2.0.46
> One of the things it do is running the ps -ef command for system
> monitoring.
>
> When i moved that script to RH ES 4.0 with httpd 2.0.52
> The apache user is running a limited ps -ef command.
> It only showes the apache ps command itself.
>
> couldent figure out why.
> Any ideas?
>
> Thanks In Advane,
> Ori


It is possible that this option is not supported on the new Linux
distribution. I suggest that you run:

,----[ Command ]
| man ps
`----

See if -ef is listed among the options. If not, use the existing option to
achieve what you are after. Different variants of ps seem to exist, so your
mileage may vary. You can install something that is similar to what you used
to have.

Hope it s,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com | GNU/Linux ¦ PGP-Key: 0x74572E8E
11:25am up 16 days 18:22, 12 users, load average: 0.16, 0.38, 0.58
  Réponse avec citation
Vieux 14/05/2006, 12h37   #4
avivi.ori@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

Hi Roy,
The -ef option is avilable. i can use it from prompt.

Thanks,
Ori

  Réponse avec citation
Vieux 14/05/2006, 15h06   #5
avivi.ori@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

Well, in the end it was SELinux

Thanks

  Réponse avec citation
Vieux 14/05/2006, 15h06   #6
avivi.ori@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

Well, in the end it was SELinux

Thanks

  Réponse avec citation
Vieux 15/05/2006, 12h34   #7
Roy Schestowitz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

__/ [ Roy Schestowitz ] on Sunday 14 May 2006 11:27 \__

> __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 07:59 \__
>
>> <snip />
>> I have a perl cgi that works fine on RH linux 7.2 with httpd 2.0.46
>> One of the things it do is running the ps -ef command for system
>> monitoring.
>>
>> When i moved that script to RH ES 4.0 with httpd 2.0.52
>> The apache user is running a limited ps -ef command.
>> It only showes the apache ps command itself.
>>
>> <snip />

>
> It is possible that this option is not supported on the new Linux
> distribution. I suggest that you run:
>
> ,----[ Command ]
> | man ps
> `----
>
> See if -ef is listed among the options. If not, use the existing option to
> achieve what you are after. Different variants of ps seem to exist, so your
> mileage may vary. You can install something that is similar to what you
> used to have.


__/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 11:37 \__

> <snip />
> The -ef option is avilable. i can use it from prompt.
> <snip />


__/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 14:06 \__

> Well, in the end it was SELinux
> <snip />


So I'm assuming it resolved...? Care to elaborate on how this was rectified?

Roy

PS: Please see http://www.safalra.com/special/googlegroupsreply/
  Réponse avec citation
Vieux 15/05/2006, 13h11   #8
avivi.ori@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

If i turn SElinux off then apache user is allowed to run ps -ef ( or
other cmd )
The problem is that now the system is less secure.
Im looking for somthing that will not indanger the system and still
let me use ps command.

Im trying to limit some options in the SELinux suit and see what will
work.

Thanks,
Ori



Roy Schestowitz wrote:
> __/ [ Roy Schestowitz ] on Sunday 14 May 2006 11:27 \__
>
> > __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 07:59 \__
> >
> >> <snip />
> >> I have a perl cgi that works fine on RH linux 7.2 with httpd 2.0.46
> >> One of the things it do is running the ps -ef command for system
> >> monitoring.
> >>
> >> When i moved that script to RH ES 4.0 with httpd 2.0.52
> >> The apache user is running a limited ps -ef command.
> >> It only showes the apache ps command itself.
> >>
> >> <snip />

> >
> > It is possible that this option is not supported on the new Linux
> > distribution. I suggest that you run:
> >
> > ,----[ Command ]
> > | man ps
> > `----
> >
> > See if -ef is listed among the options. If not, use the existing option to
> > achieve what you are after. Different variants of ps seem to exist, so your
> > mileage may vary. You can install something that is similar to what you
> > used to have.

>
> __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 11:37 \__
>
> > <snip />
> > The -ef option is avilable. i can use it from prompt.
> > <snip />

>
> __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 14:06 \__
>
> > Well, in the end it was SELinux
> > <snip />

>
> So I'm assuming it resolved...? Care to elaborate on how this was rectified?
>
> Roy
>
> PS: Please see http://www.safalra.com/special/googlegroupsreply/


  Réponse avec citation
Vieux 15/05/2006, 13h11   #9
avivi.ori@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache user run limited ps command on linux ES 4.0

If i turn SElinux off then apache user is allowed to run ps -ef ( or
other cmd )
The problem is that now the system is less secure.
Im looking for somthing that will not indanger the system and still
let me use ps command.

Im trying to limit some options in the SELinux suit and see what will
work.

Thanks,
Ori



Roy Schestowitz wrote:
> __/ [ Roy Schestowitz ] on Sunday 14 May 2006 11:27 \__
>
> > __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 07:59 \__
> >
> >> <snip />
> >> I have a perl cgi that works fine on RH linux 7.2 with httpd 2.0.46
> >> One of the things it do is running the ps -ef command for system
> >> monitoring.
> >>
> >> When i moved that script to RH ES 4.0 with httpd 2.0.52
> >> The apache user is running a limited ps -ef command.
> >> It only showes the apache ps command itself.
> >>
> >> <snip />

> >
> > It is possible that this option is not supported on the new Linux
> > distribution. I suggest that you run:
> >
> > ,----[ Command ]
> > | man ps
> > `----
> >
> > See if -ef is listed among the options. If not, use the existing option to
> > achieve what you are after. Different variants of ps seem to exist, so your
> > mileage may vary. You can install something that is similar to what you
> > used to have.

>
> __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 11:37 \__
>
> > <snip />
> > The -ef option is avilable. i can use it from prompt.
> > <snip />

>
> __/ [ avivi.ori@gmail.com ] on Sunday 14 May 2006 14:06 \__
>
> > Well, in the end it was SELinux
> > <snip />

>
> So I'm assuming it resolved...? Care to elaborate on how this was rectified?
>
> Roy
>
> PS: Please see http://www.safalra.com/special/googlegroupsreply/


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h14.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14378 seconds with 17 queries