title: How do I use Gnome's sudo dialog from perl?
body: <p>I need to run a privilegied command on a gtk2-perl user program. I'm googling about how to use the default dialog for getting root privilegies on Gnome, but can find an answer.</p>
  
  <p>The only approach I have is to ask the password and use in a command </p>
  
  <pre><code>"echo $passwod | sudo -S priv-command"
  </code></pre>
  
  <p>but it's a bit ugly. I'm looked for the old gtksudo and similar helper programs but seems that there aren't in Ubuntu 10.10</p>
  
  <p>Any pointers?</p>