Posts Tagged ‘User management’

Manage password aging in Linux systems

password expiry for users is configuring in /etc/login.defs file.These are the password aging parameters PASS_MAX_DAYS                Maximum number of days a password may be used. PASS_MIN_DAYS                 Minimum number of days allowed between password changes. PASS_WARN_AGE               Number of days warning given before a password expires. By default PASS_MAX_DAYS will be 99999 days that means no password expiry.So we are going to configure password expiry for all users in 90 days and minimum days between password change is 1 day. Open /etc/login.defs and [...]

User management commands in Linux

Linux Commands for managing users: 1. adduser – Command used to add user accounts. 2. chage – Used to change the time the user’s password will expire. 3. chfn – Change a user’s finger information 4. chsh – Change a user’s shell. 5. chgrp – Changes the group ownership of files. 6. chown – Change the owner of file(s ) to another user. 7. gpasswd – Used to administer the /etc/group file. 8. groupadd – Create a new group. 9. [...]

Related Posts Plugin for WordPress, Blogger...