Wtmpx File Permissions Question

Hi all,

I have been tasked to change permissions on the wtmpx file to 640. Currently the permissions are at 644. My question is will anything be affected if I change the permissions as shown? Thanks in advance.

Derek

Yes, that will affect all the commands that read wtmpx, like who, write, wall, whodo and last, when executed by non privileged users and also makes your system unsupported as far as everything related to wtmpx is concerned. Package integrity tests will fail too:

# pkg verify core-os
PACKAGE                                                                 STATUS
pkg://solaris/system/core-os                                             ERROR
	file: var/adm/wtmpx
		ERROR: Mode: 0640 should be 0644
1 Like

I see, thanks!