Chsh

From Wiki

Revision as of 15:26, 6 May 2006 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Change a Users Login Shell for Abuse/Unpaid Fees etc.

This will prevent a User from logging into the system via ssh/samba etc.

The Message etc. must be in /etc/shells. The -s option makes it NOT interactive for the user to select shell.

chsh -s /etc/messages/message user

Default shell = /bin/bash



Info. got from skynet. - Cheers lads.

Personal tools