Skip to Content

error: User modify failed Cannot modify user on this node: OS=FreeBSD: Command not found. OS: Undefined

The following error occurs while trying to change the password on a freebsd system.
" User modify failed Cannot modify user on this node: OS=FreeBSD: Command not found. OS: Undefined variable."


set the root’s shell to bash:

chsh -s /usr/local/bin/bash root