On 06/02/15 14:37, don fisher wrote:
I am trying to leave a Fedora environment and am having problems with the root and user password. I did a 13.2 install from the DVD, leaving the mark highlighted that indicated that the user and root password would be the same (I think). When I tried to su to root, it said the password was invalid. When I logged of, it also said that the user password was now invalid. As I recall, it worked the first time I booted the system.
I used a short password that the system said was not safe, but I did not care at this time. I looked at the /etc/password file from another system and there was no entry for root at all!
I there a way to mount the system using the rescue boot option so that I can change my user password back? And how do I get root back? I have never had to do an adduser root. Did the system get angry at my short passwords and just ignore them? I would have expected the installation to halt if it could not generate a root account. I assume opensuse does have a root account?
Don
I see that Felix has given you a link where it is explained how you can change your password for root, but I don't think that this will solve your problem because from what you write above you don't understand how the use of passwords works in a Linux distribution (at least in openSUSE). Let's take this step at time. "I did a 13.2 install from the DVD, leaving the mark highlighted that indicated that the user and root password would be the same (I think). When I tried to su to root, it said the password was invalid." Where did you "....tried to su to root," ? The Terminal? Unlike Fedora (etc), openSUSE operates on the basis that you will have a unique USER password and a unique ROOT password; however, when you install openSUSE you CAN have both (USER, ROOT) set to the same password - NOT desirable but possible as you found out. "When I tried to su to root, it said the password was invalid." The only way this could happen is that you either forgot the password or the CAPS LOCK was on. Which was it? "When I logged of, it also said that the user password was now invalid." When you Logoff openSUSE does NOT ask you for your password - so it cannot 'say' that the password is invalid. How did you try to Logoff? Exact process please. "I used a short password that the system said was not safe, but I did not care at this time." This is fine. Using a short password is not recommended but oS (openSUSE) will accept it. [#] " I looked at the /etc/password file from another system and there was no entry for root at all!" Why in heaven's name would you look at another system?! You are posting here asking about an alleged problem with oS so referring to "another system" does nothing but muddy the waters :-) . [#] Are you sure that you installed 13.2, I repeat 13.2, and not something like 12.3? I don't recall 13.2 now having a hernia if you provide a terrible password for either the USER or ROOT - 13.2 just accepts what you type in. At least it has done so for me over the past several installs. Prior to 13.2 'it' would warn you that the password was less than desirable. BC -- Using openSUSE 13.2, KDE 4.14.3 & kernel 3.18.5-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX660 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org