can you setuid a ksh script?
Brando W. Brown
brando at uiucme2.me.uiuc.edu
Fri Mar 30 03:45:10 AEST 1990
In article <10910003 at hpcc01.HP.COM> gph at hpcc01.HP.COM (Paul Houtz) writes:
>Can a korn shell script be made setuid?
>
>I have tried doing it with chmod and it hasn't worked.
>
>Can anyone out there who has already successfully done this please
>let me know the steps neccessary? If you know for sure that it
>can't be done, that info would be helpful too.
>
>I want a ksh script that is setuid root.
To do this you I think you have to recompile KSH with a switch set in a .h
file. More information is included in the README that comes with the source
set.
Brando
+============================================================================+
| Brandon Brown Internet: brando at uiucme.me.uiuc.edu |
| Addamax Corporation UUCP: uunet!uiucuxc!addamax!brown |
| 2009 Fox Drive GEnie: xmg23356 macbrando |
| Champaign, IL 61820 CompuServe: 73040,447 |
+============================================================================+
More information about the Comp.unix.questions
mailing list