From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N0Wzf-0001Kf-7O for garchives@archives.gentoo.org; Wed, 21 Oct 2009 08:56:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6D61E07B9; Wed, 21 Oct 2009 08:56:29 +0000 (UTC) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by pigeon.gentoo.org (Postfix) with ESMTP id A3FDAE07B9 for ; Wed, 21 Oct 2009 08:56:29 +0000 (UTC) Received: by ewy22 with SMTP id 22so6320386ewy.14 for ; Wed, 21 Oct 2009 01:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=8BSKvNFigiczEL/KwUi79fyDbPl2O2kgK/CvudT1T28=; b=sbM0WFlkeit+0I+orIdaKm2zD+s3GH68Cw9qUeC5rPHjRtCzgGoHVoDmxr87AC3wkw gaJUVbvOJqlwfbKujjw5qKrlDzhzDp/Q+HyudBszjBSV70mgSkrf+0ypnxBPTZxdvHjO 5pTpy6Nvj0YAkOV0aVNg0I3SzCp31bi7g4AV0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=ABknWca4NiA2Wd1YFulxifL+czdhMdFtyukEA0MvlmxdOk5hViTsKtI8FVdX+oFDJ3 diUimbcp/pGxhpR341lt/6AcYvG+r8E8RPOTI7BX385IilTT9f7NTAVPZzjj1vyV0h+8 WMohm+CA7UwtVD2zsdlFPQTgK3CHheZNinEYw= Received: by 10.216.88.136 with SMTP id a8mr467248wef.77.1256115389087; Wed, 21 Oct 2009 01:56:29 -0700 (PDT) Received: from nazgul.localnet (dustpuppy.is.co.za [196.14.169.11]) by mx.google.com with ESMTPS id i6sm2611384gve.17.2009.10.21.01.56.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Oct 2009 01:56:28 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to find all executables with an "inofficial" group id Date: Wed, 21 Oct 2009 10:55:28 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-gentoo-r3; KDE/4.3.2; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200910211055.28958.alan.mckinnon@gmail.com> X-Archives-Salt: 1ef3ba6e-3e87-4e98-9e52-69c0470d5a52 X-Archives-Hash: 14b692cdf6b6069b8edb317bac61c540 On Wednesday 21 October 2009 10:53:45 Helmut Jarausch wrote: > Hi, > > does anybody know a simple method to find all executables with a group > id which is not mentioned in /etc/group? > > Once an executable with a group id which used to be 'fcron' but isn't > anymore, broke one of my systems. > Now, I suspect a similar problem on another machine. > > Otherwise I have to write a tiny Python script to do that. find / -type f +perm 111 -nogroup -- alan dot mckinnon at gmail dot com