User Tools

Site Tools


chsh

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.txt · Last modified: 2022/07/19 20:13 by 127.0.0.1