Partial Summary: Problems with accounting

2007-12-25 11:08:00

Hi,

A few days ago I posted a message to this list, reporting

some problems I have with accounting on a Solaris 2.5 Sparc20.

The file /var/adm/acct/sum/lastlogin wasn't being updated.

I haven't solved the problem yet, but there are a few things

which I have noticed.

1. The runacct command, as recommended in the manual, should

   be run under the account adm. The shell of the account adm

   is nonexistent. Therefore, cron never executes the commands

   in the adm's crontab.

2. In various parts in the runacct script, there are messages

   redirected to /dev/console. The user adm cannot write

   to the console. It gets permission denied messages.

   I changed runacct to write to the file /var/adm/acct/nite/console

   instead.

3. Even when runacct runs to completion, the /var/adm/acct/sum/lastlogin

   file is not updated, and I have no idea (yet) why this is so.

   

Well, as I see it, there is something terribly wrong with

the packaged accounting procedures as distributed by sun.

If I followed all the instructions in the manual, it all

should work perfectly, isn't it?

Thanks to you all,

Rubens

+-----------------------------+---------------------------------------+

| Rubens Queiroz de Almeida | EMAIL: queiroz@ccuec.unicamp.br |

| UNICAMP | FONE: (019) 239 7155 |

| CENTRO DE COMPUTACAO | FAX: (019) 239 8450 |

+-----------------------------+---------------------------------------+

Comments

Got something to say?

You must be logged in to post a comment.