From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 4 03:23:08 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B8661065672 for ; Wed, 4 Jan 2012 03:23:08 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 16DE28FC12 for ; Wed, 4 Jan 2012 03:23:07 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q042Ql7c022361; Tue, 3 Jan 2012 21:23:06 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa02.fnfis.com with ESMTP id 124cffgcex-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 03 Jan 2012 21:23:06 -0600 Received: from [10.0.0.104] (10.14.152.28) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 3 Jan 2012 21:23:04 -0600 MIME-Version: 1.0 (Apple Message framework v1084) From: Devin Teske In-Reply-To: <4F03C38D.1080909@fuzzwad.org> Date: Tue, 3 Jan 2012 19:23:02 -0800 Message-ID: <678B5145-6FA4-489D-A31B-DDD3A6876DA7@fisglobal.com> References: <4F03AF24.70102@freebsd.org> <4F03BE93.9040708@fuzzwad.org> <4F03C38D.1080909@fuzzwad.org> To: Ron McDowell X-Mailer: Apple Mail (2.1084) X-Originating-IP: [10.14.152.28] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-03_03:2012-01-03, 2012-01-03, 1970-01-01 signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Marcel Moolenaar , freebsd-sysinstall@freebsd.org, Lawrence Stewart Subject: Re: sysinstall as a post-install tool X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 03:23:08 -0000 On Jan 3, 2012, at 7:12 PM, Ron McDowell wrote: > Eitan Adler wrote: >> On Tue, Jan 3, 2012 at 9:50 PM, Ron McDowell wrote: >>=20=20 >>> I [Ron] just added myself to the sysinstall list. >>>=20=20=20=20 >>=20 >> Good >>=20=20 >>> What I envision is a text based system administration suite that will >>> [hopefully] do everything that the "Configure" option on the top level = of >>> the sysinstall menu does. I see it as being part of the base OS, such = that >>> once one has rebooted from HD after the install and logged in as root [= or >>> user+su], a menu can be brought up by entering "sysadmin" or such. Does >>> "sysadmin" work for a name? I kinda like it. >>>=20=20=20=20 >>=20 >> Do you plan on this tool being run "late in the game" after the system >> has been used for a while or this is a "welcome new user" only tool? >>=20=20 >=20 > I want it to be both. Similar in concept to scoadmin on SCO, sysadm on S= VR4, smit on AIX if you're familiar with any of them. >=20 Same exact ideas host-setup was built on. We actually have a customized installer that set's the root-user's login sh= ell to this (perfectly safe for you to try, by the way -- it resets to csh = on Ctrl-C or Exit). But I use it almost on a daily basis to change settings as it saves me so m= uch time (we made it very smart -- when it asks you "Would you like to brin= g [interface] up" and you say "Yes" ... it actually does it ... unlike sysi= nstall(8), lol). >>> I plan on basically going through the sysinstall post-configuration men= u: >>>=20=20=20=20 >>=20 >> [snip configure menu] >>=20=20 >=20 > [apologies for the way that menu came out..."worked fine on my email!" :)= ] >=20 >> Do you plan on making this a C based program or a shell script? >>=20=20 >=20 > /bin/sh and hopefully use the dialog library like sysinstall, if it can b= e made to do what needs doing. If you have a look at host-setup, you'll see we fully support three version= s of $DIALOG ... dialog(1) from FreeBSD-8.x and earlier dialog(1) from FreeBSD-9.x and higher (which is now "cdialog" as imported b= y NWhitehorn) Xdialog(1) available from ports (x11/xdialog) It can also be configured as a menu-item in your window manager (exec host-= setup -sX) or even display manager running as root (similarly, exec host-se= tup -sX). HINT: it [safely] prompts for sudo(8) credentials using Xdialog(1= )'s --password box >=20 >>> and as close as reasonable, stick to the same task flow. I plan on wri= ting >>> it against 10-current and look at back-porting to 9 after it's somewhat >>> stable. >>>=20=20=20=20 >>=20 >> I'd like to work with you on this, especially w.r.t to ensuring that >> it meets the requirements for entering the base system. >>=20=20 >=20 > Great! Give me a few days to get the box up and poke around with the dia= log stuff, and I'll ping you then. >=20 Can you try host-setup on your new box? http://druidbsd.sourceforge.net/download/host-setup.txt --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.