CORRECT TEXT
Create the user named eric and deny to interactive login.
Answer:
Explanation:
1. useradd eric
2. passwd eric
3. vi /etc/passwd
4. eric:x:505:505::/home/eric:/sbin/nologin
Which shell or program should start at login time is specified in /etc/passwd file. By default Redhat
Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should
write /sbin/nologin or /bin/false instead of login shell.