>echo `/usr/ucb/whoami` > blah/blah/blah/blah.log
>
>Since I figure this should print out the EUID running the script,
>which I expect to be root. Well, when run, the log shows the user I
>assigned the rights profile to, NOT root as I expected (or rather hoped
>for).

Was this a bourne shell script?  It will always reset euid to uid if
euid < 100


Casper
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to