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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.