Comments (1)
The purpose of this test it to ensure that pwauth was invoked by Apache, not by
some other program, so it checks the REAL uid to see if it is whatever Apache
is configured to run under, and refuses to run if invoked by any other user.
This is not really an incredibly important security feature, but it's one more
layer of paranoia in a program that takes paranoia seriously.
Checking the EFFECTIVE uid instead disables this check completely. Pwauth's
effective uid is always root, so the check will never fail. If you want to
disable this check you can do so more cleanly by undefining SERVER_UIDS in
config.h.
Original comment by [email protected]
on 5 Oct 2011 at 3:42
- Changed state: Invalid
from pwauth.
Related Issues (8)
- LOCK_EX not available on solaris HOT 2
- Undefined symbol: .flock in AIX HOT 4
- MAX_FAIL_COUNT not working with FAILLOG_PWAUTH (and maybe with FAILLOG_OPENBSD) HOT 1
- not accepting username with @
- pwauth segfault when it uses pam_smbpass and pam_winbind modules
- lack into auth_pam.c for mac OS X leopard (pwauth-2.3.11)
- Linking should be done with $(LDFLAGS)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwauth.