You are logged in as root to a newly installed Solaris 11 system. You issue the command useradd
-d, and then examine the /usr/sadm/defadduser file. This file includes the entry defshell=/bin/sh.
Which shell will now be the default for the next account created?
A.
bash shell
B.
C shell
C.
korn shod
D.
bourne shell
Explanation:
Oracle Solaris 11 introduces user environment and command-line argument
changes that include the following:
* Shell changes – The default shell, /bin/sh, is now linked to ksh93. The default user shell is the
Bourne-again (bash) shell.
* 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.Reference: Oracle Solaris 11 Information Library, User Environment Feature Changes
C
D
http://docs.oracle.com/cd/E23824_01/html/E24456/userenv-1.html
##Shell changes – The default shell, /bin/sh, is now linked to ksh93. The default user shell is the Bourne-again (bash) shell.