In pretty much any GNU/Linux distribution you use sudo or su, What's the right choice for FreeBSD 10 ?
What's the sudo equivalent for FreeBSD?
freebsd;sudo
FreeBSD does support sudo it's likely just not installed by default. Installation instructions are here, titled: FreeBSD: Install sudo Command To Execute A Command As The Root.As root:FreeBSD < 10# pkg_add -r sudoFreeBSD 10+# pkg install sudoThe default sudoers file is located here: /usr/local/etc/sudoers. To edit it and add rules you need to use the visudo command.$ su -$ visudoThen to give a user access to everything as root:userX ALL=(ALL) ALLTo become root (as userX):$ sudo -s-or-$ sudo -i