Console magic :) Or how-to use pfexec/RBAC in right way.

Submit some alternative for VERY nice feature with sudo command:

# run the last command as root
pfexec !!

# Save a file you edited in vim without the needed permissions (in vi/vim)
:w !pfexec tee %

Leave a Reply

Your email address will not be published. Required fields are marked *