- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: Linking unix users and php users
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
12-27-2010 07:39 AM
12-27-2010 07:39 AM
Linking unix users and php users
I got php script where can create users and give password and allow them to acess files(through web).
Here I use .htusers.php file for user authorization,
I want to link unix local user to this users(which are under ./htusers.php)so that i will not face any permission issue.
Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-27-2010 01:01 PM
12-27-2010 01:01 PM
Re: Linking unix users and php users
http://www.google.com/search?q=apache+php+use+passwd+authentication
hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-27-2010 07:58 PM
12-27-2010 07:58 PM
Re: Linking unix users and php users
Its apache web server.
Chadra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-27-2010 11:57 PM
12-27-2010 11:57 PM
Re: Linking unix users and php users
there are several authentication schemes and modules available for Apache.
One that seems viable to me would be to authenicate your web users against an LDAP directory to which end there exists mod_auth_ldap
http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html
Of course, the easiest and probably most common form for websites with a moderate user base would be to simply use mod_auth with AuthType Basic against an AuthUserFile.
http://httpd.apache.org/docs/2.0/mod/mod_auth.html
But then you would have to keep this file somehow in sync with your system's passwd and group files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-28-2010 12:19 AM
12-28-2010 12:19 AM
Re: Linking unix users and php users
This is where i am looking for,
if i create user using httpasswd how unix file permission will be maintained??
Chandra
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP