Difference between revisions of "Acct"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
<code>acct</code> package allows to activate [[process accounting]] in Linux. Installing <code>acct</code> package in Ubuntu activates accounting by default. | <code>acct</code> package allows to activate [[process accounting]] in Linux. Installing <code>acct</code> package in Ubuntu activates accounting by default. | ||
− | * Configuration: <code>/etc/default/acct</code> | + | * Configuration file: <code>[[/etc/default/acct]]</code> |
− | * Logs file: <code>/var/log/account/pacct</code> | + | * Logs file: <code>[[/var/log/account/pacct]]</code> |
Line 17: | Line 18: | ||
Jul 29 15:02:15 machine-name acct[12629]: * Done. | Jul 29 15:02:15 machine-name acct[12629]: * Done. | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | == Related terms == | ||
+ | * [[AWS Cloudtrail]] | ||
+ | * <code>[[/run]]/pacct_source</code> | ||
+ | * [[PAM]] | ||
+ | * [[AAA]] | ||
+ | * [[Hardenize]] | ||
== See also == | == See also == | ||
* {{audit}} | * {{audit}} | ||
− | * | + | * {{AAA}} |
+ | * {{history}} | ||
+ | * {{passwords}} | ||
{{CC license}} | {{CC license}} | ||
Line 26: | Line 37: | ||
[[Category: Linux]] | [[Category: Linux]] | ||
+ | [[Category: IT security]] |
Latest revision as of 15:17, 10 July 2024
acct
package allows to activate process accounting in Linux. Installing acct
package in Ubuntu activates accounting by default.
- Configuration file:
/etc/default/acct
- Logs file:
/var/log/account/pacct
Activities[edit]
- Install in Ubuntu
acct
accounting package and deactivate it changingACCT_ENABLE="1"
toACCT_ENABLE="0"
in/etc/default/acct
and stopping it/etc/init.d/acct stop
- Activate accounting by executing
accton on
and deactivate it by executingaccton off
and check statusservice acct status
grep -w acct /var/log/syslog Jul 29 14:22:00 machine-name acct[23114]: Turning on process accounting, file set to '/var/log/account/pacct'. Jul 29 14:22:00 machine-name acct[23114]: * Done. Jul 29 15:02:15 machine-name acct[12629]: Turning off process accounting. Jul 29 15:02:15 machine-name acct[12629]: * Done.
Related terms[edit]
- AWS Cloudtrail
/run/pacct_source
- PAM
- AAA
- Hardenize
See also[edit]
- Audit:
acct
,atop
,tripwire
,AIDE
,auditd
,debsums
, AWS Cloudtrail,logwatch
,logcheck
, Google Santa, Coguard - AAA: Authc, Authz, Password policy, OAuth, OpenID, OIDC, LDAP, RADIUS, TACACS+, XTACACS, SAML, Secure LDAP, IEEE 802.1X, CHAP, RBAC, MFA, SCIM, Amazon Cognito
- Bash history:
history[ -a | -c | -r ]
,history --help
,~/.bash_history
,HISTFILE, HISTSIZE, HISTTIMEFORMAT, HSTR
- Password, Password policy, Change password, Password manager,
passwd
, PAM, Password cracking, PasswordAuthentication
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Source: https://en.wikiversity.org/wiki/Linux_server_administration/acct
Advertising: