1 |
Hi, all. |
2 |
|
3 |
I'm creating a ebuild and need to create user/group during it installation. |
4 |
As i create a package/ebuild for our company internal use, it useless to |
5 |
request uid/gid to be saved in uid-gid.txt. Also, i don't need a constant |
6 |
uid/gid, just want a user/group creation. This package will be installed on |
7 |
various machines and i don't want to track unused uid/gid from uid-gid.txt |
8 |
and also each of these machines. Any available is sufficient. |
9 |
|
10 |
If i understand correctly, acct-user/acct-group doesn't allow me do this. |
11 |
And i must choose a constant uid/gid and pray that |
12 |
they willn't match existent ones on any machine, amn't it? |
13 |
|
14 |
If so, can i use 'enewuser ${PN} -1 -1 "${UHOME}" ${PN} > /dev/null' as usual? |
15 |
|
16 |
-- |
17 |
Олег Неманов (Oleg Nemanov) |