Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
Re: [suse-security] logging users in suse
  • From: Christopher Mahmood <ckm@xxxxxxxx>
  • Date: Fri, 18 Jan 2002 14:25:52 -0800
  • Message-id: <20020118142552.C31377@xxxxxxxxxxxxxxxxxx>
* Mike Garabedian (mikejr@xxxxxxxxxxxxxxx) [020118 13:57]:
> How can I keep a log of users accessing the system. I would like to
> keep a log of specific users and the times and possibly the commands
> that they might access during a logon. Please let me know if ou have
> any ideas.

You may want to have a look at the BSD-style process accounting.

If you are running one of the SuSE kernels you should have to
install the acct package and set /etc/rc.config:START_ACCT=yes.
Logging is done to /var/account/pacct by default.



< Previous Next >