Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Gelöst] Rootpasswort wird nicht mehr akzeptiert - su klappt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
lord.hong
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Thu Oct 13, 2005 8:30 pm    Post subject: [Gelöst] Rootpasswort wird nicht mehr akzeptiert - su klapp Reply with quote

Hallo,

ich habe vor kurzem cfg-conifg -u mit xxdiff ausgeführt. Leider konnte ich mit xxdiff noch nicht so richtig umgehen und habe die Konflikte nicht lösen können. Als ich den Computer dann rebootet habe, habe ich erst erkannt, dass was ich angerichtet habe. Überall waren noch die ">>>" und "<<<" in den Skripten. Mit Knoppix konnte ich diese dann auch wieder entfernen und den Computer neu starten. Allerdings ist ein Problem geblieben. Ich kann mich als root nicht mehr anmelden. "Login incorrect"

Der Benutzer funktioniert noch und von dort aus kann ich mich als su anmelden. Ich habe über 40 Skripten was geändert und habe die alten auch wiedergefunden und die Skripte bei denen ich den Eindruck hatte es könnte an denen liegen rückgängig gemacht - ohne Erfolg.

Das Passwort wird richtig eingegeben. Ich komme leider nciht mehr weiter und bin auf Eure Hilfe angewiesen.

Vielen Dank

Markus


Last edited by lord.hong on Mon Oct 17, 2005 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sourcecode
Guru
Guru


Joined: 25 Apr 2005
Posts: 392
Location: Germany, Kerpen in sew of Cologne

PostPosted: Thu Oct 13, 2005 8:32 pm    Post subject: Reply with quote

Log dich mal per SU als root ein und tipp "passwd" und ändere das passwort nochmal... evtl. übernehmen die anderne files dann das neue passwort und alles geht wieder.
_________________
Es gibt bloss eins, was wichtig ist: dass man sterben muss.

Suicide is man's way of telling God, "You can't fire me - I quit."

no one gets out here alive....
Back to top
View user's profile Send private message
lord.hong
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Thu Oct 13, 2005 8:41 pm    Post subject: Reply with quote

Das hätte ich auch schon längst versuchen können.

Aber das war es leider auch nicht. Irgendwie wird das root passwort falsch berechnet oder sowas in der Richtung.
Back to top
View user's profile Send private message
Vaarsuvius
Guru
Guru


Joined: 02 Dec 2004
Posts: 345

PostPosted: Thu Oct 13, 2005 9:10 pm    Post subject: Reply with quote

was steht denn in der /etc/securetty ?
Back to top
View user's profile Send private message
lord.hong
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Fri Oct 14, 2005 4:03 am    Post subject: Reply with quote

Genau da hatte ich auch was verändert allerdings habe ich es wieder zurückgesetzt.

Code:

        # /etc/securetty: list of terminals on which root is allowed to login.
        # See securetty(5) and login(1).
        vc/0
        vc/1
        vc/2
        vc/3
        vc/4
        vc/5
        vc/6
        vc/7
        vc/8
        vc/9
        vc/10
        vc/11
        vc/12
        tty0
        tty1
        tty2
        tty3
        tty4
        tty5
        tty6
        tty7
        tty8
        tty9
        tty10
        tty11
        tty12

        tts/0
        ttyS0
        tts/0


Ich hatte das letzte tts/0 entfernt, weil ich dachte es wäre doppelt.
Back to top
View user's profile Send private message
pir187
Guru
Guru


Joined: 19 Feb 2004
Posts: 309
Location: Papstdorf : Sachsen : Deutschland

PostPosted: Fri Oct 14, 2005 1:56 pm    Post subject: Reply with quote

kann man nicht alle textdateien catten und die "falschen" zeichenfolgen greppen? dann siehst du wenigstens, in welchen dateien die zeichenketten noch drin sind und kannst sie manuell entfernen.

nur so ein gedanke...
pir187
_________________
Linux 2.6.24-gentoo-r8, Athlon XP 3200+@ASUS A7N8X-E Deluxe 2.0, 2GB MDT DDR-RAM PC3200@2,5-3-3-7, Gainward GF7800GS+ (G71), Creative Audigy 2 ZS, 2x Seagate 750 GB@RAID1 + LVM2
(sehr zufriedener) registrierter Linux-Nutzer #360788
Back to top
View user's profile Send private message
lord.hong
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Fri Oct 14, 2005 4:34 pm    Post subject: Reply with quote

Ja, das kann man und das habe ich auch getan.

Na gut, die Lösung des Problems war nciht da.

Andere Frage. Ich habe gelesen, dass ich ein etc-update rückgänig machen kann. Stimmt das? Wenn ja wie?
Back to top
View user's profile Send private message
lord.hong
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Mon Oct 17, 2005 7:34 pm    Post subject: Reply with quote

Dank eines Post im englischem Forum konnte ich das Problem lokalisiern und beheben.

Über /var/log/messages habe ich herausgefunden, dass noch ein Konflikt in /etc/pam.d/cron war.

Trotzdem Danke an alle.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum