Date: Thu, 12 Feb 2004 07:02:38 +0000 From: Marc Silver <marcs@draenor.org> To: zzerver@hotmail.com Cc: freebsd-doc@FreeBSD.org Subject: Re: hi ...a question ... Message-ID: <20040212070238.GA48712@draenor.org> In-Reply-To: <BAY2-DAV49jdAwrRnPB00018536@hotmail.com> References: <BAY2-DAV49jdAwrRnPB00018536@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 11, 2004 at 09:04:42PM -0800, zzerver@hotmail.com wrote: > 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! Firstly, you're addressing the wrong forum. In future, you should mail these questions to freebsd-questions@freebsd.org That said, I would suggest using something like sudo (/usr/ports/security/sudo) to give your program root access for specific programs. Cheers, Marc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040212070238.GA48712>