Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • I used sudo but it still asks for the password; I have to implement this in a program so I can't have the user enter the password Commented Sep 22, 2011 at 15:23
  • 1
    @Samantha "You can configure it to let you enter any command without a password". See this question Commented Sep 22, 2011 at 15:45
  • I can't configure it that way Commented Sep 22, 2011 at 17:00
  • @SamanthaCatania: why you can't? You are not able to, or you do not have privilege to modify /etc/sudoers? Commented Sep 22, 2011 at 17:03
  • As I wrote in the question this must be done from an agent program there must be no input from the user & there is no terminal window Commented Sep 22, 2011 at 17:07