Networking, Programming and Graphics Tutorials
Home >> OS >> Unix >> SSH >>

Change the shell for user in FreeBSD [1/1]

Type: Code Networking, Programming and Graphics Tutorials
Change the shell for user in FreeBSD
Level: Beginner Networking, Programming and Graphics Tutorials 
Change the shell for user in FreeBSD
Date: 2007-Nov-05
Change the shell for user in FreeBSD
Visited: 1602 times
Change the shell for user in FreeBSD
Rating: Change the shell for user in FreeBSD
Change the shell for user in FreeBSD
Author: Stephen Think

This tutorial will help you change the default shell for your user.
Generally you can edit that in /et/passwd but sometimes this doesn't work.

In UNIX you have a handy console tool called chsh. You execute that from the command line and it will open your user profile in the default editor for the system.
You will see something like this:


#Changing user information for user.
Login: user
Password: xxxxxxxxxxxxxxxxxxxxxxxxx
Uid [#]: N
Gid [# or name]: NN
Change [month day year]:
Expire [month day year]:
Class:
Home directory: /home/user
Shell: /usr/local/bin/bash
Full Name: Charlie &
Office Location:
Office Phone:
Home Phone:
Other information:
You simply need to specify the path of the new shell on the Shell: line.
Save the changes, logout and log back in. You are done.

Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Change the shell for user in FreeBSD [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: change shell user freeBSD  change open_basedir freebsd  FreeBSD /etc/inputrc  freeBSD with plesk  freebsd inputrc  inputrc freebsd  inputrc freebsd  inputrc freebsd  set vhost on freebsd  vhost freebsd  freebsd inputrc  freebsd AND delete in ssh  End Home freebsd vi  bindkey home end FreeBSD  freebsd home end keys  freebsd bash home end  freebsd enable home end  freebsd + bash +"how to configure"  freebsd bash .inputrc  freebsd home end keys