Coda File System

Re: R: User administration

From: Steffen Neumann <sneumann_at_TechFak.Uni-Bielefeld.DE>
Date: 15 Mar 2001 17:16:54 +0100
"Andrea Cerrito" <ml_at_centromultimediale.it> 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
Received on 2001-03-15 11:19:18