From 86f42e5a2a9d8a483ad0ca85fdf090172fb4d385 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Thu, 10 Jan 2019 01:28:54 +0100 Subject: su-common.c: prefer ENV_SUPATH over ENV_ROOTPATH ENV_SUPATH and ENV_ROOTPATH are equivalent and ENV_ROOTPATH takes precedence in both login and su. It makes no sense. More logical would be precedence of ENV_SUPATH in su and ENV_ROOTPATH in login. Signed-off-by: Stanislav Brabec --- login-utils/login.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login-utils/login.1') diff --git a/login-utils/login.1 b/login-utils/login.1 index cb8addec3..b73eae147 100644 --- a/login-utils/login.1 +++ b/login-utils/login.1 @@ -282,7 +282,7 @@ a regular user logs in. The default value is (string) .RS 4 If set, it will be used to define the PATH environment variable when -the superuser logs in. The default value is +the superuser logs in. ENV_ROOTPATH takes precedence. The default value is .I /usr\:/local\:/sbin:\:/usr\:/local\:/bin:\:/sbin:\:/bin:\:/usr\:/sbin:\:/usr\:/bin .RE .SH FILES -- cgit v1.2.3-55-g7522