From owner-freebsd-questions Fri Apr 9 16:55:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from k12-nis-2.bbn.com (K12-NIS-2.BBN.COM [128.89.6.195]) by hub.freebsd.org (Postfix) with ESMTP id 88D9114F8C for ; Fri, 9 Apr 1999 16:55:20 -0700 (PDT) (envelope-from dm@k12-nis-2.bbn.com) Received: from k12-nis-2.bbn.com (dm@LOCALHOST.BBN.COM [127.0.0.1]) by k12-nis-2.bbn.com (8.9.0/8.9.0) with ESMTP id TAA12362; Fri, 9 Apr 1999 19:52:01 -0400 (EDT) Message-Id: <199904092352.TAA12362@k12-nis-2.bbn.com> To: Sue Blake Cc: freebsd-questions@freebsd.org Subject: Re: login shell selection prompt In-reply-to: Your message of "Sat, 10 Apr 1999 04:51:40 +1000." <19990410045140.50124@welearn.com.au> Date: Fri, 09 Apr 1999 19:51:59 -0400 From: david mankins Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Sat, 10 Apr 1999 04:51:40 +1000 From: Sue Blake When booting in single-user mode, root is asked to select which shell to use at login. I'd like to get that prompt at login for a normal user. I don't want to load a shell and then have the user change it, because I'm trying to save a few bytes of memory when arriving to soothe a choking 386. Is it easy to set this up somewhere? A man page name would be enough. chsh will let the users choose which shell is listed for them in /etc/passwd (so they don't have to ask for it whenever they log in). if, ``arriving to soothe a choking 386'', you want to switch to the shell of *your* choice (instead of what the user is using), you might want to use ``exec shell-of-your-choice''. This command is an analogue of the exec system-call --- it overlays the current process with the new program. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message