Subject: Re: "default shell" [was: Re: CVS commit: src/usr.sbin/user]
To: Hubert Feyrer <hubert@feyrer.de>
From: Geert Hendrickx <ghen@NetBSD.org>
List: tech-userlevel
Date: 10/02/2006 21:51:41
On Mon, Oct 02, 2006 at 09:19:08PM +0200, Hubert Feyrer wrote:
> Index: util.c
> ===================================================================
> RCS file: /cvsroot/src/distrib/utils/sysinst/util.c,v
> retrieving revision 1.143.2.2
> diff -u -r1.143.2.2 util.c
> --- util.c	27 Sep 2006 12:15:14 -0000	1.143.2.2
> +++ util.c	2 Oct 2006 19:13:35 -0000
> @@ -1191,6 +1191,7 @@
>  	msg_display(MSG_rootsh);
>  	process_menu(MENU_rootsh, &shellpath);
>  	run_program(RUN_DISPLAY | RUN_CHROOT, "chpass -s %s root", 
>  	shellpath);
> +	run_program(RUN_DISPLAY | RUN_CHROOT, "useradd -D -s %s", shellpath);
>  	return 0;
>  }
> 

I think this is really the best option.

	Geert