[kanchilug] 1D1C - chsh

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Tue, 24 May 2022 06:00:00 +0530

chsh - change login shell

To set login shell for user1
$ chsh -s /bin/bash user1

$ chsh
Password: *****
Changing the login shell for klug
Enter the new value, or press ENTER for the default
Login Shell [/bin/bash]: /bin/sh


To change current login shell from sh to bash
$ echo $SHELL
/bin/sh
$ chsh -s /bin/bash
$ echo $SHELL
/bin/bash



regards,
T.Dhanasekar

Other related posts:

  • » [kanchilug] 1D1C - chsh - Dhanasekar