[Users] Can I avoid password openser.cfg ?

Atle Samuelsen clona at cyberhouse.no
Thu Sep 28 11:19:25 CEST 2006


* Bogdan-Andrei Iancu <bogdan at voice-system.ro> [060928 11:11]:
> Ronald Wiplinger wrote:
> 
> >Bogdan-Andrei Iancu wrote:
> >
> >>Roland,
> >>
> >>you can not hide the passwd. What you can do is to set more restrictive access to your config file (use chmod)
> >
> >Is it possible to use include a file? and keep the passwords there?
> >If you have a problem, you would like to share the real code, but with passwords in it, it is difficulty.
> 
> the cfg file does not support an "include" directive - you can use M4 for this purpose, but  guess it will not help in your case, as the generated cfg file will contain the passwd.
> I think the only solution is to set restrictive "read" permission on the file.

What about dropping the password in the config file, and rather put them
directly in the config.h file for *ser ? (or what ever that file is
called ...)
then he wouldBnt need to have the database config in the config file
at all :)

-A





More information about the Users mailing list