From owner-freebsd-isp Wed Nov 13 20:55:12 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BABAB37B401 for ; Wed, 13 Nov 2002 20:55:11 -0800 (PST) Received: from blue.centerone.com (blue.centerone.com [204.133.183.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EC4E43E3B for ; Wed, 13 Nov 2002 20:55:11 -0800 (PST) (envelope-from rf-list@centerone.com) Received: from DELIVERANCE-XP.centerone.com (hs5-ifw.wiaas.org [65.102.239.61]) by blue.centerone.com (8.9.3/8.9.3) with ESMTP id WAA21946; Wed, 13 Nov 2002 22:04:51 -0700 Message-Id: <5.1.0.14.2.20021113214711.026e0638@mail.centerone.com> X-Sender: rf-list@mail.centerone.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 13 Nov 2002 21:47:49 -0700 To: "Lewis Watson" , From: Ralph Forsythe Subject: Re: su and root password In-Reply-To: <002701c28b94$c378f4e0$a977ca41@yogi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org sudo. Install it from /usr/ports/security/sudo. Then read the manual on it for setting it up, your script can do whatever it wants from there. At 10:17 PM 11/13/2002 -0600, Lewis Watson wrote: >I have a program that ssh's to my machine and needs to do a script that >calls pw useradd. I do not want to give root ssh ability so how can I make a >regular user ssh in and utilize pw useradd as root? I have the script and it >works great as root... I just can't figure out how to get around the >password prompt for su.... >Please pass me some suggestions. >Thanks. >Lewis > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message