WWW.GENTOO-SRBIJA.ORG
I'd join the army if they let you IRC on the weekends. Petak, 21 Novembar/2008  
 » SADRŽAJ
 › Uvod
 › Performanse
 › Mirori
 › Linkovi
 › Download
 › Mailing lista
 › Kontakt
 » PROFIL
» šifra
zapamti me
  Registracija
 » PRETRAGA
 » NOVI PAKETI
app-pda/synce-sync-engine-0.12: SynCE - Synchronization engine
app-pda/synce-sync-engine-0.11.1: SynCE - Synchronization engine
sys-apps/busybox-1.12.2-r1: Utilities for rescue and embedded systems
xfce-extra/xfce4-timer-0.6.1: Timer panel plugin
www-client/seamonkey-1.1.13: Mozilla Application Suite - web browser, email, HTML editor, IRC
sys-apps/busybox-1.12.2: Utilities for rescue and embedded systems
sys-apps/busybox-1.12.1: Utilities for rescue and embedded systems
sys-apps/busybox-1.11.3: Utilities for rescue and embedded systems
sys-apps/busybox-1.12.0: Utilities for rescue and embedded systems
sys-apps/busybox-1.11.1: Utilities for rescue and embedded systems
 » WEBMAIL
 » GENTOO-PORTAGE
And we're back
Forum index ›› Portage › Portage user & group [SREĐENO]  
  AUTOR   PORUKA

Član
Učlanjen: 21 Sep 05
Lokacija: Beograd
Poruke: 292
profil¬ poruka¬
 Oglašeno: 09 Nov 05  09:22   Izmenio: SticH

Kako dodati usera u portage group kad takva ne postoji?


Developer
Učlanjen: 02 Nov 04
Lokacija: Tokyo
Poruke: 525
profil¬ poruka¬ www¬
upRE: Portage user & group [SREĐENO]  Oglašeno: 09 Nov 05  09:42  

postoji


Član
Učlanjen: 21 Sep 05
Lokacija: Beograd
Poruke: 292
profil¬ poruka¬
upRE: Portage user & group [SREĐENO]  Oglašeno: 09 Nov 05  15:11  

# groups
root bin daemon sys adm disk wheel floppy dialout tape video


Kad vec znas da postoji ocigledno je da ja ne znam. Mogao si usput da kazes gde i kako da se dodam tamo :|


Developer
Učlanjen: 02 Nov 04
Lokacija: Tokyo
Poruke: 525
profil¬ poruka¬ www¬
upRE: Portage user & group [SREĐENO]  Oglašeno: 10 Nov 05  01:44  

ajde uradi prvo man groups pa vidi sta radi ta komanda!!!

a takvo pitanje stvarno ne zasluzuje odgovor..... ipak neke osnove moras znati!


Član
Učlanjen: 21 Sep 05
Lokacija: Beograd
Poruke: 292
profil¬ poruka¬
upRE: Portage user & group [SREĐENO]  Oglašeno: 10 Nov 05  11:15  

Evo za sve one kojima ce ovo mozda nekad zatrebati a nisu hteli/mogli/razumeli/stigli/whatever procitali howto/man/google

#gpasswd -a <user> portage


ili

#nano /etc/group


add your username to portage
like:

portage:x:250:portage:<username>



P.S.
Citat:



Joined: 25 Apr 2002
Posts: 1613


PostPosted: Wed Feb 26, 2003 2:37 pm Post subject: Reply with quote
From portage 2.0.47:
* NOTICE: The wheel group requirement for non-root users has been changed to
* group portage. Group portage must be a valid group for user to use portage.
[...]
* The 2.0.47 line of portages contains an optional userpriv mode that
* enables portage to drop root privleges and run as a normal user. It is
* enabled via FEATURES by adding userpriv.

That passage has been misinterpreted a bit. It does not mean that any new portage operations can be done by non-root users. In the past, non-root users could do "emerge -s", "emerge -S", and "emerge -p", but they had to be in the wheel group. Now (meaning Portage >=2.0.47) they can do these things, but they have to be in the portage group instead. To actually install software using emerge, you still must run emerge as root. What userpriv does is internally drop permissions to the portage user to do the compilation, but the live merging onto your filesystem still must be done by root, and therefore emerge must be run as root.



 
         
OVA TEMA JE ZATVORENA. NE MOŽETE ODGOVORITI.