Monday, 11 June 2012

How to add a new user in ubuntu


# sudo useradd -d /home/scott -m scott

Changing default shell in ubuntu

2. Use chsh command
a) type chsh

    $ chsh

b) You will be asked for password. Enter your password
c) This screen will appear

    Enter the new value, or press ENTER for the default
    Login Shell [/bin/sh]:

d) Put /bin/bash at the menu and press Enter.


No comments:

Post a Comment