Users can't run w command

Hi There

I am running SCO Openserver 5.07
When a user try to run the command w they get the following error:

w: Cannot open /unix for reading: Permission denied (error 13) 

On another server also running running SCO Openserver 5.07, and trying to run the w command they get the following error:

w: Cannot open /dev/kmem for reading: Permission denied (error 13)

This is for different users, what stange is is that they can run the who and finger commands

Can't find anything on the SCO site.

Thanks in advance

Change the permissions for /dev/kmem to 0444. The permissions are reset to 0440 on a kernel re-link.
This change also allows non root users to run "fuser".

Thanks for the reply

Changed permission

No I also get this on the spesific server

w: Cannot open /unix for reading: Permission denied (error 13)

run "integrity -e" and fix all the permissions and ownership issues.

1 Like

Thank you very much it worked.

I first ran the integrity command then fixmog

Problem resolved:b::slight_smile: