ER
Boot with the slackware-boot-cd
Mount the /- dir at a favorite point
Go to mountpoint/etc and edit shadow.
Delete in the root-line every character between the first two:.
Save it. Reboot and start root without a passwd. Just
type return. And don't forget to give root a new passwd.
Peter
--
_____________________________________________________________________________
Microsoft has been doing a really bad job on their OS.
Linus Torvalds
_____________________________________________________________________________
1)Boot the system with the setup cd.
2)mount the partition containing the /etc directory
3)edit the file shadow, you will see a string along side with root,
root:$1$Bcq08:12178:0:::::
remove the string of characters between the first and second colon,
after editing, it should look like:
root::12178:0:::::
4)now, reboot your system , your root password have been remove. hope
this help!
enjoy!
> Boot with the slackware-boot-cd
This isn't always an option.
Sometimes the best thing to do is append init=/bin/bash (or your favorite
shell) to the lilo entry and start making your changes.
--
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
> Here's what i would do,
>
-snip-
Thanks. I've tried, and it works (not that I doubt it, but I usually want
to check wether I'm able to replicate a result or not). I've only to do a
copy of my slackware cd and leave it @work.
Best regards
ER
LILO: Slackware init=/bin/bash
mount -o remount,rw /
passwd
mount -o remount,ro /
Hit the Reset button now. Cheers.
--
(___ _// ______, .___,_, \________
| ''o J| J''o | 'Y' `-----.. | / "o\
||~||~ ||~||~ \---\-/ |--|-U--" ||--|| [n4biS]
ok pal, now here's what you have to do
boot: linux init=/bin/sh
then it will boot your system but it will end up with a # shell
Your system has the minimal services and it is mounted read only
les suppose your / is your /dev/hda2.type:
bash-2.05# /sbin/mount /dev/hda2 / -o remount,rw
bash-2.05# passwd
.
blah..blah..you change your password
.
password changed
bash-2.05# /sbin/mount /dev/hda2 / -o remount,ro
ctl-alt-del (aka reboot)
Be sure to finally remount your / as ro or something might screw up.
regards,
spyros
- --
student @ D.U.TH.
pub-key: http://dalab.ee.duth.gr/~spyros/my_pub.asc
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 - not licensed for commercial use: www.pgp.com
iQEVAwUBPuxs0z2QMCA0LA8jAQKqTggAz8yvjdaPv5wHNPp490a2IWyTc5P6cvxL
keoEcvkQk/OG3BJwgQ6krY9KmtyWoH/QrA7Yd8rC5vASFEtmyAeY4mtk4lK10Lto
5FoKRzKGX7euMQqm/jEl1IHE/PMcTvQtDUbwTAxLpQ/wBOZa7kuc7P/+EtM66O6x
rIhP2c9kaKpY/d5tXicxOV/UUk5r3s3C95D5B6EHvwNVDdulWj7R5LIQIXuilHXU
68i+VRUgdMTdVrhUTc2T+rxha/5kNMSUk1T4uipu+hXgbIzlLpkTyBsWnvpdsVcb
QBD6k+kQyZgW7QsyALCE1s0X4Miua2ERwWMOMr+JU8cXkaNYy9ITYA==
=oHqS
-----END PGP SIGNATURE-----