User Account Management in Linux

Commands you can use to manage users

·

1 min read

HEY ALL

It's been so long!

Today I am back with another informational Linux article! I will be going over a few user management commands in Linux. The distro I used was Ubuntu.

1. who

'who' command is simply used to view who is logged in.

user1.png

2. finger

'finger' is kind of like the who command, except you get more details.

user2.png

3. useradd

the 'useradd' is used to create a new account.

user3.png

There is a bit more when it comes to creating a new user, like creating one with a directory and one without, and things like that. I will explain more about that in a future article!

In general though, this is how a user is created.

4. passwd

The 'passwd' command is used to change the password of a user

user4.png

5. usermod

The 'usermod' command is used to change/modify a user account.

user5.png

6. chfn

The 'chfn' command is used to change a users personal information.

user6.png

Andd that is it for today's article :) Thank you for reading!

If you want more, follow me on here, or @Linuxseb on Twitter