From sacadmin Wed Apr 25 08:53:17 2007
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l3PFrHDY001879;
	Wed, 25 Apr 2007 08:53:17 -0700 (PDT)
Received: (from darrenm@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id l3PFrHO7001872;
	Wed, 25 Apr 2007 08:53:17 -0700 (PDT)
Date: Wed, 25 Apr 2007 08:53:17 -0700 (PDT)
From: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Message-Id: <200704251553.l3PFrHO7001872@sac.sfbay.sun.com>
To: PSARC@sac.sfbay.sun.com
Cc: roland.mainz@nrubsig.org, shell-discussion@opensolaris.org
Subject: Default shell environment: Skeleton user sh/ksh/ksh93/bash [PSARC/2007/234 Timeout:  05/02/2007]
Status: RO
Content-Length: 3721

Subject: PSARC FastTrack [05/02/2007]: Default shell environment: Skeleton user sh/ksh/ksh93/bash


Template Version: @(#)sac_nextcase %I% %G% SMI
1. Introduction
    1.1. Project/Component Working Name:
	 Default shell environment: Skeleton user sh/ksh/ksh93/bash
    1.2. Name of Document Author/Supplier:
	 Author:  Roland Mainz
    1.3  Date of This Document:
	25 April, 2007
4. Technical Description

Default shell environment enhancements: Skeleton user sh/ksh/ksh93/bash

Description and Justification:

This case proposes to introduce a set of enhancements for the default
shell environment in Solaris to provide a more user-friendly environment
for new users which are not yet familar with all the details in Unix and
to provide some help for adminstrators via introducing better system-wide
defaults and more configuration options.

The proposed changes  are:

- A change to "/etc/skel/local.profile".
  Currently the file contains (without lines beginning with '#'):
  -- snip --
  stty istrip
  PATH=/usr/bin:/usr/ucb:/etc:.
  export PATH
  -- snip --
  which is in the best case sub-optimal for a new user (e.g. the use of
  "/usr/ucb/" in a novice users default PATH may even be considered
  as harmfull).

  The case proposes that the current content should be removed and replaced
  with a comment that admins should edit "/etc/profile" (for
  sh/ksh/ksh93/bash/etc.) to change the PATH variable "globally" (e.g.
  machine-wide/site-wide) for all accounts (users can always edit
  "~/.profile" to override the settings but this should only be done
  optionally by _experienced_ users and _not_ by default for all new users).

  Any default settings of the default user login session environment should
  be done in "/etc/profile" or elsewhere but not in a per-user configuration
  file where it may be difficult for the adminstrator to redefine
  machine-/site-wide defaults later.

  Per-user files should strictly be used for user-specific customisations
  and if the user does not make any customisations the machine-/side-wide
  defaults should apply (e.g. the per-user files should be empty, however
  the empty files should still be delivered as documentation/hint/etc. how
  the system+user environment should be configured correctly - too many
  sites make a mess out of these little details).

- "/etc/skel/local.bashrc" as a new file to the system as a per-user
  version of "/etc/bash.bashrc", the content should only be a comment that
  admins should edit "/etc/bash.bashrc" instead to define
  machine-/site-wide settings.

- "/etc/skel/local.kshrc" as a new file to the system as a per-user version
  of "/etc/ksh.kshrc", the content should only be a comment that admins
  should edit "/etc/ksh.kshrc" instead to define machine-/site-wide
  settings.

Interfaces:

Interface	        Stability	Description
=========               =========	===========

/etc/skel/local.profile Uncommitted 	Per-system configuration file for
			        	sh/ksh/ksh93/bash login sessions,
                                        installed for new users
/etc/skel/local.bashrc  Uncommitted 	Per-user configuration file for
			        	interactive bash sessions, installed
                                        for new users
/etc/skel/local.kshrc   Uncommitted 	Per-user configuration file for
			        	interactive ksh/ksh93 sessions,
                                        installed for new users

References:

1) Korn Shell 93 Integration external PSARC case which adds /etc/ksh.kshrc

	http://www.opensolaris.org/os/community/arc/caselog/2006/587/

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack

From Darren.Moffat@sun.com Fri May  4 03:19:17 2007
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l44AJHd6026796
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 4 May 2007 03:19:17 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l44AII1a013498
	for <@sunmail3mpk.sfbay.sun.com:PSARC-EXT@sun.com>; Fri, 4 May 2007 03:18:18 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JHI00M0LHYE1W00@nwk-avmta-2.sfbay.sun.com> for PSARC-EXT@sun.com
 (ORCPT PSARC-EXT@sun.com); Fri, 04 May 2007 03:18:14 -0700 (PDT)
Received: from gmp-ea-fw-1.sun.com ([129.156.42.6])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JHI00DM1HYD9K80@nwk-avmta-2.sfbay.sun.com> for
 PSARC-EXT@sun.com (ORCPT PSARC-EXT@sun.com); Fri,
 04 May 2007 03:18:13 -0700 (PDT)
Received: from d1-emea-09.sun.com ([192.18.2.119])
	by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l44AIC80023235	for
 <PSARC-EXT@sun.com>; Fri, 04 May 2007 10:18:12 +0000 (GMT)
Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0JHI00F01HUCOU00@d1-emea-09.sun.com>
 (original mail from Darren.Moffat@Sun.COM)
 for PSARC-EXT@sun.com (ORCPT PSARC-EXT@sun.com); Fri,
 04 May 2007 11:18:12 +0100 (BST)
Received: from [129.156.173.21] by d1-emea-09.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0JHI000KSHYCCR10@d1-emea-09.sun.com> for PSARC-EXT@sun.com
 (ORCPT PSARC-EXT@sun.com); Fri, 04 May 2007 11:18:12 +0100 (BST)
Date: Fri, 04 May 2007 11:18:12 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: PSARC/2007/234 Default shell environment: Skeleton user
 sh/ksh/ksh93/bash
In-reply-to: <20070504045537.GB5001@Sun.COM>
Sender: Darren.Moffat@sun.com
To: PSARC-EXT@sun.com
Cc: shell-discuss@opensolaris.org
Message-id: <463B0864.8030900@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <46312E4C.1020702@sun.com> <4632B411.9FC4D9C0@nrubsig.org>
 <46334f71.Fspbbj2lxSDxYvlQ%Joerg.Schilling@fokus.fraunhofer.de>
 <4634E881.7020303@sun.com>
 <4639e213.HxGcPKKZCCfnNpOr%Joerg.Schilling@fokus.fraunhofer.de>
 <b9c544f0705030627v6ca7dd4i264d79ebc696ec5e@mail.gmail.com>
 <463a071f.riHD0ricfsQYHFDG%Joerg.Schilling@fokus.fraunhofer.de>
 <463A1657.5070504@Sun.Com>
 <463a44da.yugUJHFxs2nAKwvB%Joerg.Schilling@fokus.fraunhofer.de>
 <463AB26D.5040209@sun.com> <20070504045537.GB5001@Sun.COM>
User-Agent: Thunderbird 2.0b2 (X11/20070326)
Status: RO
Content-Length: 532

The timer for this case was extended by one week, the timer now expires
on Wednesday 9th May 2007.

A point or two of order:

Please keep comments specific to the proposal under review.
Please keep the feedback technical:

the following are good:
	change x causes a regression
	change x is incomplete
	change x has a security problem
	change x won't work with the foo part of the system

the following aren't relevant for architecture review:
	I prefer y over x
	thing x that is unrelated should be done first

-- 
Darren J Moffat


From Darren.Moffat@sun.com Mon May 14 05:31:59 2007
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l4ECVxP2004398
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 14 May 2007 05:31:59 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l4ECUpt0027841
	for <@sunmail3mpk.sfbay.sun.com:PSARC-EXT@sun.com>; Mon, 14 May 2007 05:30:52 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JI100F0P6RFRS00@nwk-avmta-2.sfbay.sun.com> for PSARC-EXT@sun.com
 (ORCPT PSARC-EXT@Sun.COM); Mon, 14 May 2007 05:30:51 -0700 (PDT)
Received: from gmp-ea-fw-1.sun.com ([129.156.42.6])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JI100FGY6RFEL00@nwk-avmta-2.sfbay.sun.com> for
 PSARC-EXT@sun.com (ORCPT PSARC-EXT@Sun.COM); Mon,
 14 May 2007 05:30:51 -0700 (PDT)
Received: from d1-emea-09.sun.com ([192.18.2.119])
	by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l4ECUoGY016545	for
 <PSARC-EXT@Sun.COM>; Mon, 14 May 2007 12:30:50 +0000 (GMT)
Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0JI100J016KHH000@d1-emea-09.sun.com>
 (original mail from Darren.Moffat@Sun.COM)
 for PSARC-EXT@Sun.COM (ORCPT PSARC-EXT@Sun.COM); Mon,
 14 May 2007 13:30:50 +0100 (BST)
Received: from [129.156.173.21] by d1-emea-09.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0JI100CMJ6RE3B20@d1-emea-09.sun.com> for PSARC-EXT@Sun.COM
 (ORCPT PSARC-EXT@Sun.COM); Mon, 14 May 2007 13:30:50 +0100 (BST)
Date: Mon, 14 May 2007 13:30:50 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: PSARC/2007/234 [derailed]  Default shell environment: Skeleton user
 sh/ksh/ksh93/bash
Sender: Darren.Moffat@sun.com
To: PSARC-EXT@sun.com
Message-id: <4648567A.1020605@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
User-Agent: Thunderbird 2.0b2 (X11/20070326)
Status: RO
Content-Length: 813

This case was derailed at PSARC on Wednesday 9th May, since it was clear
from the discussion that is was not reaching consensus and is deemed
controversial to at least some members.

The recommendation is to bring a full case to review covering all four of:

2007/233 Default shell environment: machine ksh93/bash environment
2007/234 Default shell environment: Skeleton user sh/ksh/ksh93/bash
2007/235 Default shell environment: manual page subsystem
2007/236 Default shell environment: TMPDIR

There should be no further email discussion on this alias about these
cases since they are no longer fast-tracks.  The submitter and sponsor
will arrange the next steps.  The full case review should it happen will
be an open review, details of how to attend will be sent if/when it is
schedule.

-- 
Darren J Moffat


