User Management in RedHat Linux

1. Visualize info about the user
id username
2. Create new user
useradd –c Detalii Userusername
3. Set / change user password
passwd username
4. Add a user to a specified group
usermod -a -G groupname username
5. Block a user
usermod –L username
6. Unblock a user
usermod –U username
7.Reset failed login counter for a user
pam_tally --user username
pam_tally --user username –reset
8. Delete a user
userdel –r username

Leave a comment