From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 12:29:27 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 E2BEE16A4CF for ; Thu, 12 Feb 2004 12:29:26 -0800 (PST) Received: from hotmail.com (bay2-f67.bay2.hotmail.com [65.54.247.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF8A43D31 for ; Thu, 12 Feb 2004 12:29:26 -0800 (PST) (envelope-from zzerver@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 12 Feb 2004 12:29:24 -0800 Received: from 67.166.159.185 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 12 Feb 2004 20:29:24 GMT X-Originating-IP: [67.166.159.185] X-Originating-Email: [zzerver@hotmail.com] X-Sender: zzerver@hotmail.com From: "ZZerver ZZserver" To: freebsd-questions@freebsd.org Date: Thu, 12 Feb 2004 20:29:24 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 12 Feb 2004 20:29:24.0642 (UTC) FILETIME=[E772A020:01C3F1A6] Subject: root access to a custom .sh defined as shell; need root privilages to add newuser 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: Thu, 12 Feb 2004 20:29:27 -0000 Am running a free server of shells in freeBSD 4.9, the amount of >people solicitading new accounts has been too much that i can not >handle them by me, so i wrote this .sh program to do it for me, my >code its secure as much i can tell, i understand the risk involve and >decide to do it anyways, soo i create a new group call 'shellauto', >add new user 'newuser' promote to 'wheel', then i modify etc/shells to >accept my new shell, so when some body logs to my server as 'newuser' >the server run my .sh (freeshell.sh), everything works goodl but my >question is ...how can i give my script root previlages ? so can >addusers without me? also if there is a way to type a command directly >to shell (bash) so i can define quotas of 1mb, and background procees >to 3?? that way i can include those commands to my freeshell.sh >...thanks _________________________________________________________________ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx