[osol-discuss] Re: Adding commands to a rights profile in Sol 10 w/TX

2006-08-03 Thread Scott Rotondo
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

[osol-discuss] Re: Adding commands to a rights profile in Sol 10 w/TX

2006-08-03 Thread James Hardwick
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.

[osol-discuss] Re: Adding commands to a rights profile in Sol 10 w/TX

2006-08-03 Thread James Hardwick
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

Re: [osol-discuss] Re: Adding commands to a rights profile in Sol 10 w/TX

2006-08-03 Thread Casper . Dik
>#!/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

Re: [osol-discuss] Re: Adding commands to a rights profile in Sol 10 w/TX

2006-08-03 Thread Scott Rotondo
[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