NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: About a rc.d script and "--user ${puser}"
On Sun, Feb 01, 2009 at 06:07:17PM +0200, Cem Kayali wrote:
>
> Hello!
>
> I noticed that a (pkgsrc) /etc/rc.d script has wheel permission although
> it has command argument
What do you mean, "has wheel permission"? Do you mean that the script's
permissions look like this:
-rwxr-sr-x 1 root wheel 0 Feb 1 14:11 foo.sh
Or like this?
-rwxr-xr-x 1 root wheel 0 Feb 1 14:11 foo.sh
Standard NetBSD kernels do not support setgid scripts, so the two
permissions are equivalent. I do not understand why you think there is,
as you put it, "an internal security hole" in either case.
Thor
Home |
Main Index |
Thread Index |
Old Index