From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Sun, 12 Oct 2008 16:56:01 -0400 From: Ivan Adzhubey In-reply-to: <20081012195837.GB9243@wo.int.altlinux.org> To: ALT Linux Sisyphus discussions Message-id: <200810121656.01455.iadzhubey@rics.bwh.harvard.edu> MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Content-transfer-encoding: 8BIT Content-disposition: inline References: <114551223814146@webmail9.yandex.ru> <75e139a00810121253v31795268w1257e89aee3079b0@mail.gmail.com> <20081012195837.GB9243@wo.int.altlinux.org> User-Agent: KMail/1.9.10 Subject: Re: [sisyphus] =?koi8-r?b?KCDCxdog1MXN2SAp?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 20:56:17 -0000 Archived-At: List-Archive: List-Post: On Sunday 12 October 2008 03:58:37 pm Dmitry V. Levin wrote: > On Mon, Oct 13, 2008 at 02:53:32AM +0700, Slava Semushin wrote: > > 13 октября 2008 г. 2:47 пользователь Yan написал: > > [...] > > > > > единственное, что я делал с правами usermod -G vboxusers yan > > > > А, ну вот и причина несчастий. > > > > > но я не ожидаю, что от этой команды пользователь выпадет из wheel > > > > А зря. Вот цитата из man usermod: > > > > -G group,[...] > > A list of supplementary groups which the user is also a > > member of. Each group is separated from the next by a comma, with no > > intervening whitespace. The groups are subject to the same > > restrictions as the group given with the -g option. If the user is > > currently a member of a group which is not listed, the user will be > > removed from the group. > > > > Обратите особенное внимание на последнее предложение. > > Продолжение совета: > Не используйте usermod -- это пока слишком сложно для вас. > Вместо этого попробуйте gpasswd из пакета shadow-groups. Кстати о птичках -- почему бы не приложить к нашему usermod дебиановский патчик на предмет добавления опции --append? Повесить FR на usermod? --Иван