Re: Bug#134774: slapd: fails to install
On Thu, Feb 21, 2002 at 04:49:05PM -0600, Steve Langasek wrote:
> Hello Nils,
>
> On Thu, Feb 21, 2002 at 07:57:09PM +0100, Nils Rennebarth wrote:
> > On Thu, Feb 21, 2002 at 07:20:18PM +0100, Wichert Akkerman wrote:
> > > The problem is this: when creating a new directory slapd asks
> > > for the admin password and creates a admin entry with that
> > > password. However when running non-interactively we can not
> > > ask for a password so the config script aborts.
> > >
> > > Does anyone have any opinions on what to do? I'm tempted to implement
> > > the third option.
> > I did a similar thing for horde2 when creating a database user and password.
> > The password is generated randomly if the user doesn't supply one.
>
> > BTW: This is the script I use, are there comments available from security
> > experts? Does anybody know a version that uses sh only and does not rely on
> > perl?
>
> How much this really matters for a password that you're
> going to email to the admin... <shrug> :)
Mailing the password in cleartext would be bad, mail to root does not
have to be locally delivered. Put it in a file someplace.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ | Dept. of Computing,
`. `' | Imperial College,
`- -><- | London, UK
Reply to: