From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Individual user account settings - Linux Tutorial
From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
Individual user account settings
- [Instructor] In another video of this course we saw how to change global user account settings by editing the /Etsy/login.deskfile. This only affects new users created after the change. If we need to change existing user accounts we have to use various other commands. You could edit the /Etsy/shadowfile for most of these settings, but it's not recommended as it's easy to misconfigure a user this way. The main command we'll use to change user account settings, is chage, or change age. Chage is used to change password and account aging information for users. Chage -d, changes the number of days since January 1st, 1970, when the password was last changed. Setting this to zero means the password hasn't been changed and forces the password change on next login. - E, sets the date that the user's account will expire. - I, sets the number of days of inactivity after password expiration, before the account is automatically locked.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.