Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using emerge as simple user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vic
n00b
n00b


Joined: 06 Dec 2002
Posts: 22

PostPosted: Fri Dec 06, 2002 7:16 am    Post subject: Using emerge as simple user Reply with quote

Hello,

I'd like to install some software as simple user and not as root, is it possible to do it with emerge or will i have to do it by hand ?

vic
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Fri Dec 06, 2002 8:49 am    Post subject: Reply with quote

Hi
perhaps you can use sudo so you don't have to su on a konsole. I never tried to emerge as a normal user, but this user will have to have write acces on /var/tmp/portage and the directory where the program will be installed. If you give a normal user these rights you will insecure you hole system. (Don't laught about it. 1 Month ago I had to reinstall my system because of some strage things netstat showed connections to computers I didn't know...)

So better read the gentoo security guide and make a su on the konsole if you emerge a program.

Dim
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
vic
n00b
n00b


Joined: 06 Dec 2002
Posts: 22

PostPosted: Fri Dec 06, 2002 6:03 pm    Post subject: Reply with quote

Don't worry i won't give such rights to any user :o)

That's for security purposes (and also to make things less messy) i wanted to do this, since i like to run as few apps as possible as root.

After all i only need to run them as standard user, not necessarily install them so this was a stupid question :-)

vic
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Dec 06, 2002 7:24 pm    Post subject: Reply with quote

There is a note on the gentoo.org main page that fakeroot building for emerge is now supported, but I haven't looked into the details yet.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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