I recently did a HD install with a reformatted HD, changed the root and user passwords. the user password works fine but the su/root password does not, so I cannot use package manager, controlbox, etc. I tried to recover the password using the liveCD, but do not know the location (etc/passwd points to a location in /root that does not exist in the install) does anyone have a suggestion for how to make this work?

SU not working on HD install
(5 posts) (4 voices)-
Posted 13 years ago #
-
Which version of SliTaz are you using and did it give you any errors while it installed?
I've had a similar issue once with a cooking version, but it was because I had a bad iso copy. It booted and everything, but always gave an error when you install saying that it failed to create root (whatever that means). In the end I couldn't use my root password at all. For me using the default root password (root) worked.
Posted 13 years ago # -
I'm using 3.0 stable... I got no errors while installing or on boot, and I also tried the default password and several permutations of the password that I thought that I entered (I wrote it down so I know what I typed... but I made sure that it wasn't an accidental capitalization etc.) I'm still not sure why it's acting strangely.
Posted 13 years ago # -
Check what's in this file : ~/.config/slitaz/subox.conf
Posted 13 years ago # -
Can you login as root to console? Kill Xserver with ctrl+alt+bkspace to find out. If not I would boot the live cd and mount the broken installs partition.Chroot in and reset the root password. If resetting the password fails to fix the login and your live system has internet access you can mount -o bind some directorys between the chroot and your running system to get internet access to chroot.Now you can use tazpkg from within the chroot to force reinstall any tazpkg starting with busybox since it handles passwd into your broken install. It's not too difficult, chroot is a very valuable tool to know how to use. I can post a howto if needed.
Posted 13 years ago #
Reply
You must log in to post.