James Hardwick wrote:
So I have been working in Solaris, and *nix in general recently for the
first time in a long long while. Trying to do various things which may
be easy to you guys, but not so much to me. Anyways, here goes it...
I am currently running in Solaris 10 w/ TX, build 42. I have
I just tried switching the rights profile to a role, and adding that role to
the user. When the user logs on, assumes the role, and then tries running the
script, now the log shows nothing from the 'whoami' command, and when I add in
the shutdown, I still get the "can only be run as root" error.
Linked to in discuss.Security here:
http://www.opensolaris.org/jive/thread.jspa?threadID=11834&tstart=0
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
>#!/bin/csh
> Refuses to run if real and effective uids don't match.
#!/bin/csh -b
Runs set-uid scripts just tine
Casper
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
[EMAIL PROTECTED] wrote:
#!/bin/csh
Refuses to run if real and effective uids don't match.
#!/bin/csh -b
Runs set-uid scripts just tine
Yes, to be complete I should have included csh -b. The point I wanted to
emphasize, however, is that csh (with no options) will refuse to r