This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
Hi,
Thanks, I am glad that this is being looked into again.
If I could make one request, could you be more general, so that if TE is on and any file in the TSD is opened, it is checked, that way if any shell opens a text file for execution, it would be checked - similarly any configuration file that is opened by a daemon or an application, it would be checked too?
I appreciate that this will have more impact, but would cover way more situations.
Thanks for your consideration.
1) when used with the default shell, currently ksh88, later ksh93.
2) when ksh interprets or source a script file as in ksh script or . scripts, will attempt to validate the integrity of the file.
When you run "ksh ./my_script", while the signature of "my_script" is not checked, but the permission of running each command in scripts and their respective integrity is still be checked. Let's say we could check the signature of "my_script", user may still bypass the signature check by running each command in script individually.
The main goal of checking the script digital signature integrity to protect some system critical programs/scripts from being tempered.
Hello Michael,
The problem is that it is allowed to run with :
# ksh sh1.ksh
As in that case, in fact this is ksh executing, sh1.ksh is just read and interpreted so don't go through the TE exec checks.
I cannot replicate this - what am I doing differently?
aixtools@x064:[/home/aixtools/trustchk]trustchk -p TE CHKSCRIPT STOP_UNTRUSTD
TE=ON
CHKSCRIPT=ON
STOP_UNTRUSTD=ON
aixtools@x064:[/home/aixtools/trustchk]ls -l
total 16
-rwxrw-r-- 1 aixtools aixtools 8 May 20 11:21 sh1.ksh
-rwxrw-r-- 1 aixtools aixtools 23 May 20 11:22 sh2.ksh
aixtools@x064:[/home/aixtools/trustchk]for i in *; do^J./$i^Jdone
ksh[2]: ./sh1.ksh: 0403-006 Execute permission denied.
ksh[2]: ./sh2.ksh: 0403-006 Execute permission denied.
aixtools@x064:[/home/aixtools/trustchk]oslevel -s
sh: /usr/bin/rpm: cannot execute
7100-04-08-1914
aixtools@x064:[/home/aixtools/trustchk]pr -n *
Thu May 20 11:21:17 UTC 2021 sh1.ksh Page 1
1 echo $0
Thu May 20 11:22:05 UTC 2021 sh2.ksh Page 1
1 #!/usr/bin/ksh
2 echo $0