hi i have written small script which will login 2 two different users with su but if we run from normal user it prompts for password so
i chnaged the owner of script to root and added setuid bit
with
chmod u+s <script_name>
but when i run the script i get following message
Warning: Ignoring setuid/setgid bit on "./testing.sh" as the system tunable "secure_sid_scripts" is set.