Subject: Re: "default shell" [was: Re: CVS commit: src/usr.sbin/user]
To: None <firstname.lastname@example.org>
From: Hubert Feyrer <email@example.com>
Date: 10/02/2006 21:19:08
OK, obviously there are many possibilities here, but no concensus.
So how about pushing the decision to the user?
We already ask for what shell root should get, how about using that to
setup /etc/usermgmt.conf? It's not optimal, but may work for a quick
Everything that's needed is in the huge patch below (untested)!
(We don't ship a /etc/usermgmt.conf, but "useradd -D ..." will create one)
How about going that route instead of having an endless discussion about
shells and whatnot?
RCS file: /cvsroot/src/distrib/utils/sysinst/util.c,v
retrieving revision 22.214.171.124
diff -u -r126.96.36.199 util.c
--- util.c 27 Sep 2006 12:15:14 -0000 188.8.131.52
+++ util.c 2 Oct 2006 19:13:35 -0000
@@ -1191,6 +1191,7 @@
run_program(RUN_DISPLAY | RUN_CHROOT, "chpass -s %s root", shellpath);
+ run_program(RUN_DISPLAY | RUN_CHROOT, "useradd -D -s %s", shellpath);