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=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Tue, 7 Apr 2009 12:57:50 +0300 From: Michael Shigorin To: ALT Linux Community general discussions Message-ID: <20090407095750.GN24510@osdn.org.ua> Mail-Followup-To: ALT Linux Community general discussions References: <49DAF8BC.2030000@rambler.ru> <49DB0244.1000504@nsrz.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49DB0244.1000504@nsrz.ru> User-Agent: Mutt/1.4.2.1i Subject: Re: [Comm] =?koi8-r?b?88nOyNLPzsnawcPJ0SDJINzLz87PzcnRINTSwcbJy8E=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: shigorin@gmail.com, 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: Tue, 07 Apr 2009 09:58:07 -0000 Archived-At: List-Archive: List-Post: On Tue, Apr 07, 2009 at 11:35:32AM +0400, AShen wrote: > #получаем список установленных в систему пакетов > rm -f /tmp/installrpm Так можно получить вывод rpm где-нить в /etc/passwd, если кто-нить из пользователей решит пошутить... Рекомендую mktemp(1) или хотя бы /root/tmp/ > rpm -qa --qf='%{NAME}\n' | sort > /tmp/installrpm -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/