Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kleines sudoers problem: user not in sudoers file...[solved]
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
tobiasbeil
Guru
Guru


Joined: 22 Nov 2004
Posts: 326
Location: Stuttgart

PostPosted: Tue Dec 06, 2005 6:17 pm    Post subject: kleines sudoers problem: user not in sudoers file...[solved] Reply with quote

hi all.

eigentlich möchte ich nur qemu mit tun/tap starten und eigentlich ist alles soweit eingerichtet.
nur beim ausführen des /etc/qemu-ifup scriptes kommen sudo zeilen vor und theoretisch
sollte auch alles nach eingabe des passworts funktionieren.

meine /etc/sudoers:
Code:
Defaults        env_reset
root    ALL=(ALL) ALL
wheel   ALL=(ALL)       ALL


mein user ist den den groups:
Code:
wheel floppy audio cdrom video games usb users scanner qemu


wenn ich "sudo echo 123" eingebe muss ich mein passwort eingeben, doch anschliessend kommt:
Code:
# sudo echo 123
Password: ********
user is not in the sudoers file.  This incident will be reported.
sendmail: Cannot open mail:25


ich dachte, wenn die dritte zeile (siehe /etc/sudoers) auskommentiert ist
und man in der gruppe "wheel" ist, reicht es aus "sudo" ausführen zu können.

Was fehlt oder was mache ich falsch ?


Last edited by tobiasbeil on Tue Dec 06, 2005 6:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Tue Dec 06, 2005 6:30 pm    Post subject: Re: kleines sudoers problem: user not in sudoers file... Reply with quote

tobiasbeil wrote:
Was fehlt oder was mache ich falsch ?


Also s'ist ein weilchen her, seit ich sudo das letze mal konfigurieren musste. Aber ich meinte, dass du die Gruppe mit einem % angibst.

Wenn es dir also darum geht, dass Benutzer der Gruppe wheel alles ausführen können, dann müsste die Zweite Zeile bei dir folgendermassen aussehen:

Code:
%wheel   ALL=(ALL)       ALL


Aber willst du wirklich jedem der wheel ist ALLE root Befehle zugestehen? Ich find's riskant...

Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
tobiasbeil
Guru
Guru


Joined: 22 Nov 2004
Posts: 326
Location: Stuttgart

PostPosted: Tue Dec 06, 2005 6:52 pm    Post subject: Reply with quote

ach so.

scheint als wenn ich mich vertippt hätte.
zu oft x gedrückt....
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