Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2024 00:26:41 -0600
From:      Antonio Olivares <olivares14031@gmail.com>
To:        "Alexander Moisseev <" <moiseev+lists@mezonplus.ru>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: change root shell from /bin/csh to /bin/sh
Message-ID:  <CAJ5UdcOAGWjaxzpFWGhOJj63i_%2BQcap%2BXytm12amu3U1weWN%2BQ@mail.gmail.com>
In-Reply-To: <c25c223b-f441-1648-ea98-f89adb69c4ff@mezonplus.ru>
References:  <CAJ5UdcPRMv1V=uX2rCC6aPbviieCOK7LO%2Bu3an%2BmjpDWuaiyAw@mail.gmail.com> <CAFYkXjkXerve1OKHCvCjSo3Y%2BYG08FiQy-vRaXzbkRWjZ3qhNg@mail.gmail.com> <CAJ5UdcO6%2BC-25-5kkQ0NiLwoZE=HJVeo4QfUyjFL%2BgbBytUJxw@mail.gmail.com> <c25c223b-f441-1648-ea98-f89adb69c4ff@mezonplus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 5, 2024 at 12:21=E2=80=AFAM Alexander Moisseev <
<moiseev+lists@mezonplus.ru> wrote:
>
> On 05.01.2024 9:02, Antonio Olivares wrote:
> >
> > root@rosewill:~ # pw root -s /bin/sh
> > pw: unknown keyword `root'
> >
>
> # pw usermod root -s /bin/sh
>

Got an error before but now succeded.

root@rosewill:~ # /usr/sbin/pwd_mkdb -p /etc/master.passwd
root@rosewill:~ # pw usermod root -s /bin/sh
root@rosewill:~ # echo $SHELL
/bin/csh
root@rosewill:~ #

Will log out and back in to see if it changed.


Best Regards,


Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcOAGWjaxzpFWGhOJj63i_%2BQcap%2BXytm12amu3U1weWN%2BQ>