Is is possible to change root's password using setuid?
What I tried is writing a simple program which calls
system("passwd root") owned by root and its setuid bit is set but it didn't work.
The output is:
You may not view or modify password information for root.