From owner-freebsd-isp Wed Nov 13 20:21: 0 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 C380737B401 for ; Wed, 13 Nov 2002 20:20:59 -0800 (PST) Received: from mordrede.visionsix.com (mordrede.visionsix.com [65.202.119.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5005743E97 for ; Wed, 13 Nov 2002 20:20:55 -0800 (PST) (envelope-from lists@visionsix.com) Received: from yogi (unverified [65.202.119.169]) by mordrede.visionsix.com (Vircom SMTPRS 1.4.232) with SMTP id for ; Wed, 13 Nov 2002 22:20:49 -0600 Message-ID: <002701c28b94$c378f4e0$a977ca41@yogi> From: "Lewis Watson" To: Subject: su and root password Date: Wed, 13 Nov 2002 22:17:36 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 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