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

Hide all messages in topic

All messages in topic

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

Author gcstang (OCN Member)
Full name G C
Date 2010-08-17 11:47:03 PDT
Message Same for Fedora

-----Original Message-----
From: James Mountifield [mailto:jmountifield​@collab.net]
Sent: Tuesday, August 17, 2010 11:18 AM
To: CollabNet Subversion Admins
Subject: [SOLVED] Process err output: sudo: sorry, you must have a tty to
run sudo

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

--------------------​--------------------​--------------
http://subversion.op​en.collab.net/ds/vie​wMessage.do?dsForumI​d=3&dsMessageId=​
379421

To cancel your subscription to this CollabNet Subversion Admins discussion,
please e-mail forum3-unsubscribe@s​ubversion.open.colla​b.net.

[SOLVED] Process err output: sudo: sorry, you must have a tty to run sudo [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
Messages per page: