Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem mit su
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
kruemel0809
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2004
Posts: 124

PostPosted: Wed Mar 30, 2005 11:44 am    Post subject: problem mit su Reply with quote

hi!
ich hab seit einem emerge -uD world das problem, dass ich als normaler user nicht mehr root werden kann! dann kommt immer die fehlermeldung "You are not authorized to su root"... ich bin in der wheel gruppe, die rechte von su sind ok und ich hab schon versucht pam neu zu emergen, hat alles nix gebracht!
vielleicht hat ja jemand von euch ne idee! thx!
Back to top
View user's profile Send private message
flubber
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2004
Posts: 136

PostPosted: Wed Mar 30, 2005 1:18 pm    Post subject: Reply with quote

Überprüf mal die Rechte für /bin/su

Flubber
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Wed Mar 30, 2005 1:53 pm    Post subject: Reply with quote

Du hast vermutlich die Gruppenzuordnung (/etc/groups oder so) beim letzten etc-update überschrieben.

Trag dich wieder in der Gruppe wheel ein und schon sollte es wieder klappen.

Edit: Sorry, wer lesen kann ist klar im Vorteil :oops:
Kann dir dann leider auch nicht helfen
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Wed Mar 30, 2005 8:37 pm    Post subject: Reply with quote

'ls -l /bin/su'?
Back to top
View user's profile Send private message
kruemel0809
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2004
Posts: 124

PostPosted: Thu Mar 31, 2005 2:24 am    Post subject: Reply with quote

Quote:
die rechte von su sind ok


Code:

user@linux user $ ls -l /bin/su
-rwsr-xr-x  1 root root 33300 Feb 10 22:55 /bin/su


sonst noch ne idee?
Back to top
View user's profile Send private message
Blackdream
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 131
Location: Germany,Munich,Unterhaching

PostPosted: Thu Mar 31, 2005 2:41 am    Post subject: Reply with quote

vielleicht ist /etc/pam.d/su nihct in ordnung
Back to top
View user's profile Send private message
TheSmallOne
Guru
Guru


Joined: 22 Jan 2005
Posts: 467
Location: Germany

PostPosted: Thu Mar 31, 2005 7:42 am    Post subject: Reply with quote

Blackdream wrote:
vielleicht ist /etc/pam.d/su nihct in ordnung


Und wenn man kein pam hat?
Ich habe nämlich ein ähnliches Problem, aber überhaupt kein pam installiert... interessanterweise habe ich das Problem aber auch nur auf einem von zwei Rechnern, während es auf dem anderen problemlos läuft...
Back to top
View user's profile Send private message
kruemel0809
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2004
Posts: 124

PostPosted: Thu Mar 31, 2005 9:18 am    Post subject: Reply with quote

wie sieht denn die /etc/pam.d/su bei euch aus?
Back to top
View user's profile Send private message
Battlestar Gentoo
l33t
l33t


Joined: 23 Dec 2004
Posts: 708
Location: Wien

PostPosted: Thu Mar 31, 2005 10:50 am    Post subject: Reply with quote

Das Problem kann mit all dem gar nichts zu tun haben. Es könnte sein, dass die Festplatte falsch gemountet ist. Das war bei mir nämlich so.
Back to top
View user's profile Send private message
TheSmallOne
Guru
Guru


Joined: 22 Jan 2005
Posts: 467
Location: Germany

PostPosted: Thu Mar 31, 2005 2:16 pm    Post subject: Reply with quote

kruemel0809 wrote:
wie sieht denn die /etc/pam.d/su bei euch aus?


Gar nicht... hab' doch geschrieben ich benutze kein pam, also gibbet auch kein /etc/pam.d Verzeichniss... wie das bei kruemmel ist weiß ich natürlich nicht...


Hm, wie sollte denn das mounten damit zu tun haben?:?:
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Thu Mar 31, 2005 4:34 pm    Post subject: Reply with quote

hi,

vieleicht hilft dir das weiter http://www.gentooforum.de/thread.php?threadid=5307

gruss

kurt
Back to top
View user's profile Send private message
Battlestar Gentoo
l33t
l33t


Joined: 23 Dec 2004
Posts: 708
Location: Wien

PostPosted: Thu Mar 31, 2005 4:55 pm    Post subject: Reply with quote

Quote:
Hm, wie sollte denn das mounten damit zu tun haben?


Das weiß ich auch nicht genau, aber ich weiß, dass es damit zu tun hatte. Ich weiß auch nicht mehr genau, wie ich die fstab gestaltete, aber nach einer Änderung funktionierte es plötzlich und es hatte überhaupt nichts mit all den Tips zu tun, die man im Archiv unter diesem Problem findet.
Back to top
View user's profile Send private message
rukka
n00b
n00b


Joined: 31 Dec 2004
Posts: 47
Location: Hesse

PostPosted: Thu Mar 31, 2005 10:13 pm    Post subject: Reply with quote

Einen schönen guten Abend zusammen. ;)

Wie TheSmallOne schon geschrieben hat sollte uns kruemel0809 vielleicht mitteilen, ob er/sie sys-libs/pam verwendet oder nicht. Oder vielleicht wurde das pam-USE-Flag erst gesetzt und wurde im Verlauf geändert, dass bringt einige Probleme mit sich. Für diese Zwecke gibt es immer noch "revdep-rebuild -p".

Wie schaut's nun aus? Poste mal ein "emerge -pv sys-apps/shadow sys-libs/pam", dass dein User in der "wheel" Gruppe ist hast du schon geschrieben, vielleicht mit "/bin/groups" eventuell zur Sicherheit nochmal überprüfen.

Mit PAM kann ich leider nicht dienen (bin froh das ich es losgeworden bin).

Was Gentoo Reptile meint ist die mount-Option "nosuid", ein simples "/bin/mount" und lesen der manpage von mount( 8 ) sollte alle Fragen beseitigen. Aber wer mountet / schon als nosuid, ich weiss ja nicht ...!?

Hoffe ein paar Denkanstösse gegeben zu haben, ciao
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