Go to main content

Transitioning From Oracle® Solaris 10 to Oracle Solaris 11.3

Exit Print View

Updated: December 2018

User Environment Feature Changes

    Note the following user environment feature and command changes:

  • Addition of /var/user/$USER – Starting with Oracle Solaris 11.1, whenever a user logs in and successfully authenticates by using the pam_unix_cred module, a /var/user/$USER directory is explicitly created, if the directory does not already exist. This directory enables applications to store persistent data that is associated with a particular user on the host system. The /var/user/$USER directory is created upon initial credential establishment, as well during a secondary authentication when changing users by using the su, ssh, rlogin, and telnet commands. The /var/user/$USER directory does not require any administration. However, users should be aware of how the directory is created, its function, and that it is visible in the /var directory.

  • Command locations – Administration commands that were previously in /sbin have moved to /usr/sbin. In addition, the /sbin directory has been replaced by an /sbin/usr/sbin symbolic link.

  • Default login and other shell changes - In Oracle Solaris 10, the default scripting shell (/bin/sh) is the Bourne shell. Starting with Oracle Solaris 11, /bin/sh is the Korn shell (ksh93), and the default interactive shell is the Bourne-again (bash) shell. When used as a login shell, bash retrieves configuration information from the first instance of .bash_profile, .bash_login, or .profile file.

      Note the following additional changes:

    • The legacy Bourne shell is available as /usr/sunos/bin/sh.

    • The legacy ksh88 is available as /usr/sunos/bin/ksh from the shell/ksh88 package.

    • Korn shell compatibility information is available in /usr/share/doc/ksh/COMPATIBILITY.

  • Default user path and PATH environment variable – The default user path is /usr/bin. The default path for the root role is /usr/bin:/usr/sbin. The default PATH environment variable for bash is /usr/bin:/usr/sbin

  • Developer tools locations – Developer tools that were previously in /usr/ccs/bin have moved to /usr/bin. The /usr/ccs/bin directory is replaced by a /usr/ccs/bin/usr/bin symbolic link.

  • Editor changes – The vi family of editors, including /usr/bin/vi, /usr/bin/view, and /usr/bin/ex, are links to the vim open source implementation of the vi editor. The traditional SunOS versions of these commands are available in /usr/sunos/bin/.

  • File locations– Files that were previously in the /usr/sfw directory are now in /usr/bin.

  • Java version – Java 8 is the default version in this release. For more information about transitioning from Java 7 to Java 8, go to https://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html.

  • MANPATH variable – The MANPATH environment variable is no longer required.

    The man command determines the appropriate MANPATH, based on the PATH environment variable setting.