Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kann nicht per su als root arbeiten
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
Web Pioneers
n00b
n00b


Joined: 14 Apr 2006
Posts: 6

PostPosted: Fri Apr 14, 2006 12:01 pm    Post subject: [SOLVED] Kann nicht per su als root arbeiten Reply with quote

Hallo liebe Gentoo-User,

habe hier ein kleines Problem, wenn ich su aufrufe passiert folgendes:

Code:
chris@workstation ~ $ su
su: Authentication failure
Sorry.


in meiner /etc/group bin ich in der Gruppe wheel

Code:
wheel::10:root,chris


Suche jetzt schon den ganzen Vormittag das Problem, aber komm auf keine vernünftige Lösung, vielleicht hat von euch jemand eine Idee.

Vielen Dank schonmal im Vorraus.

gruß, Christian


Last edited by Web Pioneers on Fri Apr 14, 2006 5:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Fri Apr 14, 2006 12:11 pm    Post subject: Reply with quote

Hat das Passwort evtl nen y oder z? Und du hast die falsche Tastatur eingestellt?
Was ist mit einem neuen User?
Geht es ohne X?

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Fri Apr 14, 2006 12:14 pm    Post subject: Reply with quote

Hast du den user gerade erste in die Gruppe gesteckt? Sofern der nscd nicht läuft, bekommt das System das nämlich nicht ohne weiteres mit. Im Zweifelsfall hilft übrigens ein reboot.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5204

PostPosted: Fri Apr 14, 2006 12:15 pm    Post subject: Reply with quote

bist du dir sicher das der aktuell angemeldete user auch in der gruppe wheel ist ?
das kannst du mit groups bzw id feststellen.

Denn wenn du die /etc/group file nachträglich editiert hast, wird diese änderung erst nach einem neuanmelden des users wirksam
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Web Pioneers
n00b
n00b


Joined: 14 Apr 2006
Posts: 6

PostPosted: Fri Apr 14, 2006 12:45 pm    Post subject: Reply with quote

groups gibt folgendes aus

Code:
wheel audio users chris


Quote:
Hat das Passwort evtl nen y oder z? Und du hast die falsche Tastatur eingestellt?


Ich werde gar nicht nach einem Passwort gefragt, sondern es kommt sofort die Meldung su: Authentication failure
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5204

PostPosted: Fri Apr 14, 2006 12:50 pm    Post subject: Reply with quote

steht irgentetwas in den logs?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Web Pioneers
n00b
n00b


Joined: 14 Apr 2006
Posts: 6

PostPosted: Fri Apr 14, 2006 12:53 pm    Post subject: Reply with quote

In welchem Log könnte da was stehen?
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5204

PostPosted: Fri Apr 14, 2006 12:57 pm    Post subject: Reply with quote

je nachdem welchen logger daemon du verwendest entweder in /var/log/messages(syslog) oder /var/everthing/current(metalog)
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Web Pioneers
n00b
n00b


Joined: 14 Apr 2006
Posts: 6

PostPosted: Fri Apr 14, 2006 1:03 pm    Post subject: Reply with quote

Um ehrlich zu sein, ich hatte gar keinen aktiviert :roll: da kann man auch nix unter /var/log finden ....

Also, aber jetzt:

Code:
Apr 14 15:00:05 workstation su[26436]: pam_authenticate: Authentication failure
Apr 14 15:00:05 workstation su[26436]: FAILED su for root by chris
Apr 14 15:00:05 workstation su[26436]: - tty1 chris:root
Back to top
View user's profile Send private message
stalinski
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 106
Location: Berlin,Germany

PostPosted: Fri Apr 14, 2006 2:26 pm    Post subject: Reply with quote

was steht denn in der /etc/securetty ?

Kann es sein, dass da kein tty1 drin steht?
Back to top
View user's profile Send private message
Web Pioneers
n00b
n00b


Joined: 14 Apr 2006
Posts: 6

PostPosted: Fri Apr 14, 2006 2:35 pm    Post subject: Reply with quote

Da steht

vc/0 - 12 und tty0 - 12 und tts/0 und ttyS0

drin.
Back to top
View user's profile Send private message
Web Pioneers
n00b
n00b


Joined: 14 Apr 2006
Posts: 6

PostPosted: Fri Apr 14, 2006 5:51 pm    Post subject: Reply with quote

So, habs. Warum auch immer hatte /bin/su kein SUID.
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