Re: change root shell from /bin/csh to /bin/sh
Date: Fri, 05 Jan 2024 06:26:41 UTC
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