Re: Migrating Bayes from DBM to SQL

2005-09-19 Thread Tom Munro Glass
I found the answer - I need to specify the user on the restore command, e.g. "sa-learn --username=someuser --restore backup.txt" Tom On Tue, 20 Sep 2005 11:15, Rick Macdougall wrote: > Tom Munro Glass wrote: > >Thanks for the reply Rick but this hasn't helped. Firstly, most of my > > users are n

Re: Migrating Bayes from DBM to SQL

2005-09-19 Thread Kenneth Porter
--On Tuesday, September 20, 2005 11:11 AM +1200 Tom Munro Glass <[EMAIL PROTECTED]> wrote: Thanks for the reply Rick but this hasn't helped. Firstly, most of my users are not allowed to login so I can't use "su". You can try "su -c". I don't think that needs a shell, as it's the syntax used

Re: Migrating Bayes from DBM to SQL

2005-09-19 Thread Rick Macdougall
Tom Munro Glass wrote: Thanks for the reply Rick but this hasn't helped. Firstly, most of my users are not allowed to login so I can't use "su". Secondly, before running step 3, I have been setting bayes_override_sql_username to the appropriate username in local.cf. Any more ideas? Hi,

Re: Migrating Bayes from DBM to SQL

2005-09-19 Thread Tom Munro Glass
Thanks for the reply Rick but this hasn't helped. Firstly, most of my users are not allowed to login so I can't use "su". Secondly, before running step 3, I have been setting bayes_override_sql_username to the appropriate username in local.cf. Any more ideas? Tom On Tue, 20 Sep 2005 10:45, Ri

Re: Migrating Bayes from DBM to SQL

2005-09-19 Thread Rick Macdougall
Tom Munro Glass wrote: README.bayes states that you should do the following for each user: 1) "sa-learn --backup > backup.txt" 2) Modify the local.cf file 3) "sa-learn --restore backup.txt" Can someone please clarify this for me. I ran step 1 for each user and ended up with separate backup.t

Migrating Bayes from DBM to SQL

2005-09-19 Thread Tom Munro Glass
README.bayes states that you should do the following for each user: 1) "sa-learn --backup > backup.txt" 2) Modify the local.cf file 3) "sa-learn --restore backup.txt" Can someone please clarify this for me. I ran step 1 for each user and ended up with separate backup.txt files for each user. W