Change login shell

From CS Wiki

Jump to: navigation, search

Changing your login shell

From your browser

First, go to http://www.cs.mtsu.edu and click on the Login Page link.

Image:Log_In.png

Now, log in with your username and password.

Image:User_Login_Form.png


A menu with your username as the title will appear above the search box. Click the My Account link.

Image:Drupal_Navigation_block.png

Select the Edit tab and select the UNIX Attributes option.

Image:Drupal_UNIX_Attributes.png

After changing your Login Shell option, click Submit.


From the Command Line

First, log in to Linux_row.

Then use the chsh command to change your login shell:

chsh

You will then be prompted for your new login shell path

Changing the login shell for janedoe
    Login Shell: [/bin/bash]
Enter new shell value: /bin/tcsh


Alternatively, you can use the -u flag with the command:

chsh -u /bin/tcsh

This will change whatever shell you had previously to /bin/tcsh without prompting you for it.

Personal tools