* [gentoo-dev] Best way to add new users in an ebuild?
@ 2003-08-27 15:12 Stuart Herbert
2003-08-27 15:25 ` Lisa Marie Seelye
2003-08-27 15:34 ` Chris Gianelloni
0 siblings, 2 replies; 5+ messages in thread
From: Stuart Herbert @ 2003-08-27 15:12 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 701 bytes --]
Hi everyone,
I know that this has been asked before, but I couldn't find any final
recommended way mentioned in those discussions.
So - I have an ebuild that needs to add a user. What is the best way to do
this?
Best regards,
Stu
--
Stuart Herbert stuart@gentoo.org
Gentoo Developer http://www.gentoo.org/
Beta packages for download http://dev.gentoo.org/~stuart/packages/
Come and meet me in March 2004 http://www.phparch.com/cruise/
GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
--
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Best way to add new users in an ebuild?
2003-08-27 15:12 [gentoo-dev] Best way to add new users in an ebuild? Stuart Herbert
@ 2003-08-27 15:25 ` Lisa Marie Seelye
2003-08-27 21:19 ` Chris Gianelloni
2003-08-27 15:34 ` Chris Gianelloni
1 sibling, 1 reply; 5+ messages in thread
From: Lisa Marie Seelye @ 2003-08-27 15:25 UTC (permalink / raw
To: Stuart Herbert; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
On Wed, 2003-08-27 at 11:12, Stuart Herbert wrote:
> Hi everyone,
>
> I know that this has been asked before, but I couldn't find any final
> recommended way mentioned in those discussions.
enewuser, source in /usr/lib/portage/bin/extra_functions.sh Along with
enewgroup.
--
Regards,
-Lisa
<Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Best way to add new users in an ebuild?
2003-08-27 15:12 [gentoo-dev] Best way to add new users in an ebuild? Stuart Herbert
2003-08-27 15:25 ` Lisa Marie Seelye
@ 2003-08-27 15:34 ` Chris Gianelloni
1 sibling, 0 replies; 5+ messages in thread
From: Chris Gianelloni @ 2003-08-27 15:34 UTC (permalink / raw
To: Stuart Herbert; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
On Wed, 2003-08-27 at 11:12, Stuart Herbert wrote:
> Hi everyone,
>
> I know that this has been asked before, but I couldn't find any final
> recommended way mentioned in those discussions.
>
> So - I have an ebuild that needs to add a user. What is the best way to do
> this?
inherit eutils
enewuser username, uid, shell, homedir, groups, extra options
--
Chris Gianelloni
Developer, Gentoo Linux
Games Team
Is your power animal a penguin?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Best way to add new users in an ebuild?
2003-08-27 15:25 ` Lisa Marie Seelye
@ 2003-08-27 21:19 ` Chris Gianelloni
2003-08-28 0:05 ` Mike Frysinger
0 siblings, 1 reply; 5+ messages in thread
From: Chris Gianelloni @ 2003-08-27 21:19 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 649 bytes --]
On Wed, 2003-08-27 at 11:25, Lisa Marie Seelye wrote:
> enewuser, source in /usr/lib/portage/bin/extra_functions.sh Along with
> enewgroup.
enewuser has been added to portage itself? What version was it added
in? I have it on my system (portage-2.0.48-r5) and didn't even know it!
What versions of portage might still be in use that require the
functions in eutils? Can we remove the "inherit eutils" from any ebuild
which uses these (and no other eutils functions)?
This isn't directed at you, Lisa, but rather the list in general.
--
Chris Gianelloni
Developer, Gentoo Linux
Games Team
Is your power animal a penguin?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Best way to add new users in an ebuild?
2003-08-27 21:19 ` Chris Gianelloni
@ 2003-08-28 0:05 ` Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2003-08-28 0:05 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 272 bytes --]
On Wednesday 27 August 2003 17:19, Chris Gianelloni wrote:
> enewuser has been added to portage itself? What version was it added
> in? I have it on my system (portage-2.0.48-r5) and didn't even know it!
it's planned to go in but dont rely on the fact that it is
-mike
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-08-29 1:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-27 15:12 [gentoo-dev] Best way to add new users in an ebuild? Stuart Herbert
2003-08-27 15:25 ` Lisa Marie Seelye
2003-08-27 21:19 ` Chris Gianelloni
2003-08-28 0:05 ` Mike Frysinger
2003-08-27 15:34 ` Chris Gianelloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox