Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-09-2004, 09:26 AM   #1
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
install with sudo

I've got a user that wanted temporary root access to he could install some new software on the system. Naturally, I don't want to give him root. What's the best solution to this? should I tell him to give me the package and I'll install it for him, or can i set up sudo so that he can use the rpm command (he'll be installing using an rpm).

I just didn't know if any of the install process would fail if done through sudo.
Old 12-09-2004, 10:23 AM   #2
LQ Newbie
Registered: Sep 2004
Distribution: mandrake 10
Posts: 16

Rep: Reputation: 0
probably easiest if you log on to his machine and install from there. i have tried to use sudo a couple of times and never can get my head around it.
Old 12-09-2004, 10:48 AM   #3
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
Using sudo should be fine, as it temporarily gives you root access. To be perfectly honest, if it's just a one-off, it's probably easier if you just ask him to give you the RPM. If you want to go the sudo way, then look up the man page of visudo (editing the sudoers file), and this will tell you how to make an entry into the sudoers file that will enable him to execute just the RPM command.


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
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
sudo kaplan71 SUSE / openSUSE 4 09-26-2005 11:42 AM
Using Sudo frostbite Linux - Newbie 7 08-09-2003 04:13 AM
help with sudo raven Linux - General 7 01-27-2002 07:24 PM
sudo? nabil Linux - Security 1 02-12-2001 02:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 AM.

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