Gentoo Archives: gentoo-osx

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] [PREFIX] User account management
Date: Wed, 14 Jun 2006 06:57:54
Message-Id: 1150268238.29797.2.camel@sapc154
In Reply to: Re: [gentoo-osx] [PREFIX] User account management by m h
1 On Tue, 2006-06-13 at 12:36 -0600, m h wrote:
2 > Michael-
3 >
4 > Thanks for your response. I'd like to have a look at your solution
5 > but didn't see any attachment.
6
7 Even not in the second mail I sent 4 minutes later, imo with
8 attachment ?
9
10 >
11 > FYI, we have been building prefix under redhat, suse and ubuntu (and
12 > some of their derivitives for a bit know). (We also have most of a
13 > Java 1.5 stack, this isn't even in normal gentoo). It's not currently
14 > publicly available (still waiting for that public repository...).
15 >
16 > Let me know what you'd be interested in and I'll see what we can do.
17 >
18 > -matt
19 >
20 > On 6/13/06, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
21 > > Hi,
22 > >
23 > > In the past, I had already some implementation for that, where
24 > > enewuser()/enewgroup() in case of not being root (uid zero) used some
25 > > 'root.sh' file, containing real commands for the target-userland to be
26 > > executed by real-root, as well as easy-to-parse comments containing the
27 > > arguments of previous enewuser/enewgroup calls.
28 > >
29 > > What was missing there: to empty the file once it was executed by
30 > > real-root user, because i had no need yet to really add the users as i
31 > > did not need to start some daemons installed from prefix-portage yet.
32 > >
33 > > But i needed this temporary "passwd-database" to have egetent()
34 > > recognize not-yet-physically-executed enewuser() calls in addition to
35 > > real getent-calls.
36 > >
37 > > In the attached 'eutils.eclass' look for access to file
38 > > 'var/spool/emerge/doasroot' and calls to edoasroot().
39 > >
40 > > -- haubi
41 > > PS: I'm happy to be back again to prefix-portage, currently trying to
42 > > get some portage-alt-prefix packages to fly on x86-redhat-linux.
43 > >
44 > > On Tue, 2006-06-13 at 11:00 +0200, Grobian wrote:
45 > > > On 12-06-2006 15:20:56 -0600, m h wrote:
46 > > > > Folks-
47 > > > > Has anyone thought out user management in a prefix setting. An
48 > > > > example being apache or mysql which usually run as their own users.
49 > > > > Is this the plan for prefix too?
50 > > >
51 > > > The last ideas for OSX were to have some propagation tools from prefix
52 > > > to host OS. This is a bit scary, but would mean useradd actions just
53 > > > get forwarded. This requires root privileges of course. The portage
54 > > > people seem to work on something to keep the administration of users
55 > > > added by Portage, and keep that administration synchronised with the
56 > > > real password backend. This initiative is very nice for prefix of
57 > > > course, as it would probably allow us to just plug on that
58 > > > administration... Sorry, I have no pointers...
59 > > >
60 > > > --
61 > > > Fabian Groffen
62 > > > Gentoo for Mac OS X Project
63 > > --
64 > > Michael Haubenwallner SALOMON Automation GmbH
65 > > Forschung & Entwicklung A-8114 Friesach bei Graz
66 > > mailto:michael.haubenwallner@×××××××.at http://www.salomon.at
67 > > No HTML/MIME please, see http://expita.com/nomime.html
68 > >
69 > > --
70 > > gentoo-osx@g.o mailing list
71 > >
72 > >
73 --
74 Michael Haubenwallner SALOMON Automation GmbH
75 Forschung & Entwicklung A-8114 Friesach bei Graz
76 mailto:michael.haubenwallner@×××××××.at http://www.salomon.at
77 No HTML/MIME please, see http://expita.com/nomime.html
78
79 --
80 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] [PREFIX] User account management Grobian <grobian@g.o>