Re: set effective user to root



On Mon, 05 Jun 2006 19:48:46 +0100, Robert Hull wrote:

On Monday 05 Jun 2006 19:15, Mike - EMAIL IGNORED
<m_d_berger_1900@xxxxxxxxx> wrote in comp.os.linux.misc:

On FC4:

I wrote a utility to be executed at the command
line that is owned by root and kept in /usr/bin ,
and intended to be executable by all.

The utility reads and writes a file that is
accessible only by root.

A normal user wants to use the utility.
How can I do this?

man sudo

Thanks for this. The other solution looked simpler
and solved the present problem. This will probably
be useful in the future.
Mike.

.



Relevant Pages

  • Re: [kde] su identification
    ... assumes that you wish to invoke the root account and will demand Root ... A user may ONLY sudo as allowed in the /etc/sudoers ... allowing a command with any parameters ... This config allows my normal user to do whatever he'd normally be able to ...
    (KDE)
  • Re: Clams.....
    ... either by su> password> Kate, ... running in root. ... have you set up sudo? ... the command sudo gedit /etc/filename would ask for the user ...
    (Fedora)
  • Re: [opensuse] Post installation queries (FIRST successful installation of Linux)
    ... permission from your *normal user* account by exercising root privileges ... user to root. ...  Done with sudo! ...   i - puts vi in insert mode ...
    (SuSE)
  • Re: any way to track commands of a user logged in through ssh
    ... applies _to that command only_. ... the command they want to run with 'sudo', ... I use/run a Shell command that requires 'root' privileges...Especially ... So what do you think about creating a separate 'group' for certain ...
    (comp.os.linux.misc)
  • Re: [opensuse] Re: Should openSUSE review its Security Policies?
    ... We are defining 'command' differently. ... When discussing root permissions, I define commands at the OS level. ... sudo lets me run a complete binary application as a different user. ...
    (SuSE)