Solved - Re: Recovering lost root password by editing shadow

2016-12-16 Thread Robert Moskowitz
Something stupid, like changing shadow on another mounted drive I was working on... Sigh. thanks On 12/16/2016 12:02 PM, Greg Woods wrote: On Fri, Dec 16, 2016 at 9:32 AM, Robert Moskowitz > wrote: vi shadow (delete all the characters between the first

Re: Recovering lost root password by editing shadow

2016-12-16 Thread Greg Woods
On Fri, Dec 16, 2016 at 9:32 AM, Robert Moskowitz wrote: > vi shadow > (delete all the characters between the first and second :) > You might need to do the same with /etc/passwd too. --Greg ___ users mailing list -- users@lists.fedoraproject.org To u

Recovering lost root password by editing shadow

2016-12-16 Thread Robert Moskowitz
I have lost the root password on a arm server. Cannot use the boot to single user mode, but can pull the hard drive and mount it on another system... So what I did was: Mount drive on my notebook Then in a terminal window as root, cd to the drive's /etc dir chmod 711 shadow vi shadow (delete