• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Sudo funktioniert nicht - nur mit RootPW!

Hallo,

ich habe einen Server mit Suse 9 bekommen, auf dem ich nachträglich User und entsprechende Sudo-Rechte eingerichtet habe.
Normalerweise kein Problem .... ABER

Wenn ich als Normalouser "sudo -s" eingebe, dann kommt im Normalfall eine Passwortabfrage, in der der Normlouser SEIN Passwort eingibt.
Das funzt aber nicht, immer kommt "Sorry, falsches Passwort", obwohl ich 1000% das richtige PW habe.

Probiere ich das Ganze erneut und gebe das Root-PW ein, so bekommt mein Normalouser die entsprechenden Rechte über sudo?

Hab anfangs gedacht, da hat jemand mit den PAM's rumgespielt, dort sieht es aber im Vergleich zu anderen Servern und Installationen gleich aus!

Das installierte Sudo-Paket hat die Version 1.6.7p5-117.1

Hat jemand eine Idee??

Vielen Dank schon mal vorab!

Grüße
MangoJerry
 

panamajo

Guru
/etc/sudoers:
Code:
# In the default (unconfigured) configuration, sudo asks for the root password.
# This allows use of an ordinary user account for administration of a freshly
# installed system. When configuring sudo, delete the two
# following lines:

# Defaults targetpw    # ask for the password of the target user i.e. root
# ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!

Vmtl. ist die Option targetpw bei dir aktiv.
 
A

Anonymous

Gast
http://www.easylinux.de/2004/11/077-guru-sudo/

BTW:

http://www.unixboard.de/vb3/showthread.php?t=29170

Das solltest du ab sofort lassen, das mag keiner, Gruende stehen hier:

http://www.linux-club.de/viewtopic.php?t=76935&highlight=multipostings

http://www.root-forum.org/root-forum/1291-multipostings-crosspostings.html

Greetz,

RM
 
OP
M

MangoJerry

Newbie
Hallo,

das

# Defaults targetpw # ask for the password of the target user i.e. root
# ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!

hab ich natürlich übersehen - wer lesen kann is klar im Vorteil! :lol:

Gruß
MJ
 
Oben