From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 06 May 2022 09:31:06 +0300 From: community-alt@3b-group.ru To: ALT Linux Community general discussions In-Reply-To: <79e0e99286f5756c6882f4cf94ab879f@3b-group.ru> References: <6d5dc63c-0ab8-305a-da24-29f76b7b6eae@ya.ru> <4841c25a234996f828bf8119d49f4bb2@3b-group.ru> <79e0e99286f5756c6882f4cf94ab879f@3b-group.ru> User-Agent: Roundcube Webmail/1.4.10 Message-ID: <65771e9082871daa509ccfd5bad27a28@3b-group.ru> X-Sender: community-alt@3b-group.ru Subject: Re: [Comm] =?utf-8?b?0J3QtSDQtNC+0LjRgdCw0L3QvdGL0LUg0L/QviDRg9C80L4=?= =?utf-8?b?0LvRh9Cw0L3QuNGOINC90LDRgdGC0YDQvtC50LrQuCDQsiDRgdCx0L7RgNC6?= =?utf-8?b?0LUgItGB0LXRgNCy0LXRgCIg0LTQu9GPIGJ1aWxkZXJgYQ==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 06:31:11 -0000 Archived-At: List-Archive: List-Post: community-alt@3b-group.ru писал 2022-05-06 09:18: > community-alt@3b-group.ru писал 2022-05-06 09:14: >> Антон Мидюков писал 2022-05-06 03:45: >>> 06.05.2022 01:04, community-alt@3b-group.ru пишет: >>>> Привет! >>>> Скачал и установил сервер с опцией с опцией "сборщик пакетов". >>>> По пробовал выполнить комманду из alt-p10-builder >>>> >>>> $ git clone git://git.altlinux.org/gears/h/hello.git && cd hello && >>>> gear-hsh >>>> Cloning into 'hello'... >>>> remote: Counting objects: 1372, done. >>>> remote: Compressing objects: 100% (463/463), done. >>>> remote: Total 1372 (delta 905), reused 1372 (delta 905) >>>> Receiving objects: 100% (1372/1372), 1.82 MiB | 615.00 KiB/s, done. >>>> Resolving deltas: 100% (905/905), done. >>>> hsh: /usr/libexec/hasher-priv/getconf.sh: cannot access getconf >>>> helper. >>>> >>>> Помогите наладить сборку пакетов! В builder все работало по >>>> умолчанию. >>>> _______________________________________________ >>> >>> Необходимо настроить пользователя для сборки. Для этого есть >>> замечательная команда: >>> >>> # builder-useradd имя_пользователя >>> >>> Если пользователь существует, то его настроит, если не существует >>> создаст. >>> Не забудьте перелогиниться, если залогиненного пользователя >>> настраиваете. >> >> >> [root@host-62 ~]# PATH=$PATH:/sbin:/usr/sbin >> [root@host-62 ~]# hasher-useradd build-user >> id: «build-user»: такого пользователя нет >> [root@host-62 ~]# builder-useradd build-user >> bash: builder-useradd: команда не найдена >> [root@host-62 ~]# >> НЕ РАБОТАЕТ! >> _______________________________________________ >> community mailing list >> community@lists.altlinux.org >> https://lists.altlinux.org/mailman/listinfo/community > > > [server@host-62 hello]$ su root > Password: > [root@host-62 hello]# su build-user > su: User not known to the underlying authentication module > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community root@host-62 hello]# PATH=$PATH:/sbin:/usr/sbin [root@host-62 hello]# adduser build-user [root@host-62 hello]# useradd build-user useradd: пользователь «build-user» уже существует [root@host-62 hello]# hasher-useradd build-user Добавление пользователя build-user в группу build-user_a Добавление пользователя build-user в группу build-user_b Добавление пользователя build-user в группу hashman [root@host-62 hello]# нашел правильное решение с "регистрацией" пользователя.