Oracle
1Z0-409 · Question #239
You have logged in as normal user bob with the default login shell. An attempt by bob to change the default shell to /bin/sh fails with an error. What could be the possible reason?
The correct answer is B. The /bin/sh entry is not listed in /etc/shells file. See the full explanation below for the reasoning.
Question
You have logged in as normal user bob with the default login shell. An attempt by bob to change the default shell to /bin/sh fails with an error. What could be the possible reason?
Options
- AThe SUID bit is not set on chsh by default.
- BThe /bin/sh entry is not listed in /etc/shells file.
- Cbob does not have the permissions to change the shell by default.
- Dbob does not have read permissions on the/etc/shells file by default.
How the community answered
(55 responses)- A2% (1)
- B82% (45)
- C11% (6)
- D5% (3)
Community Discussion
No community discussion yet for this question.