From owner-freebsd-questions Fri Jun 27 12:31:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA10245 for questions-outgoing; Fri, 27 Jun 1997 12:31:15 -0700 (PDT) Received: from godzilla.cyberg8t.net (godzilla.cyberg8t.net [207.67.172.149]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id MAA10219 for ; Fri, 27 Jun 1997 12:30:58 -0700 (PDT) Received: from localhost by godzilla.cyberg8t.net; (5.65v3.2/1.1.8.2/16Dec96-1039AM) id AA02915; Fri, 27 Jun 1997 12:36:45 -0700 Date: Fri, 27 Jun 1997 12:36:43 -0700 (PDT) From: Shawn Ramsey To: questions@freebsd.org Subject: su adduser Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I need to do something like the following : su root -c 'addcust $1' Is it possible to do something like that, and call this command from a file such as : ./command username-to-add ?? Thanks