This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- running as root/admin?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 11, 2022
12:30 PM
running as root/admin?
We'd like to make parts of our installer for Linux optional (or disabled) if the user is not running as root or via sudo. Is there a variable available to help with that? Or is there some best practice method for getting the effective user id?
Thanks.
(0) Replies