Disable user login shell usermod -s /bin/false username

Enable User login shell
usermod -s /bin/bash username
Edit home directory
vi /etc/passwd
Check the status
more /etc/passwd