User Tools

Site Tools


chsh

This is an old revision of the document!


Chsh

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.

chsh.1658260369.txt.gz · Last modified: 2022/07/19 21:13 (external edit)