On Wed, 2006-09-20 at 19:57 -0400, Patrick Shanahan wrote:
* Peo Nilsson
[09-20-06 19:27]: When booting with: init=/bin/bash
...xxx... ==>(none):/# (none):/# whoami --> root
This seems to work. But when I run yast I can´t find any place where root login is forbidden...:-( I guess It´s just to edit a file directly in emacs (in the above "mode") to alow root logins again. Unfortunately I´m new to Suse Linux so I have no clue which file to make the change in???
when you reach login as above, you must change or remove root's password as you apparently are not using the password that the system expects.
iirc: edit /etc/passwd find root you will see something like: root:x:0:0:root:/root:/bin/bash REMOVE the second field, x
save
I did.
run "passwd root "
´passwd root´ ==> ~"user doesn´t exist"
and enter the password you desire. --
Then I thought lets add a new user then (root) ==> not possible because root already exist...:-( Next step was to run yast ==> complained about a "bad" ´/etc/passwd´ file because I removed the second field ´x´. I then edited /etc/passwd again and wrote back the second field ´x´. Solution: Boot with option: init=/bin/bash ==> (none):/# whoami ==> root 1) ´yast´ 2) Security and Users 2.1) User Management User and Group Management => Users Set Filter as "System Users. Choose ´root´ Choose ´edit´ Unmarke ´Disable User Login ==> Back in bussiness! I realy would like to THANK you all for your help. Without your great help I would never have my "system back". The root password was not wrong, but the system told me that It was (when the right answere should be ´root login is not allowed´).
Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
/Cheers Peo