From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IGbGF-0006pv-2m for garchives@archives.gentoo.org; Thu, 02 Aug 2007 14:02:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l72DxpSr018984; Thu, 2 Aug 2007 13:59:51 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l72Dscng012659 for ; Thu, 2 Aug 2007 13:54:38 GMT Received: (qmail invoked by alias); 02 Aug 2007 13:54:38 -0000 Received: from inst-232.123.zhwin.ch (EHLO [160.85.232.123]) [160.85.232.123] by mail.gmx.net (mp048) with SMTP; 02 Aug 2007 15:54:38 +0200 X-Authenticated: #402623 X-Provags-ID: V01U2FsdGVkX199TW9dFQ99rZOqxfawyHN2vFpysukwCer/64fQ5s 0jZKB7Tch8IZER Message-ID: <46B1E20D.8070304@gmx.ch> Date: Thu, 02 Aug 2007 15:54:21 +0200 From: Martin Gysel User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] rescrict command to certain dirs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Archives-Salt: 00b93900-31e7-4aa4-8429-a0f0a247cd54 X-Archives-Hash: d39c061ec4d5b868534cbd96cd1eabdc Hi I have a webserver running for multiple 'endusers'. No I want to give some costumers access to certain files as user WEBSERVER for easy editing configuration file owned by the webserver. it should do something like jail the user to /var/www/vhosts/DOMAIN/httpdocs/DIRtoFILES and let him perform some commands (rm, less, nano, etc) there as user WEBSERVER. AFAIK this isn't possible with sudo because I think it's not possible to restrict it to certain files or dirs. Is there an other utility which can do this? Or do I have to setup a chroot environment? thx martin -- gentoo-user@gentoo.org mailing list