Child pages
  • Minor Fixes
Skip to end of metadata
Go to start of metadata

Much Ado About Shells

Under normal configuration, when creating a user under Ubuntu, the default shell is set to /bin/sh. To change the default shell, edit /etc/vz/dists/scripts/set_userpass.sh . Here is the diff.

set_userpass.sh.diff
36c36
< 		useradd -m "${user}" 2>&1 || exit $VZ_CHANGEPASS
---
> 		useradd -m "${user}" -s "/bin/bash" 2>&1 || exit $VZ_CHANGEPASS
  • No labels