JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Transitioning From Oracle Solaris 10 to Oracle Solaris 11     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

1.  Transitioning From Oracle Solaris 10 to Oracle Solaris 11 (Overview)

2.  Transitioning to an Oracle Solaris 11 Installation Method

3.  Managing Devices

4.  Managing Storage Features

5.  Managing File Systems

6.  Managing Software

7.  Managing Network Configuration

8.  Managing System Configuration

9.  Managing Security

10.  Managing Oracle Solaris Releases in a Virtual Environment

11.  User Account Management and User Environment Changes

Tools for Managing User Accounts, Groups, and Roles

Creating and Managing User Accounts, Groups, and Roles

User Passwords

Creating User Accounts

Modifying User Accounts

Creating Roles

Sharing Home Directories That Are Created as ZFS File Systems

How Home Directories Are Mounted in Oracle Solaris 11

User Environment Feature Changes

Default Login Shell and PATH Environment Variable

Oracle Solaris 11 Man Page Changes

12.  Using Oracle Solaris Desktop Features

A.  Transitioning From Previous Oracle Solaris 11 Releases to Oracle Solaris 11

Creating and Managing User Accounts, Groups, and Roles

In Oracle Solaris 11, you create and manage users, groups, and roles by using command-line tools only. There is currently no GUI tool for performing these tasks. In addition, the command-line tools that are used by the Solaris Management Console are no longer available. See Removal of Legacy System Management Commands, Tools, Services, and Files.

For information about managing using accounts and groups, see Chapter 2, Managing User Accounts and Groups (Overview), in Oracle Solaris Administration: Common Tasks and Chapter 3, Managing User Accounts and Groups (Tasks), in Oracle Solaris Administration: Common Tasks.

User Passwords

The default password hashing algorithm is now SHA256. This password hash is similar to the following:

$5$cgQk2iUy$AhHtVGx5Qd0.W3NCKjikb8.KhOiA4DpxsW55sP0UnYD

Also, there is no longer an eight character limitation for user passwords. The eight character limitation only applies to passwords that use the older crypt_unix(5) algorithm, which has been preserved for backwards compatibility with any existing passwd file entries and NIS maps.

Passwords are encoded by using one of the other crypt(3c) algorithms, including the SHA256 algorithm, which is the default in the policy.conf file. Thus, passwords can now be much longer than eight characters. See policy.conf(4).

Creating User Accounts

User account creation and management in Oracle Solaris 11 has changed in the following ways:

Modifying User Accounts

In Oracle Solaris 10, audit attributes cannot be assigned by using the usermod command. In Oracle Solaris 11, the usermod command works with LDAP and files. All security attributes can be assigned to a user by using this mechanism.

For example, an administrator can add a role to a user's account by using the usermod command.

# roleadd -K roleauth=user -P "Network Management" netmgt
# usermod -R +netmgt jdoe

See usermod(1M) for additional examples.

Creating Roles

Roles can be created locally and in an LDAP repository. To create a role and assign an initial password, you must be assigned the User Management rights profile. To assign security attributes to the role, you must be assigned the User Security rights profile. The important difference for role authentication in Oracle Solaris 11 is the addition of the roleauth=user keyword and the pam_tty_tickets module for authentication caching. Note that the pam_tty_tickets module is not enabled by default. To add the module, edit the /etc/pam.conf file as follows:

# vi /etc/pam.conf
su    auth    required    pam_unix_cred.so.1
su    auth    sufficient  pam_tty_tickets.so.1
su    auth    requisite   pam_authtok_get.so.1
su    auth    required    pam_dhkeys.so.1
su    auth    required    pam_unix_auth.so.1

The entire su stack is required. The pam_tty_tickets.so.1 module provides the cache. See pam.conf(4). For instructions on creating a role, see How to Create a Role in Oracle Solaris Administration: Security Services.

Sharing Home Directories That Are Created as ZFS File Systems

An NFS or a SMB share of a ZFS file system is created and then the share is published, which involves the following actions:

See How to Share Home Directories That Are Created as ZFS File Systems in Oracle Solaris Administration: Common Tasks.

How Home Directories Are Mounted in Oracle Solaris 11

Because home directories are created as ZFS file systems in Oracle Solaris 11, you typically do not need to manually mount home directories. The home directory is automatically mounted during its creation and also at boot time from the SMF local file system service. For instructions on manually mounting a user's home directory, see Manually Mounting a User’s Home Directory. in Oracle Solaris Administration: Common Tasks.