Re: [gentoo-dev] acct-user/acct-group trouble

2020-05-05 Thread Alarig Le Lay
On Tue 05 May 2020 15:23:34 GMT, lego12...@yandex.ru wrote:
> Hm. And what version should i choose for such ebuilds?..

It usually on version 0.

-- 
Alarig



Re: [gentoo-dev] acct-user/acct-group trouble

2020-05-05 Thread lego12239
Hm. And what version should i choose for such ebuilds?..

-- 
Олег Неманов (Oleg Nemanov)



Re: [gentoo-dev] acct-user/acct-group trouble

2020-05-05 Thread lego12239
On Tue, May 05, 2020 at 01:34:41PM +0200, Michał Górny wrote:
> You don't understand correctly.  Read the doc for ACCT_GROUP_ID.

Found. Thanks.

-- 
Олег Неманов (Oleg Nemanov)



Re: [gentoo-dev] acct-user/acct-group trouble

2020-05-05 Thread Michał Górny
On Tue, 2020-05-05 at 14:24 +0300, Oleg wrote:
> Hi, all.
> 
> I'm creating a ebuild and need to create user/group during it installation.
> As i create a package/ebuild for our company internal use, it useless to
> request uid/gid to be saved in uid-gid.txt. Also, i don't need a constant
> uid/gid, just want a user/group creation. This package will be installed on
> various machines and i don't want to track unused uid/gid from uid-gid.txt
> and also each of these machines. Any available is sufficient.
> 
> If i understand correctly, acct-user/acct-group doesn't allow me do this.
> And i must choose a constant uid/gid and pray that
> they willn't match existent ones on any machine, amn't it?

You don't understand correctly.  Read the doc for ACCT_GROUP_ID.

-- 
Best regards,
Michał Górny



signature.asc
Description: This is a digitally signed message part