IT Questions and Answers :)

Wednesday, March 31, 2021

Which command, included by default with OpenBSD 6.3, allows you to execute a command as another user?

 Which command, included by default with OpenBSD 6.3, allows you to execute a command as another user?

  • doas
  • sudo
  • runas
  • suid               
Which command, included by default with OpenBSD 6.3, allows you to execute a command as another user?


EXPLANATION

The doas(1) utility first appeared in OpenBSD 5.8, intended as a lightweight drop-in replacement for sudo(1), which stopped being included in the base system since OpenBSD 5.7. The sudo utility had a large codebase, with lots of customizable bells and whistles. Most users would never use the advanced features of sudo, so in an attempt to minimise the attack surface and make a simpler tool, Ted Unangst wrote doas.

Despite being smaller and with fewer options, it still aimed to retain the fine-grained control that people had come to expect of utilities such as sudo, as Ted Unangst describes in his blog post: https://https.www.google.com.tedunangst.com/flak/post/doas

SOURCE

https://man.openbsd.org/doas.1
Share:

0 comments:

Post a Comment

Popular Posts