LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2009, 04:29 AM   #1
Ziuccio
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
use yum in simple user in specific path


Hi all

i hava a problem to solve:
at moment i hava an alternative db in rpm, in this way a simple user can install package without root privilege.
now, someone know if is possible do a similar thing with yum?
i want that a simple user can use yum and install package in a specific path similar at rpm --prefix

thanks for help
Michele
 
Old 04-23-2009, 07:27 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
sudo is the best tool to use to allow root privilege to non-root users.
 
Old 04-27-2009, 08:12 AM   #3
Ziuccio
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Admiral Beotch View Post
sudo is the best tool to use to allow root privilege to non-root users.
i know sudo command, but i have to do package installation witout root privilege in alternative rpm db and alternative installation path
the question is:
is possible do it with yum?
 
Old 04-27-2009, 09:58 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Quote:
Originally Posted by Ziuccio View Post
...in alternative rpm db and alternative installation path...
Sorry, I dont know what this means.
 
Old 04-27-2009, 07:32 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,175

Rep: Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683Reputation: 2683
yum is just a front-end/layer over rpm, so it should work I guess.
Give it a try and let us know.
 
Old 04-29-2009, 08:02 AM   #6
Ziuccio
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
to solve this problem i have a idea, anyone know where does yum read the location of rpmdb?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking mail to specific domain from specific user orko Linux - Server 0 03-26-2009 02:18 PM
How to force specific domain or user specific emails to proces in sendmail 8.13.5 FC5 peanutsa Linux - Newbie 1 03-22-2009 05:33 AM
set up java_home path in /home/user/.bashrc but use path in /usr/lib/java vitalstrike82 Slackware 4 01-13-2009 11:25 PM
limit specific proces to a specific user Tux-Slack Linux - Software 3 02-23-2007 11:38 PM
Automount usb drives in specific path g0ng Linux - Hardware 1 02-12-2007 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration