1Z0-821 · Question #155
The line set noexec_user_stack= l should be added to the /etc/system file to prevent an executable stack while executing user programs. What is the purpose of this?
The correct answer is D. help make buffer-overflow attacks more difficult. How to Disable Programs From Using Executable Stacks Purpose: Prevent executable stack from overflowing. You must be in the root role. Edit the /etc/system file, and add the following line: set noexec_user_stack=1 Reboot the system.
Question
The line set noexec_user_stack= l should be added to the /etc/system file to prevent an executable stack while executing user programs. What is the purpose of this?
Options
- Ahelp prevent core dumps on program errors
- Bhelp programs to execute more quickly by keeping to their own memory space
- Clog any messages into the stack log
- Dhelp make buffer-overflow attacks more difficult
How the community answered
(49 responses)- A4% (2)
- B6% (3)
- C16% (8)
- D73% (36)
Explanation
How to Disable Programs From Using Executable Stacks Purpose: Prevent executable stack from overflowing. You must be in the root role. Edit the /etc/system file, and add the following line: set noexec_user_stack=1 Reboot the system.
Topics
Community Discussion
No community discussion yet for this question.