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
    Paraparaumu, New Zealand
    Beans
    Hidden!

    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
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  3. #3
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    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
  •