Results 1 to 3 of 3

Thread: How to get root password during installation

  1. #1
    Join Date
    Aug 2010
    Beans
    Hidden!

    How to get root password during installation

    Hi,

    I am writing a program that requires elevated root privileges to install. How can I do it in a c++ program?
    Thank you

  2. #2
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to get root password during installation

    Good luck on your endeavours to find a workable solution that suits your needs.

    I would suggest running the installation with the appropriate permission, e.g. with the sudo command. For more information, have a look here: https://help.ubuntu.com/community/RootSudo
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  3. #3
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    1,689
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: How to get root password during installation

    All apps requires root priviledges to install. Just package you app as .deb and .rpm and it can be installed everywhere.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •