How can i verify if a user is root in a java application?
Thanks
Easy. Just use
System.getProperty("user.name")