Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2024 00:30:13 -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:  <CAJ5UdcOM==hXnw0=zb9GzdssDH_%2BDjgR=OTMSwpaUKXtP6jKaw@mail.gmail.com>
In-Reply-To: <CAJ5UdcOAGWjaxzpFWGhOJj63i_%2BQcap%2BXytm12amu3U1weWN%2BQ@mail.gmail.com>
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> <CAJ5UdcOAGWjaxzpFWGhOJj63i_%2BQcap%2BXytm12amu3U1weWN%2BQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 5, 2024 at 12:26=E2=80=AFAM Antonio Olivares
<olivares14031@gmail.com> wrote:
>
> 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

Dear Sir & all,

Problem has been corrected.  Ran the command successfully and the
shell has been changed.

Looking at last comment here helped
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248574

Best Regards,


Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcOM==hXnw0=zb9GzdssDH_%2BDjgR=OTMSwpaUKXtP6jKaw>