From owner-freebsd-questions@FreeBSD.ORG Mon Apr 16 01:02:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95E7416A400 for ; Mon, 16 Apr 2007 01:02:22 +0000 (UTC) (envelope-from j.unger@jpru.de) Received: from jpru.ffm.jpru.de (jpru.ffm.jpru.de [195.49.136.33]) by mx1.freebsd.org (Postfix) with ESMTP id D8C4313C448 for ; Mon, 16 Apr 2007 01:02:21 +0000 (UTC) (envelope-from j.unger@jpru.de) Received: from jpru.ffm.jpru.de (jpru.ffm.jpru.de [195.49.136.33]) by jpru.ffm.jpru.de (8.13.8/8.13.8) with ESMTP id l3G0f9i5075806; Mon, 16 Apr 2007 02:41:09 +0200 (CEST) (envelope-from j.unger@jpru.de) Received: (from jpru@localhost) by jpru.ffm.jpru.de (8.13.8/8.13.8/Submit) id l3G0f9r3075805; Mon, 16 Apr 2007 02:41:09 +0200 (CEST) (envelope-from j.unger@jpru.de) X-Authentication-Warning: jpru.ffm.jpru.de: jpru set sender to j.unger@jpru.de using -f Date: Mon, 16 Apr 2007 02:41:09 +0200 From: Juergen Unger To: Vulpes Velox Message-ID: <20070416004109.GA74357@jpru.ffm.jpru.de> References: <20070415200952.11c899b2@vixen42> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070415200952.11c899b2@vixen42> User-Agent: Mutt/1.4.2.1i Cc: 'FreeBSD Questions' Subject: Re: username and groupname question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 01:02:22 -0000 Hi ! On Sun, Apr 15, 2007 at 08:09:52PM -0400, Vulpes Velox wrote: > Just looking at implementing some ACL stuff and just got wondering, > what is the max length of those? /usr/include/sys/user.h says 17 for LOGNAME but I think this includes the extra char for '\0' for security reasons. 16 should be correct for username and groupname I think. At least is this the maximum user- and groupname lenght which is displayed by various tools. bye, Juergen