🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54737

Re: help linux rookie

#54737
From: Zebee Johnstone
Date: Tue, 16 Sep 1997 00:00
26 lines
1373 bytes
On Tue, 16 Sep 1997 11:44:49 +0800, Rodney Hendricks <hendr-rg@ee.uwa.edu.au> wrote:
>Could someone tell me, as a linux user, how do i change my default
>shell?  i know you can just open any shell on top of the default, but i
>want to avoid running unneeded shells in the background.
>

Two ways.

one is to edit the /etc/passwd file directly.  as root, use the
vipw command, or (if you hate vi) some other editor to change
the shell in your password entry.

the safer and quicker method is to use the chsh command which
can be done as the user (you don;t have to be root) and 
which will change your /etc/password entry for you.

In either case you need to know the exact name and path of the new
shell, eg /bin/csh.

Zebee

-- 
Zebee Johnstone (zebee@zip.com.au) Proud holder of aus.motorcycles Poser Permit #1.  
"You don't own an Italian motorcycle 
        - you merely have the privilege of paying its bills."
Technical Details
Message-ID: <slrn61s08p.dm1.zebee@zipper.zip.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <341E00B1.41C6@ee.uwa.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,3f9025fff7b42245,start
X-Google-Attributes: gid102983,public
From: zebee@zipper.zip.com.au (Zebee Johnstone)
Subject: Re: help linux rookie
Date: 1997/09/16
Message-ID: <slrn61s08p.dm1.zebee@zipper.zip.com.au>
X-Deja-AN: 272913014
References: <341E00B1.41C6@ee.uwa.edu.au>
Organization: Zip Internet Professionals Pty Ltd
Newsgroups: aus.computers.linux