Linux Command Line (16) Editing Users pt1

Опубликовано: 27 Октябрь 2024
на канале: MichaelsTechTutorials
2,214
56

We can edit the values in the /etc/shadow file with the chage command.



Using the chage command withe -l option lists out the values from the /etc/shadow file in an easy to read format. The chage command is also used to udpate values on the /etc/shadow file.


The other file we used when adding users was the /etc/passwd file. We use the getent command to view a single user record off the /etc/passwd file.


We then look at the usermod command to update the user records on the /etc/passwd file as well as records on the /etc/shadow file.


How to change the user shell and user home directory is also shown in this video.

See the complete LCL playlist at:    • Linux Command Line  (01) What Is The ...  

Website link:
https://thefrugalcomputerguy.com/linu...