Jul 292009
Type the following command to disable shell access for tom:
# chsh -s /sbin/nologin {username}
# chsh -s /sbin/nologin tom
Sample Outputs:
Changing shell for tom
Shell changed.
Type the following command to disable shell access for tom:
# chsh -s /sbin/nologin {username}
# chsh -s /sbin/nologin tom
Sample Outputs:
Changing shell for tom
Shell changed.
Sorry, the comment form is closed at this time.