Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keine root Rechte [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
HelgeK
n00b
n00b


Joined: 07 Jan 2007
Posts: 4

PostPosted: Sun Jan 07, 2007 7:58 pm    Post subject: keine root Rechte [Solved] Reply with quote

Ich habe mein Gentoo Linux 2006.1 frisch installiert. Es funktioniert auch eine ganze Menge.
Nur brauche ich gelegentlich root Rechte. Dazu rufe ich "su -" oder auch "sudo" auf.
Nach der Passwortabfrage gibt's aber immer eine Fehlermeldung

$ su
Password:
su: Permission denied
Sorry.
$

Das Passwort wird beim normalen Login jedoch akzeptiert.

Ich weiß nicht weiter.

Helge


Last edited by HelgeK on Fri Jan 12, 2007 5:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
poOoch
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 77
Location: Ulm / Germany

PostPosted: Sun Jan 07, 2007 8:06 pm    Post subject: Reply with quote

Ist der entsprechende Nutzer in der Gruppe "wheel"?
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: Sun Jan 07, 2007 8:22 pm    Post subject: Reply with quote

http://www.gentoo.org/doc/de/handbook/handbook-x86.xml?full=1#book_part1_chap11__chap1

Quote:
Gruppe Beschreibung
[...]
wheel Benutzer darf su benutzen


Lieber Gruss
STiGMaTa
_________________
Ich bin Schuldknappe. Das bedeutet ich bin immer an allem Schuld. Und das nicht zu knapp! | Der alltägliche Familienwahnsinn auf meinem BLOG
Back to top
View user's profile Send private message
cHeFr0cKaH
Apprentice
Apprentice


Joined: 27 Feb 2006
Posts: 188
Location: Frankfurt am Main

PostPosted: Sun Jan 07, 2007 8:23 pm    Post subject: Reply with quote

Hi!

guck mal hier: http://www.gentoo.org/doc/de/handbook/handbook-x86.xml?part=1&chap=11

Da wird genau erklärt wie man einen user einer Gruppe zuordnen kann :)



mfg
cHeFr0cKaH

bye!
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Sun Jan 07, 2007 9:04 pm    Post subject: Reply with quote

Wie macht Gentoo das eigentlich? Ist sys-apps/shadow speziell gepatcht?
_________________
Death by snoo-snoo!
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Sun Jan 07, 2007 9:22 pm    Post subject: Reply with quote

papahuhn wrote:
Wie macht Gentoo das eigentlich? Ist sys-apps/shadow speziell gepatcht?


Wieso sollte es? *shrug*
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
Ampheus
l33t
l33t


Joined: 19 Oct 2005
Posts: 814
Location: Rheine, NRW, Germany

PostPosted: Sun Jan 07, 2007 10:16 pm    Post subject: Reply with quote

Das ist so vorgesehen in shadow. Probiers mal beim (K)Ubuntu oder so aus. Ist dort dasselbe.
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sun Jan 07, 2007 10:35 pm    Post subject: Reply with quote

papahuhn wrote:
Wie macht Gentoo das eigentlich? Ist sys-apps/shadow speziell gepatcht?
/etc/pam.d/su:
Code:
# Comment this to allow any user, even those not in the 'wheel'
# group to su
auth       required     pam_wheel.so use_uid
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Sun Jan 07, 2007 10:46 pm    Post subject: Reply with quote

Ah, danke!
_________________
Death by snoo-snoo!
Back to top
View user's profile Send private message
HelgeK
n00b
n00b


Joined: 07 Jan 2007
Posts: 4

PostPosted: Mon Jan 08, 2007 10:09 pm    Post subject: keine root Rechte [solved] Reply with quote

Danke, war ja klar, das es einfach sein muß. Ich hab's nur nicht gewusst. Zum Glück kann man hier fragen.

Gruß,
Helge
Back to top
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Tue Jan 09, 2007 6:13 am    Post subject: Re: keine root Rechte [solved] Reply with quote

HelgeK wrote:
Danke, war ja klar, das es einfach sein muß. Ich hab's nur nicht gewusst. Zum Glück kann man hier fragen.

Gruß,
Helge

Oder man liest einfach mal das Handbuch bzw. sucht (egal ob bei Google oder hier im Forum).
Btw: Bitte ein [solved] in den Thread-Titel setzen. Danke.
_________________
I am /root and if you see me laughing you better have a backup.
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