k12admin package

1999-06-17 Thread Tonnesen Steve
-BEGIN PGP SIGNED MESSAGE- I'm working on a package for k12admin (http://k12admin.cmsd.bc.ca/). This package depends on ssh. Does that mean it has to go in contrib? Are there any DFSG-compliant alternatives to ssh? I only need it as a secure transport agent for rsync. Another questio

Creating a user account in passwd

1999-05-03 Thread Tonnesen Steve
Is there a policy regarding creating user accounts in installation scripts? Is there a standard way to do it? I'm creating a package for account and server administration for k-12 school systems. I want an account that I can use for unattended ssh connections to transfer information back and fo

Depends vs. Pre-Depends

1999-05-02 Thread Tonnesen Steve
I am developing a package which uses a Mysql database. I would like to create the database and populate it with some data during the postinst script. If I add the following Dependencies: Depends: mysql-server Depends: libdbd-mysql-perl Depends: libdbi-perl Can I be certain that Mysql and DBD/D

Scratch mysql question

1999-05-01 Thread Tonnesen Steve
I figured out my problem. I was using: echo "sql query" > mysql dbname -p when I should have been doing: mysql dbname -p --exec="sql query" This works fine now. Aren't manpages wonderful? :) Steve.

Creating a mysql database in a postinst script

1999-05-01 Thread Tonnesen Steve
Are there any examples of creating a mysql database in a postinst script anywhere? I'm having troubles with entering the password for: mysqladmin create dbname -p Any ideas for how I should handle this? I'm attempting to package an account administration system that I developed for K-12 school