Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 10:00:02 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Alex Kwan' <alexkwan@pacific.net.hk>, freebsd-questions@FreeBSD.ORG
Subject:   RE: set bash as user's default shell
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105BC3@site2s1>

next in thread | raw e-mail | index | archive | help
The full path to all valid shells on the system must exist in /etc/shells.
Just add /usr/local/bin/bash or whatever the path is to the /etc/shells
file.

After the user is already created you'll want to use vipw to edit the
password and change the default shell.
-Chris

> -----Original Message-----
> From:	Alex Kwan [SMTP:alexkwan@pacific.net.hk]
> Sent:	Sunday, August 22, 1999 9:45 AM
> To:	freebsd-questions@FreeBSD.ORG
> Subject:	re: set bash as user's default shell
> 
> Hi!
> 
> When I add a new user to my FreeBSD system,
> the adduser program only let me choice the
> default shell as "csh or sh", how can I set
> it as bash?
> 
> Thanks!
> 
> Alex 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?6C37EE640B78D2118D2F00A0C90FCB4401105BC3>