From owner-freebsd-questions Sun Dec 21 11:16:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA19334 for questions-outgoing; Sun, 21 Dec 1997 11:16:19 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from super.zippo.com (perry.zippo.com [207.211.168.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA19314 for ; Sun, 21 Dec 1997 11:16:16 -0800 (PST) (envelope-from reyesf@super.zippo.com) Received: (from reyesf@localhost) by super.zippo.com (8.8.6/8.8.7) id LAA13846; Sun, 21 Dec 1997 11:16:15 -0800 (PST) Message-Id: <199712211916.LAA13846@super.zippo.com> From: "Francisco Reyes" To: "FreeBSD questions" Date: Sun, 21 Dec 97 14:07:21 -0400 Reply-To: "Francisco Reyes" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: How to send parameter to shell at user login? Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I would like to create a user with a restricted shell. Bash allows this by sending a parameter to the shell. I tried going into vipw and adding a parameter to the shell, but it did not recognised it. Do I need to create a shell script that calls bash with the parameter? Any other way to send a parameter to a shell for a user?