SUMMARY:SetUID scripts on Solaris

From: Sirisena, Navi (
Date: Fri May 22 1998 - 13:01:30 CDT

Many thanx to those who responded with the solutions.


What is the best way to allow a user to renice/kill jobs run by
other users except root? I know setuid scripts don't work on Solaris.

I recived threee diff. solutions.

1. You can run SetUID scripts on Solaris.
        use /bin/csh -b /bin/sh -p or you can use ksh or perl scripts. or
write a c wrapper.

2. modify the source code of top that has the capability of killing jobs.

3. Use sudo.
Where to find sudo
Before you try and build sudo, *please* make sure you have the current
version. The latest sudo may always be gotten via anonymous ftp
from in the directory /pub/sudo/.
The distribution is cu-sudo.vM.m.tar.Z where `M' is the major
version number and `m' is the minor version number.
BETA versions of sudo may also be available.


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:40 CDT