What is the difference between a user shell of USR sbin Nologin and bin false explain the difference?

What is the difference between a user shell of USR sbin Nologin and bin false explain the difference?
Answer
Originally, /bin/false has been created for a general command as it always returns non-zero. Then, seems it is used as nologin user’s shell before creating /sbin/nologin. On the other hand, /sbin/nologin has been created for nologin user’s shell,
it has a feature to give a message
in /etc/nologin.
 

Tìm kiếm

Back
Top