Re: ksh -p flag



On Wed, Apr 12, 2006 at 07:17:30AM +0200, Holger.VanKoll@xxxxxxxxxxxx wrote:
Hello,

I have a script on a system that starts like this:

#!/bin/ksh -p

What does the -p flag do? I couldnt find anything in the manpage besides
that -o privileged does the same.

-p sets 'privledged mode' for the shell.

It does not process the $HOME/.profile or look at the ENV parm. It is
supposed to process /etc/suid_profile. It will only work correctly if the
mode flags are correct, and the owner has the proper permissions.

cheers,

bob



Relevant Pages