Discussions  >  CollabNet Subversion Admins  >  [SOLVED] Process err output: sudo: sorry, you must have a tty to run sudo

Back to topic list

[SOLVED] Process err output: sudo: sorry, you must have a tty to run sudo

Author jmountifield (OCN Member)
Full name James Mountifield
Date 2010-08-17 09:17:30 PDT
Message When setting up SVNEdge 1.1.0 on a CentOS 5.4 machine I needed to make additional changes to get the server to start on port 80.

The tool tip correctly describes the option of inserting the line for the user to have sudo access to httpd, but there was an additional need to enable non-tty use of sudo.

Whilst this is usually off by default it is enabled on CentOS 5.4. The error message that I was getting was:

    Process err output: sudo: sorry, you must have a tty to run sudo

To resolve it I used visudo and commented out the line:

    Defaults requiretty

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

[SOLVED] Process err output: sudo: sorry, you must have a tty to run sudo jmountifield (OCN Member) James Mountifield 2010-08-17 09:17:30 PDT
     RE: [SOLVED] Process err output: sudo: sorry, you must have a tty to run sudo gcstang (OCN Member) G C 2010-08-17 11:47:03 PDT
Messages per page: