I mistakenly changed the root shell to something which doesn't exist.
Was trying to make it bash and used /bin/bash instead of /usr/local/bin/bash.
As a consequence, all login attempts fail because the shell can't be found.
Unfortunatley, I shut down the session in which I modified /etc/passwd
On Sep 26, 2012, at 6:06 PM, Gary Aitken wrote:
I mistakenly changed the root shell to something which doesn't exist.
Was trying to make it bash and used /bin/bash instead of /usr/local/bin/bash.
As a consequence, all login attempts fail because the shell can't be found.
Unfortunatley, I
On Wed, 26 Sep 2012 19:06:18 -0600, Gary Aitken wrote:
I mistakenly changed the root shell to something which doesn't exist.
Was trying to make it bash and used /bin/bash instead of /usr/local/bin/bash.
A typical Linuxism. :-)
As a consequence, all login attempts fail because the shell
On 9/26/2012 9:06 PM, Gary Aitken wrote:
Probably not. Just boot a livecd that supports your HBA and FS, mount
your Root FS, and:
# vipwd -d /mnt/rootfs
or mount /usr as well and:
# chroot /mnt/rootfs usermod -s /usr/local/bin/bash root
guidance?
Thanks, all.
On 09/26/12 19:18, Polytropon wrote:
On Wed, 26 Sep 2012 19:06:18 -0600, Gary Aitken wrote:
I mistakenly changed the root shell to something which doesn't exist.
Was trying to make it bash and used /bin/bash instead of /usr/local/bin/bash.
A typical Linuxism. :-)
Never run on
On Wed, 26 Sep 2012 22:07:26 -0600, Gary Aitken wrote:
Thanks, all.
On 09/26/12 19:18, Polytropon wrote:
That's why you should be using the toor account and leave root
unchanged.
I realized that about the time I learned I had given root to a bad shell path;
at which time I also