Mailinglist Archive: opensuse-security (260 mails)
| < Previous | Next > |
Re: [suse-security] What controls "allowed" suid programs?
- From: Gerhard Sittig <Gerhard.Sittig@xxxxxxx>
- Date: Mon, 31 Jul 2000 19:16:13 +0200
- Message-id: <20000731191613.O24476@xxxxxxxxxxxxx>
On Sun, Jul 30, 2000 at 19:25 -0700, Jason P. Stanford wrote:
> I have a small server up and running with SuSE 6.4. I wrote a
> Perl script that needs to be run suid in /usr/local/bin by a
^^^^^^ ^^^^
> few trusted users, but I keep getting the following error:
>
> trusted@foo> /usr/local/bin/foobar.pl
> Can't do setuid
Probably because it runs as a "normal" user (or strictly speaking
under the normal user's uid).
This is a FAQ, you can find a few thousand articles about it in
the UNIX forums' archives. Scripts don't care about the setuid
bit, their interpreters should run privileged. Or use a (binary)
setuid wrapper.
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76
Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@xxxxxxx
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
> I have a small server up and running with SuSE 6.4. I wrote a
> Perl script that needs to be run suid in /usr/local/bin by a
^^^^^^ ^^^^
> few trusted users, but I keep getting the following error:
>
> trusted@foo> /usr/local/bin/foobar.pl
> Can't do setuid
Probably because it runs as a "normal" user (or strictly speaking
under the normal user's uid).
This is a FAQ, you can find a few thousand articles about it in
the UNIX forums' archives. Scripts don't care about the setuid
bit, their interpreters should run privileged. Or use a (binary)
setuid wrapper.
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76
Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@xxxxxxx
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
| < Previous | Next > |