Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 13:01:06 +0400 (DST)
From:      "Sergei S. Laskavy" <laskavy@cs.msu.su>
To:        tims@dcs.state.ar.us
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: suid question
Message-ID:  <199707220901.NAA13668@ns.cs.msu.su>
In-Reply-To: <Pine.HPP.3.96.970721135343.2022A-100000@dcs.state.ar.us> (message from Tim Stoddard on Mon, 21 Jul 1997 13:57:56 -0500 (CDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Tim" == Tim Stoddard <tims@dcs.state.ar.us> writes:

    Tim> I have a need to allow someone the ability to reload a
    Tim> daemon.  I have tried to write a script with the suid id bit
    Tim> set and owner set to root, but the script is always executed
    Tim> with the uid of the person who executed it instead of root.
    Tim> I am at a loss as to what else would need to be set.

I guess, "sudo" can help you.
This is advanced "su" program. It is avaliable from "packages" or
"ports" collections.

Shell is very insecure and can not be used for writing setuid scripts.

Sergei S. Laskavy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707220901.NAA13668>