mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 01:48:57 +00:00
Update cheatsheets
This commit is contained in:
41
linux/authconfig
Normal file
41
linux/authconfig
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# authconfig
|
||||
|
||||
> Configure system authentication resources.
|
||||
> More information: <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/authconfig-install>.
|
||||
|
||||
- Display the current configuration (or dry run):
|
||||
|
||||
`authconfig --test`
|
||||
|
||||
- Configure the server to use a different password hashing algorithm:
|
||||
|
||||
`authconfig --update --passalgo={{algorithm}}`
|
||||
|
||||
- Enable LDAP authentication:
|
||||
|
||||
`authconfig --update --enableldapauth`
|
||||
|
||||
- Disable LDAP authentication:
|
||||
|
||||
`authconfig --update --disableldapauth`
|
||||
|
||||
- Enable Network Information Service (NIS):
|
||||
|
||||
`authconfig --update --enablenis`
|
||||
|
||||
- Enable Kerberos:
|
||||
|
||||
`authconfig --update --enablekrb5`
|
||||
|
||||
- Enable Winbind (Active Directory) authentication:
|
||||
|
||||
`authconfig --update --enablewinbindauth`
|
||||
|
||||
- Enable local authorization:
|
||||
|
||||
`authconfig --update --enablelocauthorize`
|
||||
Reference in New Issue
Block a user