From owner-freebsd-questions Tue Jun 19 7:37:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web9401.mail.yahoo.com (web9401.mail.yahoo.com [216.136.129.107]) by hub.freebsd.org (Postfix) with SMTP id 32E1D37B406 for ; Tue, 19 Jun 2001 07:37:22 -0700 (PDT) (envelope-from eric_boucher60@yahoo.com) Message-ID: <20010619143722.27671.qmail@web9401.mail.yahoo.com> Received: from [207.164.184.163] by web9401.mail.yahoo.com; Tue, 19 Jun 2001 07:37:22 PDT Date: Tue, 19 Jun 2001 07:37:22 -0700 (PDT) From: Eric Boucher Subject: TCL/TK: starting a process by root from a user To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi everybody, I want to know if something is possible to do with the TCL language: I want to start a process that only root have the permission to start. So I when the user start my little TCL script, it will ask the normal user for a password (not the root one of course) and if that password is valid, it will map that password to the one of the root and then start the process by root. So the TCL script will contain the root password, but I don't want that other user can see it, but can execute it. Is there a way with the TCL language to do such a thing? (Note: the process that I want to be started by a user is a daemon). Thanks a lot Eric __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message