Subject: PSARC FastTrack [10/04/2005]: useradd default shell


Template Version: @(#)sac_nextcase 1.55 08/11/04 SMI
Copyright 2005 Sun Microsystems, Inc.
1. Introduction
    1.1. Project/Component Working Name:
	 useradd default shell
    1.2. Name of Document Author/Supplier:
	 Author:  Brian Utterback
    1.3  Date of This Document:
	28 September, 2005
4. Technical Description
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

1. Introduction
    1.1. Project/Component Working Name:
	 useradd default shell
    1.2. Name of Document Author/Supplier:
	 Author:  Brian Utterback
    1.3  Date of This Document:
	28 September 2005
4. Technical Description

Problem:
========
There is no way for a system administrator to set a default shell
to be used when adding new users to the system with the useradd 
command. 

The useradd command has a provision for setting several default
values to be used when adding new users. The system administrator
may set a default value to be used for the primary group, primary
project, inactive and expiration periods, as well as the base path
to be used for the home directory. It does not allow the system
administrator to set a default shell, however. 

Originally, there were not so many choices for user shell as there
are today. It is now much more likely that a system administrator 
will want to specify a shell for every new user that is added. 

Solution:
=========
Remove the restrictions in useradd that prevent setting a default
shell, skel.

In addition, there is another parameter that is restricted
for no apparent or documented reason. This is the skel directory
Preventing the setting of a default on this seems arbitrary
and allowing it may be useful. It is therefore proposed to remove
this restriction as well.

We request patch/micro release binding. 

The new flags represent a stable interface.


Materials:
=========
A full diff-marked man page is in the case directory.

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

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