TurnKey Linux Virtual Appliance Library

Installing sudo package on the LAMP server

Andy's picture

Hi there --

I have completed the installation of the LAMP server, and one package that I am hoping to install is the sudo software. I want to be able to have a non-root user be able to run commands. When I entered the command apt-get install sudo, the package could not be found by the system. I have confirmed the system has the ability to access the Internet. 

Do I need to modify the available repositories, and if so, what are the file(s) in question, and what is the correct syntax needed here?

 

Thanks. 

Jeremy's picture

Probably just need to update package lists

Do this by running

apt-get update

Then you can run

apt-get install sudo

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)