[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Renameing the default database
From: |
Mel Hatzis |
Subject: |
Re: Renameing the default database |
Date: |
Thu, 14 Mar 2002 15:51:51 -0800 |
Try setting the GNATSDB environment variable to the name
of your database.
The following snippet of code (which determines GNATS network
mode) may be causing your problem:
int
gnatsdbHasNetconn (void)
{
const char *var = getenv ("GNATSDB");
if (var != NULL && var[0] != '\0')
{
if (strchr (var, ':') != NULL)
{
return 1;
}
else
{
return databaseSpecIsNetConn (var);
}
}
else
{
return databaseSpecIsNetConn ("default");
}
}
Not sure that this will solve it, but it's seems like it's worth
a try.
--
Mel Hatzis address@hidden
Juniper Networks Inc.
Dirk Bergstrom wrote:
>
> On 3/14/2002 1:18 PM, Bodnyk, Bruce W opined:
> > I'd like to rename the default database created by gnats to something else.
> > I tried editing the databases file in /usr/local/etc/gnats to change the
> > default
> > to what I wanted but this didn't seem to work. Do I need to make a change to
> > a configuration file somewhere and rename gnats?
>
> afaik, the default database must be named default. last i checked, it
> must also allow at least create acces by all users. if you set
> permissions on the default database to *:deny:, users will be unable to
> log in to *any* gnats databases.
>
> --
> Dirk Bergstrom address@hidden
> Computer Geek v: 707.433.0564
> Juniper Networks Inc. f: 707.433.0769
>
> "it *looks* like a nail; lemme grab my hammer..."
>
> _______________________________________________
> Help-gnats mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnats