From b81210d9f8f3a93472f33b89f6c284f5a8f2e8b0 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 31 May 2016 21:00:15 +0100 Subject: [PATCH] Use stronger language and link to faq, fixes #5382, closes #5383 --- src/Composer/Console/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index a2d34e40d..847639e7f 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -182,7 +182,7 @@ class Application extends BaseApplication if (!Platform::isWindows() && function_exists('exec') && !getenv('COMPOSER_ALLOW_SUPERUSER')) { if (function_exists('posix_getuid') && posix_getuid() === 0) { if ($commandName !== 'self-update' && $commandName !== 'selfupdate') { - $io->writeError('Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted'); + $io->writeError('Do not run Composer as root/super user! See https://getcomposer.org/root for details'); } if ($uid = (int) getenv('SUDO_UID')) { // Silently clobber any sudo credentials on the invoking user to avoid privilege escalations later on