Enable updates for a single user

vince vinz65 at gmail.com
Mon Sep 15 18:34:06 UTC 2008


Il giorno lun, 15/09/2008 alle 10.39 -0400, Mike Burger ha scritto:
> >
> >> Hi Mike
> >>
> >> Thank you for your reply.
> >>
> >> I will try to teach to my customer to use the command line; however, as
> >> he has never worked with Linux (he has got Windows XP and I am trying to
> >> push him, along with other customers, to switch to Linux), I am not so
> >> sure he can do that.
> >>
> >> Do you know how this can be done working in a graphical environment such
> >> as Gnome?
> >>
> >>
> >> Mike Burger ha scritto:
> >>> You could give him access via sudo.
> >>>
> >>> username     ALL=(ALL)     NOPASSWD:/bin/rpm
> >>> username     ALL=(ALL)     NOPASSWD:/usr/bin/yum
> >>>
> >>> Then, all he has to do is issue:
> >>>
> >>> sudo /bin/rpm -ivh package-he-wants.to.install.rpm
> >>>
> >>> sudo /usr/bin/yum update
> >>>
> >>> sudo /usr/bin/yum package-he-wants.to.install
> >>>
> >>>> Hi everybody
> >>>>
> >>>> I have a PC running Fedora 9 that I have to lend to a customer for a
> >>>> limited period.
> >>>>
> >>>> I would like him to be able to install updates and to install and
> >>>> remove
> >>>> programs without giving him the root password.
> >>>>
> >>>> Is it possible, and if it is what do I have to do?
> >>>>
> >>>> Thanks in advance for your replies.
> >
> > I seem to recall a past thread, on this list, regarding gnome-sudo or some
> > such.  You might want to try searching the archives, or the web, for it.
> 
> I just had a thought, too...at least for updates, why not give them an
> "icon" which calls "sudo yum update"?
> 
> -- 
> Mike Burger
> http://www.bubbanfriends.org
> 
> Visit the Dog Pound II BBS
> telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
> 
> To be notified of updates to the web site, visit:
> 
> https://www.bubbanfriends.org/mailman/listinfo/site-update
> 
> or send a blank email message to:
> 
> site-update-subscribe at bubbanfriends.org

That's really a great idea!

Shame on me for not having thought of a so simple solution, and thanks a
lot for your kind help. :)




More information about the fedora-list mailing list