nerdexam
Oracle

1Z0-821 · Question #27

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

The correct answer is A. bash shell. Oracle Solaris 11 introduces user environment and command-line argument changes that include 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

Administering User Accounts

Question

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?

Options

  • Abash shell
  • BC shell
  • Ckorn shod
  • Dbourne shell

How the community answered

(33 responses)
  • A
    82% (27)
  • B
    3% (1)
  • C
    3% (1)
  • D
    12% (4)

Explanation

Oracle Solaris 11 introduces user environment and command-line argument changes that include * 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.

Topics

#useradd#default shell#defadduser#bash shell

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice