OCI: Linux User Account Incorrectly Set to "nologin"
A local user account on a Linux instance was configured to use the nologin shell in error, as the user account needs to be able to log in to the Linux instance.
Attempting to log in or su to the local user account fails with an error that the account is currently not available, such as in the following example:
# su UserTest
This account is currently not available.
The following command shows UserTest's shell is set to nologin:
# cat /etc/passwd | grep UserTest
UserTest:x:502:502::/home/UserTest:/usr/sbin/nologin
Note: Some user accounts are system accounts for the operating system, and are set to use the nologin shell by default. There is no need to change them, unless it is required for specific reasons.
Tagged:
0