Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-osx
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-osx@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: Re: [PREFIX] User account management
Date: Tue, 13 Jun 2006 11:45:29 +0200

In the past, I had already some implementation for that, where
enewuser()/enewgroup() in case of not being root (uid zero) used some
'' file, containing real commands for the target-userland to be
executed by real-root, as well as easy-to-parse comments containing the
arguments of previous enewuser/enewgroup calls.

What was missing there: to empty the file once it was executed by
real-root user, because i had no need yet to really add the users as i
did not need to start some daemons installed from prefix-portage yet.

But i needed this temporary "passwd-database" to have egetent()
recognize not-yet-physically-executed enewuser() calls in addition to
real getent-calls.

In the attached 'eutils.eclass' look for access to file
'var/spool/emerge/doasroot' and calls to edoasroot().

-- haubi
PS: I'm happy to be back again to prefix-portage, currently trying to
get some portage-alt-prefix packages to fly on x86-redhat-linux.

On Tue, 2006-06-13 at 11:00 +0200, Grobian wrote:
> On 12-06-2006 15:20:56 -0600, m h wrote:
> > Folks-
> > Has anyone thought out user management in a prefix setting.  An
> > example being apache or mysql which usually run as their own users.
> > Is this the plan for prefix too?
> The last ideas for OSX were to have some propagation tools from prefix
> to host OS.  This is a bit scary, but would mean useradd actions just
> get forwarded.  This requires root privileges of course.  The portage
> people seem to work on something to keep the administration of users
> added by Portage, and keep that administration synchronised with the
> real password backend.  This initiative is very nice for prefix of
> course, as it would probably allow us to just plug on that
> administration...  Sorry, I have no pointers...
> -- 
> Fabian Groffen
> Gentoo for Mac OS X Project
Michael Haubenwallner                    SALOMON Automation GmbH
Forschung & Entwicklung                  A-8114 Friesach bei Graz
No HTML/MIME please, see

gentoo-osx@g.o mailing list

Re: [PREFIX] User account management
-- m h
[PREFIX] User account management
-- m h
Re: [PREFIX] User account management
-- Grobian
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PREFIX] User account management
Next by thread:
Re: [PREFIX] User account management
Previous by date:
Re: [PREFIX] User account management
Next by date:
PREFIX on Cygwin

Updated Jun 17, 2009

Summary: Archive of the gentoo-osx mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.