HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache-HPUX PAM authentication problem
Operating System - HP-UX
1826975
Members
3163
Online
109705
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 02:26 AM
02-12-2007 02:26 AM
Apache-HPUX PAM authentication problem
Dear All,
We are trying to setup a webserver with a username/password protected area on it which allows
only localy known users to log in. The users that are allowed to log in on the protected area
of the webserver are the users that exist in /etc/passwd. The system is trusted so all password related
information for these users is stored in the /tcb directory structure.
To test the protected area of the webserver we have setup apache to work with a local htpasswd file using the following
statements in apache's httpd.conf configuration file :
Alias /protected "/data/protected/www"
AuthName "Protected Area"
AuthType Basic
AuthUserFile /data/protected/etc/htpasswd
require valid-user
We have created a testuser in the /data/protected/etc/htpasswd and given the testuser account a password.
When we access the webserver using the http://XXXXXX/protected url we must enter a username and password.
If we specify the testuser and it's password we are granted access to the protected area.
So far so good.
Since we do not want to administer yet another user/password list we want apache to use the local
account database /etc/passwd (/tcb) instead of using a sepperate htpasswd file.
We need a apache pam module which allows us to do this. Since we have converted to host we use as a webserver
to a trusted system the module must be able to work with bigcrypt.
System/Apache specifications :
OS :
root@XXXXXX:/->uname -a
HP-UX XXXXXXX B.11.11 U 9000/800 3464706070 unlimited-user license
Apache:
root@XXXXXX:/->/opt/hpws/apache/bin/httpd -v
Server version: Apache/2.0.54 HP-UX_Apache-based_Web_Server
Server built: Aug 16 2005 13:59:04
If more information regarding this problem is needed please let me know.
Regards,
Arjan Dronkers.
We are trying to setup a webserver with a username/password protected area on it which allows
only localy known users to log in. The users that are allowed to log in on the protected area
of the webserver are the users that exist in /etc/passwd. The system is trusted so all password related
information for these users is stored in the /tcb directory structure.
To test the protected area of the webserver we have setup apache to work with a local htpasswd file using the following
statements in apache's httpd.conf configuration file :
Alias /protected "/data/protected/www"
AuthName "Protected Area"
AuthType Basic
AuthUserFile /data/protected/etc/htpasswd
require valid-user
We have created a testuser in the /data/protected/etc/htpasswd and given the testuser account a password.
When we access the webserver using the http://XXXXXX/protected url we must enter a username and password.
If we specify the testuser and it's password we are granted access to the protected area.
So far so good.
Since we do not want to administer yet another user/password list we want apache to use the local
account database /etc/passwd (/tcb) instead of using a sepperate htpasswd file.
We need a apache pam module which allows us to do this. Since we have converted to host we use as a webserver
to a trusted system the module must be able to work with bigcrypt.
System/Apache specifications :
OS :
root@XXXXXX:/->uname -a
HP-UX XXXXXXX B.11.11 U 9000/800 3464706070 unlimited-user license
Apache:
root@XXXXXX:/->/opt/hpws/apache/bin/httpd -v
Server version: Apache/2.0.54 HP-UX_Apache-based_Web_Server
Server built: Aug 16 2005 13:59:04
If more information regarding this problem is needed please let me know.
Regards,
Arjan Dronkers.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 02:40 AM
02-12-2007 02:40 AM
Re: Apache-HPUX PAM authentication problem
I think that your problem cannot be resolved with local users, because apache won't be able to read secured information, like shadow or tcb. I suggest you to use LDAP for authentication for apache and OS.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP