cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chaitanya_josh
Level 2

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 Kudos
(0) Replies