Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25060

sudo: no tty present and no askpass program specified

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • any-buildstep-plugin
    • None
    • Jenkins version=latest war file

      Hi All,
      I am building a project on linux slave. I have a user "abc" on slave with limited sudo access. On of the sudo access is "(root) /bin/chown" .If i run a build on build machine without using jenkins then , "sudo -u root chown <username>" works fine. And if i run build through jenkins then it says
      sudo: no tty present and no askpass program specified
      What i can do now. I dont have access to /etc/sudoers file .
      Working of chown is very imp for me.

      Please any help would be greatly appreciated

            Unassigned Unassigned
            ninja4u Niraj Nandane
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: