authorization
tools
getent
[!NOTE|label:references:]
getent passwd <USER>-> checking data in/var/lib/sss/mc/passwdgetent passwd | grep <USER>-> checking data in/var/lib/sss/pipes/nss
sss
[!NOTE|label:references]
sss_override management
check user
add user name
override the uid
override the gid
override the home directory
override the shell attribute
remove account
or
tricky
sssd account cannot be deleted
solution
[!TIP|label:references:]
login to
rootto execute the following commands; or use any sudo local account, otherwise the sssd account will be unavailable when sssd service is stopped !
backup and restore
list all override
other sssd config
config files
/etc/krb5.keytab
host keytab file
/etc/nsswitch.conf
Name Service Switch (NSS) configuration file
/etc/sssd/sssd.conf
sssd configure file
/etc/auto.master
mount NFS
/etc/auto.misc
automount utility can mount and unmount NFS
/etc/pam.d/password-auth
PAM module
/etc/pam.d/system-auth
PAM module
/var/lib/sss/db/*
sssd cache
/etc/security/access.conf
local login access control table
join the system
troubleshooting
sudo: unable to dlopen /usr/lib/libsss_sudo.so[!NOTE|label:issue:]
local
user
subuid & subgid
subuid & subgid[!NOTE|label:references:]
check subuid and subgid from
/etc/subuidand/etc/subgid
local user management
useradd
or
full steps
deluser for ubunut
[!NOTE|label:references:]
deluser- remove a user from the system
userdel- delete a user account and group ( if possible )
[!TIP]
username:
test1password:
password1
group
/etc/group
/etc/passwd
/etc/shadow
get group
get gid
create group
create group with random gid
get available gid
create group with particular gid
create group with existing gid
[!TIP]
troubleshooting
issue:
solution
create group with password
add system group
[!NOTE|label:
-ror--system]
modify group
[!NOTE|label:references:]
groupmod: group 'xxx' does not exist in /etc/group
manager group users
add user into group
remove user from group
tips
list account permission
check account locale
[!NOTE|label:references:]
logout
or
$1
MD5 hashing algorithm
$2
Blowfish Algorithm
$3
Eksblowfish Algorithm
$4
NT hashing algorithm
$5
SHA-256 Algorithm
$6
SHA-512 Algorithm
authentication in RHEL
[!NOTE|label:references:]
Last updated
Was this helpful?