[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aix-l
Subject:    Re: ksh -p flag
From:       Robert Binkley <leebinkley () YAHOO ! COM>
Date:       2006-04-12 16:12:41
Message-ID: 20060412161241.51389.qmail () web54415 ! mail ! yahoo ! com
[Download RAW message or body]

Privileged mode. Disabling -p sets the effective user
id to the real user id, and the effective group id to
the real group id. Enabling -p restores the effective
user and group ids to their values when the shell was
invoked. The -p option is on whenever the real and
effective user id is not equal or the real and
effective group id is not equal. User profiles are not
processed when -p is enabled. 


--- Holger.VanKoll@SWISSCOM.COM 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.
> 
> Regards,
> 
> Holger
> 
> 


Robert Lee Binkley leebinkley@yahoo.com
 IBM AIX Specialist Certified 
 HP-UX System Administration Certified 
Work  It's Nice To Be Important But It's More Important To Be Nice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic