Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su geht nicht
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
max
n00b
n00b


Joined: 22 Jul 2002
Posts: 2

PostPosted: Mon Jul 22, 2002 9:28 am    Post subject: su geht nicht Reply with quote

Hallo Leute,
wenn ich als root
Code:
su username

eingebe klappt es. Wenn ich als USer
Quote:
su
eingebe, um root zu werden geht es nicht!
Code:

max@max max $ su
Password:
su: Permission denied
Sorry.
max@max max $


(sorry, hostname ist im Moment noch gleich Username *g*)
Ach Permissions:
Code:
max@max max $ ls -la /bin/su
-rwsr-xr-x    1 root     root        22352 07-18 21:25 /bin/su

ist doch ok, oder?

Jemand eine Idee?
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jul 22, 2002 9:35 am    Post subject: Reply with quote

Der User, der su benutzen soll, muß Mitglied der Gruppe "wheel" sein.

Gruß,
Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Mon Jul 22, 2002 9:35 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=9104

Bitte Suchen Funktion benutzen!
Back to top
View user's profile Send private message
batnator
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2002
Posts: 93
Location: Berlin / Germany

PostPosted: Mon Jul 22, 2002 9:39 am    Post subject: Gruppe wheel Reply with quote

Hallo,

nur Nutzer welche zu der Gruppe wheel gehören dürfen den su Befehl überhaupt ausführen

Code:
/etc/group

wheel::10:root,max


Die Syntax des su Befehls wäre folgende:
Code:
su - nutzername
um zu dem angegebenen Nutzer zu wechseln und den Loginprozess zu durchlaufen (.bashrc etc) oder
Code:
su nutzername
ohne den Loginprozess

greetings
Back to top
View user's profile Send private message
max
n00b
n00b


Joined: 22 Jul 2002
Posts: 2

PostPosted: Mon Jul 22, 2002 9:58 am    Post subject: Reply with quote

alles klar.
habt dank!


gruss Max
Back to top
View user's profile Send private message
Auka
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 110
Location: Germany

PostPosted: Wed Jul 24, 2002 8:16 pm    Post subject: Reply with quote

Hallo allerseits,

Interessant, an just diesem Problem habe ich heute auch gut eine Stunde gekaut. Bis ich dann irgendwann selbst nach zig strace und ltrace etc. feststellte, dass mein User - aus welchen Gründen auch immer - nicht (mehr!) in wheel war.

Glaube, ich hätte doch besser mal gleich hier im Forum suchen sollen... ;)
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