On Mon, Mar 08, 2004, Christopher Chan wrote:
> Is there anyway to change to default users and groups (l_musr, l_mgrp,
> l_rusr, l_rgrp) after OpenPKG has been installed??
>
> I want to be able to change l_musr, lmgrp, lrusr, and l_rgrp on an
> existing OpenPKG installation with re-installing all of OpenPKG from
> bootstrap again...
AFAIK you can't easily because the main problem is that RPM has all
those users/groups remembered in its RPM database. And this can only
be adjusted on the C level through the RPM API. In addition to this
the ownerships have to be changed physically on the filesystem and
the <prefix>/etc/openpkg/rpmmacros file has to be adjusted. The last
two issues are usually harmless, but the RPM DB issue is very hard
and usually not worth the effort, I think. Here it is a lot easier
to reinstall from scratch. And finally, even if you would be able to
solve all this, you have one problem remaining: applications build and
installed into the OpenPKG instance can have the users/groups hard-coded
(either in their executables but at least in some configuration files).
So, do not think about changing the stuff afterwards. Do youself a
favour and reinstall ;-)
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]