From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 11:58:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70BFC16A4CE for ; Sun, 1 Feb 2004 11:58:17 -0800 (PST) Received: from fbsd.reiteration.net (82-34-179-228.cable.ubr01.sout.blueyonder.co.uk [82.34.179.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E31443D3F for ; Sun, 1 Feb 2004 11:58:15 -0800 (PST) (envelope-from jfm@fbsd.reiteration.net) Received: from localhost ([127.0.0.1] helo=fbsd.reiteration.net ident=jfm) by fbsd.reiteration.net with esmtp (Exim 4.14) id 1AnNjS-000O2U-0O for freebsd-questions@freebsd.org; Sun, 01 Feb 2004 19:58:14 +0000 Received: (from jfm@localhost) by fbsd.reiteration.net (8.12.9p2/8.12.9/Submit) id i11JwDXo092409 for freebsd-questions@freebsd.org; Sun, 1 Feb 2004 19:58:13 GMT (envelope-from jfm) Date: Sun, 1 Feb 2004 19:58:13 +0000 From: John To: freebsd-questions@freebsd.org Message-ID: <20040201195813.GC91130@reiteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: a sudo question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 19:58:17 -0000 Hello list I'm trying to give a html author rwx access to a system directory and all directories under it. This is /usr/local/www. He also needs access to /webspace in the same manner (there are various user accounts under here) - but under webspace he only needs access to /webspace/loginname/public_html and all dirs under it. The problem is I don't want to give him the same kind of access to the rest of the server. Also when he creates a file in a users dir it wants to be with the ownerships of that user. It would be ok for him to su to those accounts but not to su to root or to any other login. I can let him su to www. Should I be using sudo for this or is there another mechanism? thanks -- John - jfm@reiteration.net - http://www.reiteration.net/~jfm For PGP public key finger jfm@reiteration.net or see webpage