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