5.0 Users, Groups and Passwords
Topics
User, group and password files
Adding users
Modifying users
Setting passwords
Adding groups
Adding groups to users
Password mangement
Reading List
Chapter
7
Commands
Command |
Action |
|---|---|
id |
Shows user information |
ps -au |
process information per user |
passwd |
change user password |
useradd |
Add users |
usermod |
Modify users |
userdel |
Delete users |
groupadd |
Add a group |
groupmod |
Modify a group |
groupdel |
Delete a group |
date |
show the date |
chage |
Change ageing of passwords |
Chage Overview

Config Files
File |
Config |
|---|---|
/etc/passwd |
Holds all users and their information |
/etc/group |
Holds all group information |
/etc/shadow |
Holds user passwords in hashes |