Is there is any wat to non root user can able to install rpm
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there is any wat to non root user can able to install rpm
Hi
We are creating desktop application for Linux, still now we are using "tar" and shell script to install application in the client machines. We are planning to distribute this software through rpm. Most of our clients are not having root permission. Is there is any simple way to override this problem ?
The following command solving our issue, but most our clients don't have rights to request this to their Admin.
Obviously there is no way you can install packages in linux without root permissions. But giving permanent permissions would violate use of root. So other way around is to use sudo.
Exactly, you can setup sudo to ONLY RUN a specific cmd (or set of cmds). You don't have to give carte blanche, in fact you shouldn't. That isn't what it was developed for, even though these days people seem to want to do that...
Can a user set up his own sudo to install one specific package?
If you need to call the administrator who's office is on the other side of town to come over and set up sudo in all the clients so they can install one specific package, would'nt it be easier to just tell him to install the frickin' rpm and forget about the sudo bullshit and let's get on with our day?
I don't think you're interpreting the OP's question properly. Here's how I interpret it:
Quote:
Hey yall!
A couple of us here in the office want to install some games, but we're not allowed too install anything. Is there a way we can circumvent the administrator and install these games so we can play instead of work?
And your responce appears to be:
Quote:
Hey bud!
It's easy, just go to the main menu/administrator/sudoers and add yourself to the list and give yourself administrative permission to install games only and VOILA!!, you're all set. Glad to have come to your rescue, no need to thank us bud.
I'm such an idiot!
If I meet yall on the street I'll be sure to bow on my knees and kiss your feet for being so intelligent.
Exactly, you can setup sudo to ONLY RUN a specific cmd (or set of cmds). You don't have to give carte blanche, in fact you shouldn't. That isn't what it was developed for, even though these days people seem to want to do that...
Yes. And you can run sudo rpm to install a rootkit, vulnerable software, or just send you the passwd file. Giving users that privilege is something that your admin is not gonna do if he has at least a couple of neurons.
To the OP, why do you think that rpm is mandatory? Why not tar everything into an archive, and just instruct the users to install it locally on their home directory? Simple, easy, no risk and everyone can do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.