I'm desperatly trying to find a way to authenticate my user from a user in linux. Actually, I want to be able to do some maintanence on my server. The files are owned by root and I want to create a page that asks for auth, then checks that auth from the "shadow" password database (which) is only viewable by root. I'm not looking to make an entire system like webmin, but that is sort of what I'm looking for. Except webmin actually runs a webserver as root on port 10000. I just want an authentication page that checks against the OS and then allows me to do what I need if successful. I'm looking for something similar to the NT/IIS Integrated Windows Authentication. Can anyone shed some light or offer a suggestion.
Thanks
John