NEW
Font size
WorksheetsLecture 12
Total questions: 10
Worksheet time: 8mins
This file has read access for all users, but write access is limited to the root user
cat /etc/passwd
etc/passwd
/etc/shadow
/etc/shell
What command can regular users use to change this information for their account
chfn
grep
sysadmin
finger
This command can be used by other users to display this information
chfn
grep
sysadmin
finger
This command is used to create a new user account
mkdir
adduser
useradd
sudo su
This command is used to update a user’s password
passwd
grep passwd
sysadmin
chpasswd
This command is used to update information related to password expiration
chage
passwd
chpasswd
passwd -u
This command is used by the root account to modify existing user account parameters such as home directory, login name, login shell, password aging information
useradd
usermod
chmod
mkdir -p
This command is an easy way to query administrative called databases that store user information
groups
getent
newgrp
groupadd
The gpasswd command is used by the root user to update the group information in the /etc/gshadow file
groups
groupdel
gpasswd
chpasswd
This command is a good tool for scheduling tasks that are required to run at regular intervals
batch
crontab
cron
status
