We use cookies to ensure you get the best experience on our website.
Ogólne Komendy
id <konto>
sudo -ll -U <konto>
# getent passwd <konto>
pi@chris:~ $ getent passwd pi
pi:x:1000:1002:,,,:/home/pi:/bin/bash
pi@chris:~ $
Problem z autoryzacja
Wyczyszczenie cache całkowicie # Used to clear the cache and update all records
sss_cache -E
Wyczyszczenie cache dla usera
sss_cache -u <konto>
systemctl restart sssd
Table 13.12. Common sss_cache Options
| Short Argument | Long Argument | Description |
|---|---|---|
| -E | –everything | Invalidates all cached entries with the exception of sudo rules. |
| -d name | –domain name | Invalidates cache entries for users, groups, and other entries only within the specified domain. |
| -G | –groups | Invalidates all group records. If -g is also used, -G takes precedence and -g is ignored. |
| -g name | –group name | Invalidates the cache entry for the specified group. |
| -N | –netgroups | Invalidates cache entries for all netgroup cache records. If -n is also used, -N takes precedence and -n is ignored. |
| -n name | –netgroup name | Invalidates the cache entry for the specified netgroup. |
| -U | –users | Invalidates cache entries for all user records. If the -u option is also used, -U takes precedence and -u is ignored. |
| -u name | –user name | Invalidates the cache entry for the specified user. |
Cześć Podróżniku!
Ta strona ma nie być typowym poradnikiem w IT, Głównym jej cel to zapisanie krótkich notatek, które mogą się przydać w codziennym życiu podczas korzystania/konfiguracji różnych urządzeń np. Ustawienia DHCP na Routerze Cisco, Ustawieniu Karty sieciowej na Linuxie itp.
Wszelkie prawa zastrzeżone
Dodaj komentarz