login to user linux code example
Example: set linux user to login
To allow a system user to log in, you can use usermod to change its login shell to bash:
usermod -s /bin/bash user
To allow a system user to log in, you can use usermod to change its login shell to bash:
usermod -s /bin/bash user