One of the objectives of this blog – when I started it – was to archive solutions to problems which took me a while to find. If at the time a Google search with the most common question to the problem didn’t show a page with a solution within the first results, I created a blog post in order for it to be easier accessible for myself – along with sharing that solution with the open web. Furthermore, it’s a technique to remember things easier: write them down once and you won’t forget.
In the beginning I was fooling around with a quad-boot system including OpenSolaris.
Unfortunately I haven’t been using OpenSolaris that much, so I kept forgetting what the equivalent to the Unix command sudo was. However I still remember that whenever I did use OpenSolaris, somehow it took me a while to find the answer – this might seem strange because when googling for “sudo in opensolaris” at this point in time, you will get the correct answer right away.
Nevertheless I thought this might be worth a tiny blog post and personal reminder that the OpenSolaris equivalent to Unix’s sudo is pfexec:pfexec <command>
or if I may quote Sun/Oracle: “In effect, pfexec functions as a passwordless su or sudo in Linux.”