[Bug 2872] wall command shows error when logged in through non-root user.

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jun 1 22:33:00 AEST 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2872

--- Comment #5 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Mayank Sharma from comment #4)
> With this modification, we didnot see the issue with wall command.
> Can you please let us know if our changes are valid ?

I don't understand how your change helped.  Unless the user in question
is in the "system" group, in which case it still won't work for normal
users.

On modern systems I'd expect the wall binary to be setgid tty so it can
write to the terminal devices without having them writable by any
process, eg on Ubuntu:

$ ls -l `which wall`
-rwxr-sr-x 1 root tty 31512 Mar  7 08:31 /usr/bin/wall

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list