[Novalug] root password buggered
greg pryzby
greg@pryzby.org
Tue May 26 12:09:20 EDT 2015
by default it should be mounted by most liveCD. That is why I gave my
answer, easier.
To see what is mounted
df
If you don't see /dev/sdXY mounted, then you will need to find and mount
lvmscan
fdisk -l
will help you find partitions
mount /<output from above command> /mnt
ls /mnt/etc/passwd
the ls should show the file, if so
chroot /mnt
passwd
(enter 2x)
exit
reboot (and remove media)
On Tue, May 26, 2015 at 12:03 PM, Beartooth <beartooth@beartooth.info>
wrote:
> On Tue, 26 May 2015, John Kennedy wrote:
>
> You could also boot to a Live Linux CD (does not matter which distro) and
>> either chroot your environment and change the password or you could edit
>> the sudoers file and give yourself sudo access to root so you can change
>> the password after booting.
>>
>
> I don't do sudo. With a live CD, don't I have to mount my hard
> drive? Is it obvious how to do that, for instance if I open File System in
> the GUI??
>
> --
> Beartooth Implacable, Curmudgeon On Line
> They say it's a great life, if you don't weaken.
>
--
greg pryzby greg at pryzby dot org
http://www.linkedin.com/in/gpryzby
TWTR: gpryzby
WEB: http://www.MakeRoomForArt.com/
BLOG: http://lonetrikerphotography.tumblr.com/ (photos)
More information about the Novalug
mailing list