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.

© 2012 James Border Suffusion theme by Sayontan Sinha