Having problems with finger on Solaris 10

I have a bunch of Solaris systems and for the 8/9 systems, I can type "finger -s 2" to get a list of all users (whether they are logged in or not) and the last time they logged in. I have some new 10 systems and this command does not work. Does anybody know whether this was changed in Solaris 10? or if there is another reason this might not work?

I use this to eliminate inactive accounts. Some of my systems have over 2K accounts and I cannot finger each one individually to determine whether they are active. Any help is appreciated!

Did you enable finger service on the new servers? Try:

svcadm enable finger

Is there a way to see if it's disabled or enabled? I'm not a Unix expert :slight_smile: and I don't want to enter a command if I'm not sure what it will do. And to clarify, I should have included this earlier... I can still finger individual accounts, I just can't figure out how to get a list of ALL accounts.

To check if service is enabled use:

svcs -xv finger

But if you are able to finger single account then it must be enabled...

Well this is interesting... it tells me it's disabled since Feb 2 and "this service is not ruhnning". But I can still finger individual ids.

Anyway try enabling it and see if it fixes your issue.

1 Like

Thanks, I will give it a try tonight.