Hi,
we are suffering the same problem. The serctl script was originally written for Linux and is a little incompatible with other systems. Even if you change the shell from sh to bash there are still some utilities like "tail" which has a diffirent syntax than from Linux.
I am porting this script to solaris for our systems where no bash is available. If this is also useful for you I can send you later.
Regards
Yang
On Apr 02, 2003 at 08:26, Steve Blair blairs@isc.upenn.edu wrote:
Hello:
I'm just getting started with my implementation of SER on FreeBSD 4.7-RELEASE. I've read the documentation, installed Apache and mySQL and would like to add users for my domain.
I've tried adding an administrative user using serctl however this script fails for reason I cannot explain. Here is what I did:
serctl add user1 password1 email1@mydomain.com read: Illegal option -s
read: Illegal option -s
Try changing the first line of the script form #!/bin/sh to #!/bin/bash (the read in sh does not support the -s option). BTW: this is fixed on CVS for the new version (but don't try the CVS code until next week, we're commiting a lot of changes right now).
Andrei