Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[groupe portage] question ....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
floc_12
Apprentice
Apprentice


Joined: 28 Jun 2006
Posts: 191

PostPosted: Wed Mar 02, 2011 7:22 pm    Post subject: [groupe portage] question .... Reply with quote

Bonjour,

J'ai ajouté mon utilisateur au groupe "portage" afin qu'il puisse lire le fichier /var/log/emerge.log (j'avais essayé de faire un script avec des droits suid, mais ça ne marchait pas).

D'après vous, ça craint ? Des risques ?


NB :
a priori, quand j'essaye de mettre à jour le système avec l'utilisateur en question, j'ai ce message :

superuser access is required... adding --pretend to options

et un emerge --rsync affiche pleins d'erreur.

Merci
Back to top
View user's profile Send private message
barul
Guru
Guru


Joined: 28 May 2010
Posts: 434

PostPosted: Wed Mar 02, 2011 7:44 pm    Post subject: Reply with quote

Être dans le groupe portage, il me semble qu'on peut juste lire les logs et ajouter l'option pretend, non ?

Ça va pas te filer les droits d'écriture dans les répertoires de root par magie.
Back to top
View user's profile Send private message
floc_12
Apprentice
Apprentice


Joined: 28 Jun 2006
Posts: 191

PostPosted: Wed Mar 02, 2011 8:04 pm    Post subject: Reply with quote

C'est bien ce qu'il me semblait en testant. C'était juste par curiosité.

Merci de ta réponse
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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