From owner-freebsd-commit Thu Nov 30 19:06:52 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA18813 for freebsd-commit-outgoing; Thu, 30 Nov 1995 19:06:52 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA18720 for cvs-all-outgoing; Thu, 30 Nov 1995 19:05:42 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA18704 for cvs-etc-outgoing; Thu, 30 Nov 1995 19:05:38 -0800 Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA18690 ; Thu, 30 Nov 1995 19:05:05 -0800 Received: from localhost (localhost [127.0.0.1]) by precipice.shockwave.com (8.6.12/8.6.12) with SMTP id TAA03907; Thu, 30 Nov 1995 19:02:12 -0800 Message-Id: <199512010302.TAA03907@precipice.shockwave.com> To: "Jordan K. Hubbard" cc: mark@linus.demon.co.uk (Mark Valentine), "Jordan K. Hubbard" , CVS-committers@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: Re: cvs commit: src/etc/root dot.Xdefaults dot.fvwmrc dot.xsession dot.cshrc dot.login In-reply-to: Your message of "Thu, 30 Nov 1995 16:13:40 PST." <1287.817776820@time.cdrom.com> Date: Thu, 30 Nov 1995 19:02:11 -0800 From: Paul Traina Sender: owner-commit@FreeBSD.ORG Precedence: bulk Barf Jordan. Root is used for "standalone startup" once -- when you bring the system up. It's much more important to have root be minimalistic so that when all hell breaks loose (like you've shat over one of your partitions) you can get in and working. Root should ideally not touch or require anything in /usr, although I would tend to put usr/bin and usr/sbin in sh's path (probably not in csh's). Paul From: "Jordan K. Hubbard" Subject: Re: cvs commit: src/etc/root dot.Xdefaults dot.fvwmrc dot.xsession d >>ot.cshrc dot.login There's a method to my madness. The first time you'll come up, you'll be root. There are no other logins on the system. You log into root and if the X setup stuff went OK, you type "startx". At this point you need a reasonable looking desktop, including an unobtrusive little button somewhere labeled "Configure". I can see how it might violate certain purist sensibilities, but this was the shortest path between two points. Jordan > > From: "Jordan K. Hubbard" > > Date: Wed 29 Nov, 1995 > > Subject: cvs commit: src/etc/root dot.Xdefaults dot.fvwmrc dot.xsession d >>ot .cshrc dot.login > > > jkh 95/11/29 18:28:43 > > > > Modified: etc/root dot.cshrc dot.login > > Added: etc/root dot.Xdefaults dot.fvwmrc dot.xsession > > Log: > > Revamp root's dotfiles. > > Submitted by: Patrick Hausen + mods by me > > Do any other old BSD fogies find these inappropriate? > > I'm sure there is a place for some nice example *user* setups (maybe under > /usr/src/share/examples, or even all set up under a guest account in a new > install), but these files get installed as the default *root* environment. > > The default system environment should (more or less) be good enough for roo >>t, > give or take a few things to make system administration and i18n more natur >>al . > > I don't think there's a need for *any* X startup files for the default root > login, and certainly not startup files for programs that aren't even in the > source tree (fvwm). (Maybe an extra knob in the ports collection for these >>?) > > There's also tcsh-only stuff in there, which I don't think should be, and > the InterViews stuff also wants to be go. > > "setenv PAGER more" should be redundant. > > "setenv EDITOR /stand/ee" is evidence of a commit made in a non-optimal > mental state... > > The default environment should be largely free of policy (like changes to > fonts and prompts). The default *root* environment should be utilitarian. > > Mark. > > -- > "Tigers will do ANYTHING for a tuna fish sandwich." > "We're kind of stupid that way." *munch* *munch*