Gentoo Archives: gentoo-dev

From: Grant Goodyear <g2boojum@g.o>
To: Vadim <vadim_t@××××××××.es>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Assigning unique system uid/gid for new ebuild
Date: Fri, 30 May 2003 17:50:29
Message-Id: 1054317028.20338.26.camel@orange-pc.ces.clemson.edu
1 On Fri, 2003-05-30 at 13:09, Vadim wrote:
2 > How about fixing the system? For example something like this:
3 >
4 > useradd foo
5 > FOO_UID=`awk -F: '$1 == "foo" {printf $3}' /etc/passwd`
6 > FOO_GID=`awk -F: '$1 == "foo" {printf $4}' /etc/passwd`
7
8 Essentially that _is_ the plan. We're working on it.
9
10 -g2boojum-
11 --
12 Grant Goodyear <g2boojum@g.o>

Attachments

File name MIME type
signature.asc application/pgp-signature