Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sudo und sux
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
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1146
Location: Baden / Germany

PostPosted: Mon Apr 24, 2006 6:40 am    Post subject: sudo und sux Reply with quote

Hallo Forum,

ich würde gerne einem User ermöglichen ohne das Rootpasswort zu haben einen sux ausführen zu können.
Das funktioniert auch bis auf das automatische Anpassen der DISPLAY Variable wie sonst bei sux.

Also im Prinzip ist es als hätte man bloß nen su gemacht.

Hat das jemand nen Tip ?
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 614
Location: Munich, Germany

PostPosted: Mon Apr 24, 2006 8:09 am    Post subject: Reply with quote

Mach dir nen kleines script mit folgendem Inhalt:
Code:
export DISPLAY=":0.0"
sux


und für das anstelle von sux direkt aus

Gibt aber bestimmt auch ne bessere Lösung :D
_________________
Black Holes are created when God divides by zero!
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