Re: change root shell from /bin/csh to /bin/sh

From: Antonio Olivares <olivares14031_at_gmail.com>
Date: Fri, 05 Jan 2024 06:30:13 UTC
On Fri, Jan 5, 2024 at 12:26 AM Antonio Olivares
<olivares14031@gmail.com> wrote:
>
> On Fri, Jan 5, 2024 at 12:21 AM 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=248574

Best Regards,


Antonio