[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 19:53:04 AEST 2018


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

--- Comment #3 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Mayank Sharma from comment #2)
> Thanks for your reply. I have checked the permissions for wall and
> pts which I pasted below-

This doesn't make sense with what you said earlier: "I changed modes
permission from 600 to 620 and run the same wall command, then in such
case it was not throwing any error message."

> # ls -l /usr/sbin/wall
> -r-xr-xr-x  1 bin  bin  13018 Apr 27 04:16 /usr/sbin/wall

This doesn't have any special permissions.

> # ls -l /dev/pts/
> total 0
> crw--w--w-    1 root     system       22,  0 Jun 01 02:04 0

This would be mode 622 not 620 as you described earlier.

These ones have probably never been used and are presumably the default
permissions:
> crw-rw-rw-    1 root     system       22, 10 May 07 02:26 10
> crw-rw-rw-    1 root     system       22,100 May 07 02:26 100

-- 
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