title: How could I get a root level access/permission in runtime golang application?
body: <p>Below command will creates a user but it ask sudo password.</p>
  
  <pre><code>cmd := "sudo /usr/sbin/useradd "+ 
        "-m -d "+home_dir+                       
        " -s "+preferredShell +
        " -g "+usrLoginName+
        " "+ usrLoginName
  </code></pre>
  
  <blockquote>
    <p>cmdStatus,err := exec.Command("bash","-c",cmd).Output()</p>
  </blockquote>
  
  <p>How to execute above command without sudo or How to provide root level permission to my golang application? How to fix it ?</p>