"Andrea Cerrito" <[EMAIL PROTECTED]> writes:

> What is the problem with
> 
> #!/bin/sh
> pdbtool <<EOF
> first command
> second command
> third command
> ...
> n command
> EOF

Well, 
if I got it right it won't allow me 
to set the password. Sure, everything else can 
be automatized.

For passwords you need the command "au",
which asks for passwords. 

Maybe you get away with initpw.
The following line is adapted from
/usr/local/sbin/vice-setup-user:

        echo    "<ViceId> <Clear Password> <Other user info>"|\
                initpw -k "drseuss   "   \
                >>/vice/db/auth2.pw

If this works it is important to *append*
the result to >>/vice/db/auth2.pw

The password could be taken from makepasswd,
if that is installed at your site.

So long,
Steffen



Reply via email to