Ugly way to change the primary UID

Andrew McDonald andrew@mcdonald.org.uk
Tue May 1 20:23:01 2001


On Tue, May 01, 2001 at 07:53:21PM +0200, Werner Koch wrote:

> On Tue, 1 May 2001, Waldemar Brodkorb wrote:
>
> > Is it possible to change the primary uid?
>
> We can't yet set the primary key id flag. I think this ugly
> workaround should help:
[snip]
> I have not tested this and I know that it is ugly.
I had just independently come up with the same method and was about to post it to the list. :-) Anyway, it appears to work OK. Andrew -- Andrew McDonald E-mail: andrew@mcdonald.org.uk http://www.mcdonald.org.uk/andrew/