I have a task to create an user john in App server 1. But How to get the username & passwrd for this App server 1 to get login into it by using ssh. Please suggest
Okkkkk
/sbin/nologin it works
but whyyyyyyyyyyyyy?
HI @Elsevi ,
The --shell
option specifies the user’s login shell. In this case, we are using the nologin
shell, which is a non-interactive shell that prevents the user from logging in. This is often used for system accounts that need to run background tasks or services, but do not need to log in to the system.
1 Like