*BSD News Article 57861


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!blackbush.xlink.net!news.uni-mainz.de!news.th-darmstadt.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: New User Admin
Date: 2 Jan 1996 22:44:17 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <4cccg1$gsc@uriah.heep.sax.de>
References: <4caoal$bpa@news2.realtime.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

dhbrown@bga.com (Dave Brown) writes:

> First, since I never liked the c-shell, I downloaded the bash port and 
> compiled it.  Okay, so now, I want to make bash my login shell.  I change 
> that in field 6 of the /etc/passwd file and guess what... c-shell is still 
> the login shell... huh?

/etc/passwd is a dummy, comparable to AIX, for example.

Use vipw(8) or chsh(1) to change your shell.  RTFM passwd(5) if you
wanna know about the details.

> Next question is, I put a .profile in my home directory.  Well, it isn't 
> read on log-in.  Huh?  

As you wrote: you're still using a C-shell.  csh reads ~/.login at
login time, and ~/.cshrc at each invocation.  (The latter function-
ality has no real equivalent in standard Bourne-alike shells.  I
think, bash has it though.)

> <Also, why is it that the FreeBSD boot manager doesn't recognize the Linux 
> partition?

No idea for this.  I don't know what a boot manager is. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)