Re: [Fwd: [Fwd: [sudo-users] Config sudo for installation]]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mikkel L. Ellertson wrote:
edwardspl@xxxxxxxxxx wrote:
  
Dear All,

How can we config sudores, then assign a user ( without root ) to running the following :
Install source code package, include the command of tar, configure, make and make install.

Edward.

    
You would only need sudo for the make install command - you can do
the rest as a normal user. (At least for almost all packages...) I
have not tried it, but I suspect that if you created a group called
install, and put a rule something like this in /etc/sudoers:

%install	localhost=make install

You could also use something like thins if you do not want it to be
limited to users at the console:

%install	ALL=make install

If you do not want the user asked for his password when running the
command, you can add "NOPASSWD: ALL" at the end.

Mikkel
  
Hello Mikkel,

Sorry, I don't quite understanding your means...
I just want a sample for installing source code packages ( how to use the command of configure / make / make install ) ?

For my config of sudores :

User_Alias    ADMIN = admin

ADMIN    HOST = NOPASSWD: /bin/tar

Edward.
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux