Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-06 Thread Andrei POPESCU
On Lu, 06 oct 14, 10:23:28, John Aten wrote: > I booted up the broken system and attempted to get the device name > looking at /etc/fstab, mount and fdisk -l. I got a device name > (/dev/sda1) and a UUID. You should use 'fdisk -l' or 'blkid' only after you boot with your rescue disk/usb/whatev

Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-06 Thread John Aten
On Oct 5, 2014, at 8:10 PM, William Unruh wrote: > Log on as oot. the system does not care what the name is. All it cares > about is the uid (0) You could call uid 0 donduck and your system would > not care, as long as you used that name to log on. > Of course this does not mean you should leave

Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Hasler
John Aten writes: > sudo: unknown user: root sudo: unable to initialize policy plugin Ok, then you have to boot the CD and mount the disk. Then just edit the file with a text editor. -- John Hasler jhas...@newsguy.com Elmwood, WI USA -- To UNSUBSCRIBE, email to debian-user-requ...@lists.deb

Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Aten
On Oct 5, 2014, at 6:42 PM, John Hasler wrote: >> This brings up the /etc/passwd of the live system, not the broken >> /etc/passwd on the hard drive. > > Boot up the broken system. Log into your own account. > > sudo vipw > > Fix the root acount entry. I tried that, and it returns: sudo:

Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Hasler
John Aten writes: > How do I get access to the installed /etc/passwd ? sudo vipw -- John Hasler jhas...@newsguy.com Elmwood, WI USA -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://

root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Aten
On Oct 5, 2014, at 4:21 PM, Nemeth Gyorgy wrote: > 2014-10-05 19:42 keltezéssel, John Aten írta: > >> I just built bash 4.3.29 from source. I wanted to change my root and one >> user account to use it as the default shell. I ran sudo chsh and entered >> /usr/local/bin/bash, and everything was

Re: login problems on change of default shell

2014-10-05 Thread Nemeth Gyorgy
2014-10-05 19:42 keltezéssel, John Aten írta: > I just built bash 4.3.29 from source. I wanted to change my root and one user > account to use it as the default shell. I ran sudo chsh and entered > /usr/local/bin/bash, and everything was fine. I could log in and out, run > commands, and the $SH

login problems on change of default shell

2014-10-05 Thread John Aten
Hi all, I just built bash 4.3.29 from source. I wanted to change my root and one user account to use it as the default shell. I ran sudo chsh and entered /usr/local/bin/bash, and everything was fine. I could log in and out, run commands, and the $SHELL and $BASH_VERSION environment variables co

login problems on change of default shell

2014-10-05 Thread John Aten
Hi all, I just built bash 4.3.29 from source. I wanted to change my root and one user account to use it as the default shell. I ran sudo chsh and entered /usr/local/bin/bash, and everything was fine. I could log in and out, run commands, and the $SHELL and $BASH_VERSION environment variables co