currently vpopmail user and vchkpw group's need's to be created before
running ./configure.
this is not good for packaging it as rpm, because in rpm the user and
group are created in %post section (after vpopmail installed)
#define VPOPMAILGID 503
#define VPOPMAILUID 507
any chance to improve t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Itamar Reis Peixoto wrote:
> currently vpopmail user and vchkpw group's need's to be created before
> running ./configure.
>
> this is not good for packaging it as rpm, because in rpm the user and
> group are created in %post section (after vpopmail i
I agree parsing /etc/passwd every time is expensive
a config file file will be welcome.
On Mon, Aug 17, 2009 at 1:18 PM, Matt Brookings wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Itamar Reis Peixoto wrote:
>> currently vpopmail user and vchkpw group's need's to be created bef
Itamar Reis Peixoto wrote:
currently vpopmail user and vchkpw group's need's to be created before
running ./configure.
this is not good for packaging it as rpm, because in rpm the user and
group are created in %post section (after vpopmail installed)
#define VPOPMAILGID 503
#define VPOPMAILUID
it can, but I need to use a fixed uid and gid, this is not good.
the vpopmail can be compiled in a build system like koji
http://koji.fedoraproject.org/koji/
and it will be installed in another machine with different's uid's / gid's.
> Could the user and group be created in the %pre section
okings
To: vchkpw@inter7.com
Sent: Mon Aug 17 09:18:19 2009
Subject: Re: [vchkpw] vpopmail UID/GID hardcoded in config.h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Itamar Reis Peixoto wrote:
> currently vpopmail user and vchkpw group's need's to be created before
> running ./c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tren Blackburn wrote:
> And since no one else has mentioned this...some of us don't use
> /etc/passwd for authentication. So searching /etc/passwd would not work
> anyway. Isn't there a C function call to check user/group id? Or at
> least a universal
my suggestion is related about which user and group vpopmail run's
not about authentication.
no authentication is involved in this
On Mon, Aug 17, 2009 at 5:52 PM, Matt Brookings wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tren Blackburn wrote:
>> And since no one else has me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Itamar Reis Peixoto wrote:
> my suggestion is related about which user and group vpopmail run's
>
> not about authentication.
>
> no authentication is involved in this
That may be the case, but the fact is, your system-level authentication backend
storing uid / gid in a config file will be light
On Mon, Aug 17, 2009 at 5:57 PM, Matt Brookings wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Itamar Reis Peixoto wrote:
>> my suggestion is related about which user and group vpopmail run's
>>
>> not about authentication.
>>
>> no au
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Itamar Reis Peixoto wrote:
> storing uid / gid in a config file will be light
Lighter than accessing an authentication database, agreed. Like I said, I'm
hoping
to add configuration API to vpopmail that will replace all the configure-time
options
a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Aug 17, 2009, at 4:03 PM, Matt Brookings wrote:
Itamar Reis Peixoto wrote:
storing uid / gid in a config file will be light
Lighter than accessing an authentication database, agreed. Like I
said, I'm hoping
to add configuration API to vpopma
>
> How often does the code actually reference the UID/GID? Could you have a
> function to look it up and cache it in a static once found?
sounds great, the best solution at this moment.
> A quick check and it looks like it's only referenced when adding a user or
> updating the tcp.smtp.cdb fil
On Tue, 2009-08-18 at 18:34 -0500, Tom Collins wrote:
> How often does the code actually reference the UID/GID? Could you
> have a function to look it up and cache it in a static once found?
>
> A quick check and it looks like it's only referenced when adding a
> user or updating the tcp.smt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Manvendra Bhangui wrote:
>> How often does the code actually reference the UID/GID? Could you
>> have a function to look it up and cache it in a static once found?
>>
>> A quick check and it looks like it's only referenced when adding a
>> user or
15 matches
Mail list logo