Subject: Re: bug#22011: Bug or No?

From: Pádraig Brady <[email-masked]>
Date: Thu, 26 Nov 2015 00:40:06 +0000

tag 22011 notabug
close 22011
stop

On 25/11/15 09:11, [email-masked] wrote:
> Hi,
>     Recently, i use CentOS release 6.5 Final.
>     On one client, i logged with root user, on another, i logged with custom user. On the former client, i use su for changing user to another user(for example userA), 
>     Now, i use w or who , the result don't return the userA. why?

This was discussed at:
https://lists.gnu.org/archive/html/bug-coreutils/2007-05/msg00208.html

The is more related to your system PAM setting etc. than su.

Also not su has moved from coreutils since:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.17-16-g928dd73

cheers,
Pádraig