Chapter 4. Managing User Accounts and Groups (Overview)

Table of Contents

What's New in Managing Users and Groups?
useradd Default Shell Enhancements
Tools for User Account and Group Account Management
What Are User Accounts and Groups?
User Account Components
Guidelines for Using User Names, User IDs, and Group IDs
Where User Account and Group Information Is Stored
Fields in the passwd File
Default passwd File
Fields in the shadow File
Fields in the group File
Default group File
Tools for Managing User Accounts and Groups
Tasks for Solaris User and Group Management Tools
Managing Users and Resources With Projects
Customizing a User's Work Environment
Using Site Initialization Files
Avoiding Local System References
Shell Features
Shell Environment
The PATH Variable
Locale Variables
Default File Permissions (umask)
Examples of User and Site Initialization Files

What's New in Managing Users and Groups?

This sections includes information about new or changed features for managing users and groups in this Solaris release.

For a complete listing of new Solaris features and a description of Solaris releases, see What’s New in Solaris Express .

useradd Default Shell Enhancements

Solaris Express 5/06: The useradd command now enables you to specify a default shell by using the s option and a default skeldirectory by using the k option.

For example:

# useradd  -D  [-s /usr/bin/ksh]  [-k /export/home] foo 

You can now also specify a base directory without using the D option.

For example:

# useradd [-b /export/home] foo

For more information on these changes, see the useradd ( 1M ) man page.