From owner-freebsd-questions Wed Mar 27 9: 1:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web11501.mail.yahoo.com (web11501.mail.yahoo.com [216.136.172.46]) by hub.freebsd.org (Postfix) with SMTP id 4DEDB37B416 for ; Wed, 27 Mar 2002 09:01:02 -0800 (PST) Message-ID: <20020327170055.40465.qmail@web11501.mail.yahoo.com> Received: from [203.197.191.6] by web11501.mail.yahoo.com via HTTP; Wed, 27 Mar 2002 09:00:55 PST Date: Wed, 27 Mar 2002 09:00:55 -0800 (PST) From: vivek achayya Subject: Spawning smbpasswd from within expect doesnt work. To: freebsd-questions@FreeBSD.ORG 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 Hello, I have been trying to automate my adduser/deluser scripts to alter /etc/passwd and /usr/local/samba/lib/smbpasswd in one shot. I use expect on freebsd. I am able to spawn pw and add/delete users and set passwords but i am just not able to spawn smbpasswd on freebsd though a similar script works on linux.. Could someone tell me what the problem might be..since i am totally at a loss. Thanking you Yours Sincerly Vivek __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message