Menu

#14 "who -m" returns no output in sudosh

v1.0_(example)
wont-fix
nobody
None
5
2014-01-23
2010-07-13
Anonymous
No

Not sure what's the reason for this. I have clearenvironment=no set and the command works as normal user. When i set the login shell to sudosh the output is empty. I still can run who without problems from bash.

Thanks in advance

Discussion

  • Josh Grebe

    Josh Grebe - 2014-01-23

    coreutils is processing utmp in a manner that ignores TTYs that aren't associated with logins, which includes sudosh. This includes any arguments you may give to the 'who' command.

     
  • Josh Grebe

    Josh Grebe - 2014-01-23
    • status: open --> wont-fix
    • Group: --> v1.0_(example)
     

Log in to post a comment.