[horde] Users

Eric Jon Rostetter eric.rostetter at physics.utexas.edu
Mon Sep 15 21:28:58 UTC 2008


Quoting horde at corwyn.net:

>
> OK, (running on a test machine - I'm not that crazy)  in order to  
> narrow down the issue I have issued per yuor suggestion:
> chmod 777 /etc/passwd
> chmod 777 /etc/shadow
> (yeah, terrible for production, I really do know).

Yeah, kind of defeats the purpose of a shadow file :)

> and it still doesn't work.
> I've set
> $conf[auth][driver] to Password file Authentication
> and
> $conf[auth][params][filename] to /etc/shadow (and/or /etc/passwd)
> and
> $conf[auth][params][encryption]  to crypt or crypt md5

"password file" doesn't support shadow files, AFAIK.  But PAM might
work for you in this case, and be easier to do and maintain.

> and I can't log in. When in admin mode on a system already logged  
> in, if I select Administration > Users
> I get
> A fatal error has occurred
> Couldn't open '/etc/passwd'.  (or /etc/shadow)

Could be php in safe mode, or apache is chrooted, or mod_security is
running?  Check your web server logs and system logs for errors, etc.

> It _should_ have permission to open those files (everyone really).
>
> What am I missing?

I'd start looking at the logs, as it could be many things (like the ideas
above for starters).

> Rick


-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

This message is provided "AS IS" without warranty of any kind,
either expressed or implied.  Use this message at your own risk.


More information about the horde mailing list