1. blind0ne

    set the effective UID in bash script

    Hello, how can I actually tell the script to run as root if I previousluy chmod this script 4755 premission and added the s instead of x. I've tested it and it is still running as normal user, how can I ask it to evaluate to root as passwd commad does. Is it possible in bash or sh script?