Greg Cope wrote:
>
> Dear All
>
> I used vmkpasswd to recreate the vpasswd.cdb files as I hade moved
> vpopmail from one machine to another, and changed the install dir to
> /var/vpopmail.
>
> When run it changes the owner/group to whom ever is running it (in my
> case root). I did not notice this and it then broke bits of qmailadmin.
>
> Can this be highlighted in the documentation, or can a simple chown call
> (to change back to vpopuser:vpopgroup) be added to the end to change
> vpasswd and vpasswd.cdb back to the right owners ?
>
> Greg
>
> ps thanks for a great bit of software !
I can not replicate the problem. vmkpasswd is setting the ownership.
In the cdb module
int make_vpasswd_cdb(char *domain)
chown(vpasswd_cdb_file, uid, gid);
chown(vpasswd_lock_file, uid, gid);
chown(vpasswd_file, uid, gid);
Which version of vpopmail are you using? 4.9.8-1 and 4.9.9 don't
show this behavior on my Linux machine.
Ken