<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=Big5" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Mikkel L. Ellertson wrote:
<blockquote cite="mid45D889EA.9000905@infinity-ltd.com" type="cite">
  <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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.

    </pre>
  </blockquote>
  <pre wrap=""><!---->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
  </pre>
</blockquote>
Hello Mikkel,<br>
<br>
Sorry, I don't quite understanding your means...<br>
I just want a sample for installing source code packages ( how to use
the command of configure / make / make install ) ?<br>
<br>
For my config of sudores :<br>
<br>
User_Alias    ADMIN = admin<br>
<br>
ADMIN    HOST = NOPASSWD: /bin/tar<br>
<br>
Edward.<br>
</body>
</html>