I'm new to FreeBSD and running 10.2 in a VirtualBox VM. I've added my username to the wheel group as documented here. Is there a way to log into root using su by supplying my own password (i.e. instead of providing the root password)?
If you're just trying to avoid using the root password, you could install sudo and use it instead of su. Here's what I do for new installs (although I'm new to BSD and I hope someone corrects me if this is wrong).
Personally, I do not like sudo(8). This may be because I am mainly accessing my FreeBSD and Linux systems by sshing into them, and becoming root as needed with su. The implication is that having to know the system password in addition to a user password is at least an additional hurdle. I can understand not caring about this behavior if you are not allowing network logins, anyway.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.