bash script ask for root password

Posted by VinceBrowning on Ask Ubuntu See other posts from Ask Ubuntu or by VinceBrowning
Published on 2012-10-12T09:47:54Z Indexed on 2012/10/12 9:50 UTC
Read the original article Hit count: 151

Filed under:

I want have a script that I can give to friends which will add repositories and download files, install them without having to use command as they are not command line savey and have no desire to learn. I need to know how to get the script to prompt them for the root password to allow them to do some of these functions. How would I go about this? Please don't hate on them.. Getting them to start using Linux was a big step and I am just happy that they are attempting something new... and it was in the open source world..

© Ask Ubuntu or respective owner

Related posts about scripts