sudo useradd -d /home/user1 -m user1
-- create the userls -l /home
-- view the contents of the directoryls -la /dir
-- view the contents of the directorypasswd
-- change the passwordsudo passwd user1
-- change the password for usersudo adduser user2
-- create the usernano /usr/sbin/adduser
-- open script adduser in text editorsudo userdel user2
-- remove the user without removing user datasudo mkdir -p /store/file_archive
-- create backup storage foldersudo mv /home/user2 /store/file_archive
-- move user folder to backup storage foldersudo userdel -r user2
-- remove the user with removing user datasudo rm -r /home/user2
-- remove the user foldercat /etc/passwd
-- view user accountssudo cat /etc/shadow | grep root
-- see passwords hashessudo passwd -l root
-- lock the password of the named accountsudo passwd -u root
-- unlock the password of the named accountsudo passwd -S root
-- report password status on the named account