Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 12:49:09 +0100
From:      Stefano Riva <sriva@alice.it>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bash
Message-ID:  <3.0.5.32.19990112124909.00a4b370@relay.alice.it>

next in thread | raw e-mail | index | archive | help
At 12.36 12/01/99 +0100, you wrote:
>I want to use the "bash"-shell as the standartshell.
>Witch config-file(s)  have to changed ?

  Login as root and use the "vipw" command; you'll see all the users on the
system. Locate yourself and change the last field of the line to
"/usr/local/bin/bash". For example, if you have:

  mucha:DKkjssgkgfk:1001:100::0:0:Andreas Mucha:/home/mucha:/bin/csh

  change it to:

  mucha:DKkjssgkgfk:1001:100::0:0:Andreas
Mucha:/home/mucha:/usr/local/bin/bash

  Of course, bash must be installed (if isn't, it's in the ports).

PS. If you want to set it as the default for NEW users, the command
"adduser" ask exactly what default shell you want anytime you launch it, in
a fresh system. Anyway, the adduser configuration file is /etc/adduser.conf
and you can modify it directly.

---

  Stefano Riva
  Software Engineer - Systems Administrator
  Informazioni Editoriali I.E. Srl
  Phone +39-027528400, Fax +39-027528451
  Email sriva@alice.it

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990112124909.00a4b370>