Apache pam module

This is a discussion on Apache pam module within the Apache forums in Application Servers & Tools category; I'm using Apache2.2 and I found a pam auth module, now I want and start using this module under usermode, but apparently this is impossible, I've tried everything I could think of chmod'ed the master.passwd, master.passwd.db file to 640/660 added www to wheel group, chgrp the file to the www group nothing worked, pam only works under root user. I've tried pam module of perl/php5/Apache neither work. # su -m www -c ./pam.pl false # su -m root -c ./pam.pl true # I want to run apache under www user (usermode) and still, be able to use PAM, Any suggestions? ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-26-2007, 10:17 AM
Ofloo
Guest
 
Default Apache pam module


I'm using Apache2.2 and I found a pam auth module, now I want and start using
this module under usermode, but apparently this is impossible, I've tried
everything I could think of chmod'ed the master.passwd, master.passwd.db
file to 640/660 added www to wheel group, chgrp the file to the www group
nothing worked, pam only works under root user.

I've tried pam module of perl/php5/Apache neither work.

# su -m www -c ./pam.pl
false
# su -m root -c ./pam.pl
true
#

I want to run apache under www user (usermode) and still, be able to use
PAM, Any suggestions?

Regards Ofloo

--
View this message in context: http://www.nabble.com/Apache-pam-mod....html#a9674142
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Reply With Quote
  #2  
Old 04-04-2007, 07:31 AM
Manuela.Vorazzo@ssb.it
Guest
 
Default apache threads

Is there a way (a command!) to display apache threads while it is running.
I'd like to know how many threads are only for SSL connections?
I've no MaxThreads directive in my httpd.conf and neither in my ssl.conf.
So I think the default is 2048 but....this means 1024 threads for
connections on port 80 and 1024 threads for connection on port 443.

I'm a problem in these days with apache I've some pages with a lot of
images.
When my system is busy very for a lot of workload we have notice that the
number of seconds for serving an images in https is very high and the
server become very slow while we have no the same problem in http.

I'm thinking about a misconfiguration in my ssl.conf. I've crypto hardware
accelerator.................

Please let me know

Thanks in advance

manuciao




*******************Internet Email Confidentiality
Footer*******************
Qualsiasi utilizzo non autorizzato del presente messaggio nonché dei suoi
allegati è vietato e potrebbe costituire reato. Se ha ricevuto per errore
il presente messaggio, Le saremmo grati se ci inviasse, via e-mail, una
comunicazione al riguardo e provvedesse nel contempo alla distruzione del
messaggio stesso e dei suoi eventuali allegati. Le dichiarazioni contenute
nel presente messaggio nonche' nei suoi eventuali allegati devono essere
attribuite al mittente e non possono essere necessariamente considerate
come autorizzate da SSB S.p.A.; le medesime dichiarazioni non impegnano
SSB S.p.A. nei confronti del destinatario o di terzi. SSB S.p.A. non si
assume alcuna responsabilita' per eventuali intercettazioni, modifiche o
danneggiamenti del presente messaggio e-mail.
Any unauthorized use of this e-mail or any of its attachments is
prohibited and could constitute an offence. If you are not the intended
addressee please advise immediately the sender by using the reply facility
in your e-mail software and destroy the message and its attachments. The
statements and opinions expressed in this e-mail message are those of the
author of the message and do not necessarily represent those of SSB S.p.A.
Besides, The contents of this message shall be understood as neither given
nor endorsed by SSB S.p.A.. SSB S.p.A. does not accept liability for
corruption, interception or amendment, if any, or the consequences
thereof.

Reply With Quote
  #3  
Old 04-04-2007, 09:48 AM
Joshua Slive
Guest
 
Default Re: apache threads

On 4/4/07, Manuela.Vorazzo@ssb.it <Manuela.Vorazzo@ssb.it> wrote:
>
> Is there a way (a command!) to display apache threads while it is running.
> I'd like to know how many threads are only for SSL connections?
> I've no MaxThreads directive in my httpd.conf and neither in my ssl.conf.
> So I think the default is 2048 but....this means 1024 threads for
> connections on port 80 and 1024 threads for connection on port 443.
>
> I'm a problem in these days with apache I've some pages with a lot of
> images.
> When my system is busy very for a lot of workload we have notice that the
> number of seconds for serving an images in https is very high and the server
> become very slow while we have no the same problem in http.
>
> I'm thinking about a misconfiguration in my ssl.conf. I've crypto hardware
> accelerator.................


Not being an SSL expert, my first guess would be insufficient random entropy.

To answer your direct question, you can view all current threads using
the server-status handler provided by mod_status.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Reply With Quote
  #4  
Old 04-06-2007, 08:35 AM
Matus UHLAR - fantomas
Guest
 
Default Re: apache threads

> On 4/4/07, Manuela.Vorazzo@ssb.it <Manuela.Vorazzo@ssb.it> wrote:
> >Is there a way (a command!) to display apache threads while it is running.
> >I'd like to know how many threads are only for SSL connections?
> >I've no MaxThreads directive in my httpd.conf and neither in my ssl.conf.
> >So I think the default is 2048 but....this means 1024 threads for
> >connections on port 80 and 1024 threads for connection on port 443.
> >
> >I'm a problem in these days with apache I've some pages with a lot of
> >images.
> >When my system is busy very for a lot of workload we have notice that the
> >number of seconds for serving an images in https is very high and the
> >server
> >become very slow while we have no the same problem in http.
> >
> >I'm thinking about a misconfiguration in my ssl.conf. I've crypto hardware
> >accelerator.................


On 04.04.07 09:48, Joshua Slive wrote:
> Not being an SSL expert, my first guess would be insufficient random
> entropy.


which means using /dev/urandom for reaqding of entropy, or installing kernel
modules for HW entropy generators (if you have any on the board) could help
much.

--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Support bacteria - they're the only culture some people have.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:03 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.